Enum Class VeilMultiBind
- All Implemented Interfaces:
Serializable
,Comparable<VeilMultiBind>
,Constable
Provides access to
ARBMultiBind
functionality for all platforms.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
bindSamplers
(int first, int... samplers) Binds the specified sampler ids to sequential texture units and invalidates the GLStateManager.abstract void
bindSamplers
(int first, IntBuffer samplers) Binds the specified sampler ids to sequential texture units and invalidates the GLStateManager.abstract void
bindTextures
(int first, int... textures) Binds the specified texture ids to sequential texture units and invalidates the GLStateManager.abstract void
bindTextures
(int first, IntBuffer textures) Binds the specified texture ids to sequential texture units and invalidates the GLStateManager.static VeilMultiBind
get()
static VeilMultiBind
Returns the enum constant of this class with the specified name.static VeilMultiBind[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LEGACY
-
SUPPORTED
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
bindTextures
Binds the specified texture ids to sequential texture units and invalidates the GLStateManager.- Parameters:
first
- The first unit to bind totextures
- 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 totextures
- The textures to bind
-
bindSamplers
Binds the specified sampler ids to sequential texture units and invalidates the GLStateManager.- Parameters:
first
- The first unit to bind tosamplers
- 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 tosamplers
- The samplers to bind
-
get
- Returns:
- The best implementation of multi-bind for this platform
-