ShaderTechnique

Overview

ShaderTechnique is a class in Aspose.3D FOSS for Java.

A shader technique represents a concrete rendering implementation.

This class provides 19 methods for working with ShaderTechnique objects in Java programs. Available methods include: ShaderTechnique, addBinding, getDescription, getRenderAPI, getRenderAPIVersion, getShaderContent, getShaderEntry, getShaderFile, getShaderLanguage, getShaderParameters, getShaderVersion, setDescription, and 7 additional methods. All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package. Properties: description, renderAPI, renderAPIVersion, shaderContent, shaderEntry, shaderFile, and 3 more.

Properties

NameTypeAccessDescription
descriptionStringRead/WriteGets the description of this technique.
shaderLanguageStringRead/WriteGets the shader language used by this technique.
shaderVersionStringRead/WriteGets the shader version used by this technique.
shaderFileStringRead/WriteGets the file name of the external shader file.
shaderContentbyte[]Read/WriteGets the content of an embedded shader script.
shaderEntryStringRead/WriteGets the entry point of the shader.
renderAPIStringRead/WriteGets the rendering API used by this technique.
renderAPIVersionStringRead/WriteGets the version of the rendering API.
shaderParametersMap<String, String>ReadGets the shader parameter definition.

Methods

SignatureDescription
ShaderTechnique()Initializes a new instance of the ShaderTechnique class.
getDescription() → StringGets the description of this technique.
setDescription(value: String)Sets the description of this technique.
getShaderLanguage() → StringGets the shader language used by this technique.
setShaderLanguage(value: String)Sets the shader language used by this technique.
getShaderVersion() → StringGets the shader version used by this technique.
setShaderVersion(value: String)Sets the shader version used by this technique.
getShaderFile() → StringGets the file name of the external shader file.
setShaderFile(value: String)Sets the file name of the external shader file.
getShaderContent() → byte[]Gets the content of an embedded shader script.
setShaderContent(value: byte[])Sets the content of an embedded shader script.
getShaderEntry() → StringGets the entry point of the shader.
setShaderEntry(value: String)Sets the entry point of the shader.
getRenderAPI() → StringGets the rendering API used by this technique.
setRenderAPI(value: String)Sets the rendering API used by this technique.
getRenderAPIVersion() → StringGets the version of the rendering API.
setRenderAPIVersion(value: String)Sets the version of the rendering API.
getShaderParameters() → Map<String, String>Gets the shader parameter definition.
addBinding(property: String, shaderParameter: String)Binds the dynamic property to shader parameter.

See Also

 English