public static class SpvcSpecializationConstant.Buffer extends org.lwjgl.system.StructBuffer<SpvcSpecializationConstant,SpvcSpecializationConstant.Buffer> implements org.lwjgl.system.NativeResource
SpvcSpecializationConstant structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
SpvcSpecializationConstant.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
constant_id()
Returns the value of the
constant_id field. |
SpvcSpecializationConstant.Buffer |
constant_id(int value)
Sets the specified value to the
constant_id field. |
int |
id()
Returns the value of the
id field. |
SpvcSpecializationConstant.Buffer |
id(int value)
Sets the specified value to the
id field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
SpvcSpecializationConstant.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 SpvcSpecializationConstant.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 id()
id field.public int constant_id()
constant_id field.public SpvcSpecializationConstant.Buffer id(int value)
id field.public SpvcSpecializationConstant.Buffer constant_id(int value)
constant_id field.Copyright LWJGL. All Rights Reserved. License terms.