Package org.lwjgl.vulkan
Class VkStencilOpState.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkStencilOpState,VkStencilOpState.Buffer>
-
- org.lwjgl.vulkan.VkStencilOpState.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkStencilOpState>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkStencilOpState
public static class VkStencilOpState.Buffer extends org.lwjgl.system.StructBuffer<VkStencilOpState,VkStencilOpState.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkStencilOpStatestructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareMask()VkStencilOpState.BuffercompareMask(int value)Sets the specified value to theVkStencilOpState.compareMask()field.intcompareOp()VkStencilOpState.BuffercompareOp(int value)Sets the specified value to theVkStencilOpState.compareOp()field.intdepthFailOp()VkStencilOpState.BufferdepthFailOp(int value)Sets the specified value to theVkStencilOpState.depthFailOp()field.intfailOp()VkStencilOpState.BufferfailOp(int value)Sets the specified value to theVkStencilOpState.failOp()field.intpassOp()VkStencilOpState.BufferpassOp(int value)Sets the specified value to theVkStencilOpState.passOp()field.intreference()VkStencilOpState.Bufferreference(int value)Sets the specified value to theVkStencilOpState.reference()field.intwriteMask()VkStencilOpState.BufferwriteMask(int value)Sets the specified value to theVkStencilOpState.writeMask()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkStencilOpState.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 byVkStencilOpState.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
-
failOp
public int failOp()
- Returns:
- the value of the
VkStencilOpState.failOp()field.
-
passOp
public int passOp()
- Returns:
- the value of the
VkStencilOpState.passOp()field.
-
depthFailOp
public int depthFailOp()
- Returns:
- the value of the
VkStencilOpState.depthFailOp()field.
-
compareOp
public int compareOp()
- Returns:
- the value of the
VkStencilOpState.compareOp()field.
-
compareMask
public int compareMask()
- Returns:
- the value of the
VkStencilOpState.compareMask()field.
-
writeMask
public int writeMask()
- Returns:
- the value of the
VkStencilOpState.writeMask()field.
-
reference
public int reference()
- Returns:
- the value of the
VkStencilOpState.reference()field.
-
failOp
public VkStencilOpState.Buffer failOp(int value)
Sets the specified value to theVkStencilOpState.failOp()field.
-
passOp
public VkStencilOpState.Buffer passOp(int value)
Sets the specified value to theVkStencilOpState.passOp()field.
-
depthFailOp
public VkStencilOpState.Buffer depthFailOp(int value)
Sets the specified value to theVkStencilOpState.depthFailOp()field.
-
compareOp
public VkStencilOpState.Buffer compareOp(int value)
Sets the specified value to theVkStencilOpState.compareOp()field.
-
compareMask
public VkStencilOpState.Buffer compareMask(int value)
Sets the specified value to theVkStencilOpState.compareMask()field.
-
writeMask
public VkStencilOpState.Buffer writeMask(int value)
Sets the specified value to theVkStencilOpState.writeMask()field.
-
reference
public VkStencilOpState.Buffer reference(int value)
Sets the specified value to theVkStencilOpState.reference()field.
-
-