ShaderTechnique class
ShaderTechnique class
A shader technique represents a concrete rendering implementation.
The ShaderTechnique type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
__init__(self) | Initializes a new instance of the ShaderTechnique class. |
Properties
| Property | Description |
|---|---|
| description | Gets or sets the description of this technique |
| shader_language | Gets or sets the shader language used by this technique. |
| shader_version | Gets or sets the shader version used by this technique. |
| shader_file | Gets or sets the file name of the external shader file. |
| shader_content | Gets or sets the content of a embedded shader script. It could be HLSL/GLSL shader source file. |
| shader_entry | Gets or sets the entry point of the shader, some shader like HLSL can have customized shader entries. |
| render_api | Gets or sets the rendering API used by this technique |
| render_api_version | Gets or sets the version of the rendering API. |
Methods
| Method | Description |
|---|---|
add_binding(self, property, shader_parameter) | Binds the dynamic property to shader parameter |
See Also
- module
aspose.threed.shading - class
ShaderTechnique