com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Class DescriptorSetUpdater

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


    public final class DescriptorSetUpdater
    extends java.lang.Object
    implements java.io.Closeable
    This class allows to update the IDescriptorSet in a chain operation.
    • Method Detail

      • bind

        public DescriptorSetUpdater bind(IBuffer buffer,
                                         int offset,
                                         int size)
        Bind the buffer to current descriptor set
        Parameters:
        buffer - Which buffer to bind
        offset - Offset of the buffer to bind
        size - Size of the buffer to bind
        Returns:
        Return current instance for chaining operation
      • bind

        public DescriptorSetUpdater bind(IBuffer buffer)
        Bind the entire buffer to current descriptor
        Parameters:
        buffer -
        Returns:
        Return current instance for chaining operation
      • bind

        public DescriptorSetUpdater bind(int binding,
                                         IBuffer buffer)
        Bind the buffer to current descriptor set at specified binding location.
        Parameters:
        binding - Binding location
        buffer - The entire buffer to bind
        Returns:
        Return current instance for chaining operation
      • bind

        public DescriptorSetUpdater bind(int binding,
                                         IBuffer buffer,
                                         int offset,
                                         int size)
        Bind the buffer to current descriptor set at specified binding location.
        Parameters:
        binding - Binding location
        buffer - The buffer to bind
        offset - Offset of the buffer to bind
        size - Size of the buffer to bind
        Returns:
        Return current instance for chaining operation
      • bind

        public DescriptorSetUpdater bind(ITextureUnit texture)
        Bind the texture unit to current descriptor set
        Parameters:
        texture - The texture unit to bind
        Returns:
        Return current instance for chaining operation
      • bind

        public DescriptorSetUpdater bind(int binding,
                                         ITextureUnit texture)
        Bind the texture unit to current descriptor set
        Parameters:
        binding - The binding location
        texture - The texture unit to bind
        Returns:
        Return current instance for chaining operation
      • close

        public void close()
        Dispose the updater and commit the changes to hardware device.
        Specified by:
        close in interface java.io.Closeable
        Specified by:
        close in interface java.lang.AutoCloseable