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