## ShaderTechnique class

  A shader technique represents a concrete rendering implementation.


## Methods

### constructor{#constructor}

| Name | Description |
| --- | --- |
| constructor() | Initializes a new instance of the ShaderTechnique class. | 

 **Result:**



---


### getDescription{#getDescription}

| Name | Description |
| --- | --- |
| getDescription() | Gets or sets the description of this technique | 

 **Result:**



---


### setDescription{#setDescription}

| Name | Description |
| --- | --- |
| setDescription(value) | Gets or sets the description of this technique | 

 **Result:**



---


### getShaderLanguage{#getShaderLanguage}

| Name | Description |
| --- | --- |
| getShaderLanguage() | Gets or sets the shader language used by this technique. | 

 **Result:**



---


### setShaderLanguage{#setShaderLanguage}

| Name | Description |
| --- | --- |
| setShaderLanguage(value) | Gets or sets the shader language used by this technique. | 

 **Result:**



---


### getShaderVersion{#getShaderVersion}

| Name | Description |
| --- | --- |
| getShaderVersion() | Gets or sets the shader version used by this technique. | 

 **Result:**



---


### setShaderVersion{#setShaderVersion}

| Name | Description |
| --- | --- |
| setShaderVersion(value) | Gets or sets the shader version used by this technique. | 

 **Result:**



---


### getShaderFile{#getShaderFile}

| Name | Description |
| --- | --- |
| getShaderFile() | Gets or sets the file name of the external shader file. | 

 **Result:**



---


### setShaderFile{#setShaderFile}

| Name | Description |
| --- | --- |
| setShaderFile(value) | Gets or sets the file name of the external shader file. | 

 **Result:**



---


### getShaderContent{#getShaderContent}

| Name | Description |
| --- | --- |
| getShaderContent() | Gets or sets the content of a embedded shader script. It could be HLSL/GLSL shader source file. | 

 **Result:**



---


### setShaderContent{#setShaderContent}

| Name | Description |
| --- | --- |
| setShaderContent(value) | Gets or sets the content of a embedded shader script. It could be HLSL/GLSL shader source file. | 

 **Result:**



---


### getShaderEntry{#getShaderEntry}

| Name | Description |
| --- | --- |
| getShaderEntry() | Gets or sets the entry point of the shader, some shader like HLSL can have customized shader entries. | 

 **Result:**



---


### setShaderEntry{#setShaderEntry}

| Name | Description |
| --- | --- |
| setShaderEntry(value) | Gets or sets the entry point of the shader, some shader like HLSL can have customized shader entries. | 

 **Result:**



---


### getRenderAPI{#getRenderAPI}

| Name | Description |
| --- | --- |
| getRenderAPI() | Gets or sets the rendering API used by this technique | 

 **Result:**



---


### setRenderAPI{#setRenderAPI}

| Name | Description |
| --- | --- |
| setRenderAPI(value) | Gets or sets the rendering API used by this technique | 

 **Result:**



---


### getRenderAPIVersion{#getRenderAPIVersion}

| Name | Description |
| --- | --- |
| getRenderAPIVersion() | Gets or sets the version of the rendering API. | 

 **Result:**



---


### setRenderAPIVersion{#setRenderAPIVersion}

| Name | Description |
| --- | --- |
| setRenderAPIVersion(value) | Gets or sets the version of the rendering API. | 

 **Result:**



---


### getShaderParameters{#getShaderParameters}

| Name | Description |
| --- | --- |
| getShaderParameters() | Gets the shader parameter definition. The key is the name of the dynamic property, and value is the shader parameter name that the property connected to. | 

 **Result:**



---


### addBinding{#addBinding}

| Name | Description |
| --- | --- |
| addBinding(property, shaderParameter) | Binds the dynamic property to shader parameter | 

 **Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| property | String | The name of the dynamic property. |
| shaderParameter | String | The name of the shader parameter. |

 **Result:**



---



