Enum Class VeilMultiBind

java.lang.Object
java.lang.Enum<VeilMultiBind>
foundry.veil.api.client.render.ext.VeilMultiBind
All Implemented Interfaces:
Serializable, Comparable<VeilMultiBind>, Constable

public enum VeilMultiBind extends Enum<VeilMultiBind>
Provides access to ARBMultiBind functionality for all platforms.
  • Enum Constant Details

  • Method Details

    • values

      public static VeilMultiBind[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static VeilMultiBind valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • bindTextures

      public abstract void bindTextures(int first, IntBuffer textures)
      Binds the specified texture ids to sequential texture units and invalidates the GLStateManager.
      Parameters:
      first - The first unit to bind to
      textures - The textures to bind
    • bindTextures

      public abstract void bindTextures(int first, int... textures)
      Binds the specified texture ids to sequential texture units and invalidates the GLStateManager.
      Parameters:
      first - The first unit to bind to
      textures - The textures to bind
    • bindSamplers

      public abstract void bindSamplers(int first, IntBuffer samplers)
      Binds the specified sampler ids to sequential texture units and invalidates the GLStateManager.
      Parameters:
      first - The first unit to bind to
      samplers - The samplers to bind
    • bindSamplers

      public abstract void bindSamplers(int first, int... samplers)
      Binds the specified sampler ids to sequential texture units and invalidates the GLStateManager.
      Parameters:
      first - The first unit to bind to
      samplers - The samplers to bind
    • get

      public static VeilMultiBind get()
      Returns:
      The best implementation of multi-bind for this platform