Package org.lwjgl.util.spvc
Class SpvcMslVertexAttribute.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<SpvcMslVertexAttribute,SpvcMslVertexAttribute.Buffer>
-
- org.lwjgl.util.spvc.SpvcMslVertexAttribute.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<SpvcMslVertexAttribute>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- SpvcMslVertexAttribute
public static class SpvcMslVertexAttribute.Buffer extends org.lwjgl.system.StructBuffer<SpvcMslVertexAttribute,SpvcMslVertexAttribute.Buffer> implements org.lwjgl.system.NativeResource
An array ofSpvcMslVertexAttributestructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intbuiltin()SpvcMslVertexAttribute.Bufferbuiltin(int value)Sets the specified value to thebuiltinfield.intformat()SpvcMslVertexAttribute.Bufferformat(int value)Sets the specified value to theformatfield.intlocation()SpvcMslVertexAttribute.Bufferlocation(int value)Sets the specified value to thelocationfield.intmsl_buffer()SpvcMslVertexAttribute.Buffermsl_buffer(int value)Sets the specified value to theSpvcMslVertexAttribute.msl_buffer()field.intmsl_offset()SpvcMslVertexAttribute.Buffermsl_offset(int value)Sets the specified value to theSpvcMslVertexAttribute.msl_offset()field.intmsl_stride()SpvcMslVertexAttribute.Buffermsl_stride(int value)Sets the specified value to theSpvcMslVertexAttribute.msl_stride()field.booleanper_instance()SpvcMslVertexAttribute.Bufferper_instance(boolean value)Sets the specified value to theSpvcMslVertexAttribute.per_instance()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newSpvcMslVertexAttribute.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 bySpvcMslVertexAttribute.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
-
location
public int location()
- Returns:
- the value of the
locationfield.
-
msl_buffer
public int msl_buffer()
- Returns:
- the value of the
SpvcMslVertexAttribute.msl_buffer()field.
-
msl_offset
public int msl_offset()
- Returns:
- the value of the
SpvcMslVertexAttribute.msl_offset()field.
-
msl_stride
public int msl_stride()
- Returns:
- the value of the
SpvcMslVertexAttribute.msl_stride()field.
-
per_instance
public boolean per_instance()
- Returns:
- the value of the
SpvcMslVertexAttribute.per_instance()field.
-
format
public int format()
- Returns:
- the value of the
formatfield.
-
builtin
public int builtin()
- Returns:
- the value of the
builtinfield.
-
location
public SpvcMslVertexAttribute.Buffer location(int value)
Sets the specified value to thelocationfield.
-
msl_buffer
public SpvcMslVertexAttribute.Buffer msl_buffer(int value)
Sets the specified value to theSpvcMslVertexAttribute.msl_buffer()field.
-
msl_offset
public SpvcMslVertexAttribute.Buffer msl_offset(int value)
Sets the specified value to theSpvcMslVertexAttribute.msl_offset()field.
-
msl_stride
public SpvcMslVertexAttribute.Buffer msl_stride(int value)
Sets the specified value to theSpvcMslVertexAttribute.msl_stride()field.
-
per_instance
public SpvcMslVertexAttribute.Buffer per_instance(boolean value)
Sets the specified value to theSpvcMslVertexAttribute.per_instance()field.
-
format
public SpvcMslVertexAttribute.Buffer format(int value)
Sets the specified value to theformatfield.
-
builtin
public SpvcMslVertexAttribute.Buffer builtin(int value)
Sets the specified value to thebuiltinfield.
-
-