ShaderTechnique class

ShaderTechnique class

A shader technique represents a concrete rendering implementation.

The ShaderTechnique type exposes the following members:

Constructors

ConstructorDescription
initInitializes a new instance of the ShaderTechnique class.

Properties

PropertyDescription
descriptionGets or sets the description of this technique
shader_languageGets or sets the shader language used by this technique.
shader_versionGets or sets the shader version used by this technique.
shader_fileGets or sets the file name of the external shader file.
shader_contentGets or sets the content of a embedded shader script.
It could be HLSL/GLSL shader source file.
shader_entryGets or sets the entry point of the shader, some shader like HLSL can have customized shader entries.
render_apiGets or sets the rendering API used by this technique
render_api_versionGets or sets the version of the rendering API.

Methods

MethodDescription
add_bindingBinds the dynamic property to shader parameter

See Also