ShaderTechnique
Vue de l’ensemble
‘ShaderTechnique’ est une classe dans Aspose.3D FOSS pour Java.
Une technique de shader représente une mise en œuvre concrète.
Cette classe fournit 19 méthodes pour travailler avec des objets ShaderTechnique dans les programmes Java. Les méthodologies disponibles comprennent: Shadertechnique, addBinding , ‘getDescription;getRenderAPI; getRendAPIVersion :getShadeContent:getSaderEntrys, 'GetShadFile s’inscrits dans le cadre de la formation d’un programme Java et 7 méthode supplémentaires. Tous les membres publics sont accessibles à toute application Java après l’installation du package Java Aspose.3D FOSS. Propriétés : descriptions et render API renderAPiversions` en contenu, en format Entry, 3f’m.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
description | String | Read | Gets the description of this technique. |
shaderLanguage | String | Read | Gets the shader language used by this technique. |
shaderVersion | String | Read | Gets the shader version used by this technique. |
shaderFile | String | Read | Gets the file name of the external shader file. |
shaderContent | byte[] | Read | Gets the content of an embedded shader script. |
shaderEntry | String | Read | Gets the entry point of the shader. |
renderAPI | String | Read | Gets the rendering API used by this technique. |
renderAPIVersion | String | Read | Gets the version of the rendering API. |
shaderParameters | Map<String, String> | Read | Gets the shader parameter definition. |
méthodes
| Signature | Description |
|---|---|
ShaderTechnique() | Initializes a new instance of the ShaderTechnique class. |
getDescription() → String | Gets the description of this technique. |
setDescription(value: String) | Sets the description of this technique. |
getShaderLanguage() → String | Gets the shader language used by this technique. |
setShaderLanguage(value: String) | Sets the shader language used by this technique. |
getShaderVersion() → String | Gets the shader version used by this technique. |
setShaderVersion(value: String) | Sets the shader version used by this technique. |
getShaderFile() → String | Gets 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() → String | Gets the entry point of the shader. |
setShaderEntry(value: String) | Sets the entry point of the shader. |
getRenderAPI() → String | Gets the rendering API used by this technique. |
setRenderAPI(value: String) | Sets the rendering API used by this technique. |
getRenderAPIVersion() → String | Gets 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. |
Voir aussi
- Aspose.3D - référence API d’entreprise