public static class SpvcMslVertexAttribute.Buffer extends org.lwjgl.system.StructBuffer<SpvcMslVertexAttribute,SpvcMslVertexAttribute.Buffer> implements org.lwjgl.system.NativeResource
SpvcMslVertexAttribute structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
SpvcMslVertexAttribute.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
builtin()
Returns the value of the
builtin field. |
SpvcMslVertexAttribute.Buffer |
builtin(int value)
Sets the specified value to the
builtin field. |
int |
format()
Returns the value of the
format field. |
SpvcMslVertexAttribute.Buffer |
format(int value)
Sets the specified value to the
format field. |
int |
location()
Returns the value of the
location field. |
SpvcMslVertexAttribute.Buffer |
location(int value)
Sets the specified value to the
location field. |
int |
msl_buffer()
Returns the value of the
msl_buffer field. |
SpvcMslVertexAttribute.Buffer |
msl_buffer(int value)
Sets the specified value to the
msl_buffer field. |
int |
msl_offset()
Returns the value of the
msl_offset field. |
SpvcMslVertexAttribute.Buffer |
msl_offset(int value)
Sets the specified value to the
msl_offset field. |
int |
msl_stride()
Returns the value of the
msl_stride field. |
SpvcMslVertexAttribute.Buffer |
msl_stride(int value)
Sets the specified value to the
msl_stride field. |
boolean |
per_instance()
Returns the value of the
per_instance field. |
SpvcMslVertexAttribute.Buffer |
per_instance(boolean value)
Sets the specified value to the
per_instance field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
SpvcMslVertexAttribute.Buffer instance 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
by SpvcMslVertexAttribute.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public int location()
location field.public int msl_buffer()
msl_buffer field.public int msl_offset()
msl_offset field.public int msl_stride()
msl_stride field.public boolean per_instance()
per_instance field.public int format()
format field.public int builtin()
builtin field.public SpvcMslVertexAttribute.Buffer location(int value)
location field.public SpvcMslVertexAttribute.Buffer msl_buffer(int value)
msl_buffer field.public SpvcMslVertexAttribute.Buffer msl_offset(int value)
msl_offset field.public SpvcMslVertexAttribute.Buffer msl_stride(int value)
msl_stride field.public SpvcMslVertexAttribute.Buffer per_instance(boolean value)
per_instance field.public SpvcMslVertexAttribute.Buffer format(int value)
format field.public SpvcMslVertexAttribute.Buffer builtin(int value)
builtin field.Copyright LWJGL. All Rights Reserved. License terms.