com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Class SPIRVSource



  • public final class SPIRVSource
    extends ShaderSource
    The compiled shader in SPIR-V format.
    • Constructor Summary

      Constructors 
      Constructor and Description
      SPIRVSource()
      Constructor of SPIR-V based shader sources.
    • Constructor Detail

      • SPIRVSource

        public SPIRVSource()
        Constructor of SPIR-V based shader sources.
    • Method Detail

      • getMaximumDescriptorSets

        public int getMaximumDescriptorSets()
        Maximum descriptor sets, default value is 10
      • setMaximumDescriptorSets

        public void setMaximumDescriptorSets(int value)
        Maximum descriptor sets, default value is 10
        Parameters:
        value - New value
      • getComputeShader

        public byte[] getComputeShader()
        Gets the source code of the compute shader.
      • setComputeShader

        public void setComputeShader(byte[] value)
        Sets the source code of the compute shader.
        Parameters:
        value - New value
      • getGeometryShader

        public byte[] getGeometryShader()
        Gets the source code of the geometry shader.
      • setGeometryShader

        public void setGeometryShader(byte[] value)
        Sets the source code of the geometry shader.
        Parameters:
        value - New value
      • getVertexShader

        public byte[] getVertexShader()
        Gets the source code of the vertex shader
      • setVertexShader

        public void setVertexShader(byte[] value)
        Sets the source code of the vertex shader
        Parameters:
        value - New value
      • getFragmentShader

        public byte[] getFragmentShader()
        Gets the source code of the fragmnt shader.
      • setFragmentShader

        public void setFragmentShader(byte[] value)
        Sets the source code of the fragmnt shader.
        Parameters:
        value - New value