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

NameTypeAccessDescription
descriptionStringReadGets the description of this technique.
shaderLanguageStringReadGets the shader language used by this technique.
shaderVersionStringReadGets the shader version used by this technique.
shaderFileStringReadGets the file name of the external shader file.
shaderContentbyte[]ReadGets the content of an embedded shader script.
shaderEntryStringReadGets the entry point of the shader.
renderAPIStringReadGets the rendering API used by this technique.
renderAPIVersionStringReadGets the version of the rendering API.
shaderParametersMap<String, String>ReadGets the shader parameter definition.

méthodes

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.

Voir aussi

  • Aspose.3D - référence API d’entreprise
 Français