com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Class ShaderMaterial



  • public class ShaderMaterial
    extends Material
    A shader material allows to describe the material by external rendering engine or shader language. ShaderMaterial uses ShaderTechnique to describe the concrete rendering details, and the most suitable one will be used according to the final rendering platform. For example, your ShaderMaterial instance can have two technique, one is defined by HLSL, and another is defined by GLSL Under non-window platform the GLSL should be used instead of HLSL
    • Constructor Detail

      • ShaderMaterial

        public ShaderMaterial()
        Initializes a new instance of the ShaderMaterial class.
      • ShaderMaterial

        public ShaderMaterial(String name)
        Initializes a new instance of the ShaderMaterial class.
        Parameters:
        name - Name
    • Method Detail

      • getTechniques

        public List<ShaderTechnique> getTechniques()
        Gets all available techniques defined in this material.