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