---
Product: Aspose.3D
Platform: java
Page Type: reference
Canonical URL: https://reference.aspose.org/3d/java/ShaderTechnique
---

# ShaderTechnique

## Overview

`ShaderTechnique` is a class in Aspose.3D FOSS for Java.

A shader technique represents a concrete rendering implementation.

This class provides 19 methods for working with ShaderTechnique objects in Java programs.
Available methods include: `ShaderTechnique`, `addBinding`, `getDescription`, `getRenderAPI`, `getRenderAPIVersion`, `getShaderContent`, `getShaderEntry`, `getShaderFile`, `getShaderLanguage`, `getShaderParameters`, `getShaderVersion`, `setDescription`, and 7 additional methods.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: `description`, `renderAPI`, `renderAPIVersion`, `shaderContent`, `shaderEntry`, `shaderFile`, and 3 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `description` | `String` | Read | Gets the description of this technique. |
| `shaderLanguage` | `String` | Read | Gets the shader language used by this technique. |
| `shaderVersion` | `String` | Read | Gets the shader version used by this technique. |
| `shaderFile` | `String` | Read | Gets the file name of the external shader file. |
| `shaderContent` | `byte[]` | Read | Gets the content of an embedded shader script. |
| `shaderEntry` | `String` | Read | Gets the entry point of the shader. |
| `renderAPI` | `String` | Read | Gets the rendering API used by this technique. |
| `renderAPIVersion` | `String` | Read | Gets the version of the rendering API. |
| `shaderParameters` | `Map` | Read | Gets the shader parameter definition. |

## Methods

| Signature | Description |
|-----------|-------------|
| `ShaderTechnique()` | Initializes a new instance of the ShaderTechnique class. |
| `getDescription()` → `String` | Gets the description of this technique. |
| `setDescription(value: String)` | Sets the description of this technique. |
| `getShaderLanguage()` → `String` | Gets the shader language used by this technique. |
| `setShaderLanguage(value: String)` | Sets the shader language used by this technique. |
| `getShaderVersion()` → `String` | Gets the shader version used by this technique. |
| `setShaderVersion(value: String)` | Sets the shader version used by this technique. |
| `getShaderFile()` → `String` | Gets the file name of the external shader file. |
| `setShaderFile(value: String)` | Sets the file name of the external shader file. |
| `getShaderContent()` → `byte[]` | Gets the content of an embedded shader script. |
| `setShaderContent(value: byte[])` | Sets the content of an embedded shader script. |
| `getShaderEntry()` → `String` | Gets the entry point of the shader. |
| `setShaderEntry(value: String)` | Sets the entry point of the shader. |
| `getRenderAPI()` → `String` | Gets the rendering API used by this technique. |
| `setRenderAPI(value: String)` | Sets the rendering API used by this technique. |
| `getRenderAPIVersion()` → `String` | Gets the version of the rendering API. |
| `setRenderAPIVersion(value: String)` | Sets the version of the rendering API. |
| `getShaderParameters()` → `Map` | Gets the shader parameter definition. |
| `addBinding(property: String, shaderParameter: String)` | Binds the dynamic property to shader parameter. |

## See Also

- [Aspose.3D — Enterprise API Reference](https://reference.aspose.com/3d/)