com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Class ShaderSet

  • java.lang.Object
    • com.aspose.threed.ShaderSet
  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable


    public class ShaderSet
    extends java.lang.Object
    implements java.io.Closeable
    Shader programs for each kind of materials
    • Constructor Detail

      • ShaderSet

        public ShaderSet()
        Construct the instance of ShaderSet
    • Method Detail

      • getLambert

        public ShaderProgram getLambert()
        Gets the shader that used to render the lambert material
      • setLambert

        public void setLambert(ShaderProgram value)
        Sets the shader that used to render the lambert material
        Parameters:
        value - New value
      • getPhong

        public ShaderProgram getPhong()
        Gets the shader that used to render the phong material
      • setPhong

        public void setPhong(ShaderProgram value)
        Sets the shader that used to render the phong material
        Parameters:
        value - New value
      • getPbr

        public ShaderProgram getPbr()
        Gets the shader that used to render the PBR material
      • setPbr

        public void setPbr(ShaderProgram value)
        Sets the shader that used to render the PBR material
        Parameters:
        value - New value
      • getFallback

        public ShaderProgram getFallback()
        Gets the fallback shader when required shader is unavailable
      • setFallback

        public void setFallback(ShaderProgram value)
        Sets the fallback shader when required shader is unavailable
        Parameters:
        value - New value
      • close

        public void close()
        Dispose this instance and release all shader programs.
        Specified by:
        close in interface java.io.Closeable
        Specified by:
        close in interface java.lang.AutoCloseable