ShaderTechnique
Overview
ShaderTechnique is a class in Aspose.3D FOSS for .NET.
A shader technique represents a concrete rendering implementation.
This class provides 2 methods for working with ShaderTechnique objects in .NET programs.
Available methods include: AddBinding, ShaderTechnique.
All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package.
Properties: Description, RenderAPI, RenderAPIVersion, ShaderContent, ShaderEntry, ShaderFile, and 3 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Description | string | Read/Write | Gets or sets the description of this technique. |
ShaderLanguage | string | Read/Write | Gets or sets the shader language used by this technique. |
ShaderVersion | string | Read/Write | Gets or sets the shader version used by this technique. |
ShaderFile | string | Read/Write | Gets or sets the file name of the external shader file. |
ShaderContent | byte[] | Read/Write | Gets or sets the content of an embedded shader script. |
ShaderEntry | string | Read/Write | Gets or sets the entry point of the shader. |
RenderAPI | string | Read/Write | Gets or sets the rendering API used by this technique. |
RenderAPIVersion | string | Read/Write | Gets or sets the version of the rendering API. |
ShaderParameters | IDictionary<string, string> | Read | Gets the shader parameter definition. |
Methods
| Signature | Description |
|---|---|
ShaderTechnique() | Initializes a new instance of the ShaderTechnique class. |
AddBinding(property: string, shaderParameter: string) | Binds the dynamic property to shader parameter. |