ShaderTechnique

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

NameTypeAccessDescription
DescriptionstringRead/WriteGets or sets the description of this technique.
ShaderLanguagestringRead/WriteGets or sets the shader language used by this technique.
ShaderVersionstringRead/WriteGets or sets the shader version used by this technique.
ShaderFilestringRead/WriteGets or sets the file name of the external shader file.
ShaderContentbyte[]Read/WriteGets or sets the content of an embedded shader script.
ShaderEntrystringRead/WriteGets or sets the entry point of the shader.
RenderAPIstringRead/WriteGets or sets the rendering API used by this technique.
RenderAPIVersionstringRead/WriteGets or sets the version of the rendering API.
ShaderParametersIDictionary<string, string>ReadGets the shader parameter definition.

Methods

SignatureDescription
ShaderTechnique()Initializes a new instance of the ShaderTechnique class.
AddBinding(property: string, shaderParameter: string)Binds the dynamic property to shader parameter.

See Also

 English