Package org.lwjgl.util.spvc
Class SpvcMslResourceBinding.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<SpvcMslResourceBinding,SpvcMslResourceBinding.Buffer>
-
- org.lwjgl.util.spvc.SpvcMslResourceBinding.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<SpvcMslResourceBinding>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- SpvcMslResourceBinding
public static class SpvcMslResourceBinding.Buffer extends org.lwjgl.system.StructBuffer<SpvcMslResourceBinding,SpvcMslResourceBinding.Buffer> implements org.lwjgl.system.NativeResource
An array ofSpvcMslResourceBindingstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intbinding()SpvcMslResourceBinding.Bufferbinding(int value)Sets the specified value to thebindingfield.intdesc_set()SpvcMslResourceBinding.Bufferdesc_set(int value)Sets the specified value to thedesc_setfield.intmsl_buffer()SpvcMslResourceBinding.Buffermsl_buffer(int value)Sets the specified value to themsl_bufferfield.intmsl_sampler()SpvcMslResourceBinding.Buffermsl_sampler(int value)Sets the specified value to themsl_samplerfield.intmsl_texture()SpvcMslResourceBinding.Buffermsl_texture(int value)Sets the specified value to themsl_texturefield.intstage()SpvcMslResourceBinding.Bufferstage(int value)Sets the specified value to thestagefield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newSpvcMslResourceBinding.Bufferinstance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided bySpvcMslResourceBinding.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
stage
public int stage()
- Returns:
- the value of the
stagefield.
-
desc_set
public int desc_set()
- Returns:
- the value of the
desc_setfield.
-
binding
public int binding()
- Returns:
- the value of the
bindingfield.
-
msl_buffer
public int msl_buffer()
- Returns:
- the value of the
msl_bufferfield.
-
msl_texture
public int msl_texture()
- Returns:
- the value of the
msl_texturefield.
-
msl_sampler
public int msl_sampler()
- Returns:
- the value of the
msl_samplerfield.
-
stage
public SpvcMslResourceBinding.Buffer stage(int value)
Sets the specified value to thestagefield.
-
desc_set
public SpvcMslResourceBinding.Buffer desc_set(int value)
Sets the specified value to thedesc_setfield.
-
binding
public SpvcMslResourceBinding.Buffer binding(int value)
Sets the specified value to thebindingfield.
-
msl_buffer
public SpvcMslResourceBinding.Buffer msl_buffer(int value)
Sets the specified value to themsl_bufferfield.
-
msl_texture
public SpvcMslResourceBinding.Buffer msl_texture(int value)
Sets the specified value to themsl_texturefield.
-
msl_sampler
public SpvcMslResourceBinding.Buffer msl_sampler(int value)
Sets the specified value to themsl_samplerfield.
-
-