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 ofVkStencilOpState
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareMask()
Returns the value of thecompareMask
field.VkStencilOpState.Buffer
compareMask(int value)
Sets the specified value to thecompareMask
field.int
compareOp()
Returns the value of thecompareOp
field.VkStencilOpState.Buffer
compareOp(int value)
Sets the specified value to thecompareOp
field.int
depthFailOp()
Returns the value of thedepthFailOp
field.VkStencilOpState.Buffer
depthFailOp(int value)
Sets the specified value to thedepthFailOp
field.int
failOp()
Returns the value of thefailOp
field.VkStencilOpState.Buffer
failOp(int value)
Sets the specified value to thefailOp
field.int
passOp()
Returns the value of thepassOp
field.VkStencilOpState.Buffer
passOp(int value)
Sets the specified value to thepassOp
field.int
reference()
Returns the value of thereference
field.VkStencilOpState.Buffer
reference(int value)
Sets the specified value to thereference
field.int
writeMask()
Returns the value of thewriteMask
field.VkStencilOpState.Buffer
writeMask(int value)
Sets the specified value to thewriteMask
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkStencilOpState.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 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 thefailOp
field.
-
passOp
public int passOp()
Returns the value of thepassOp
field.
-
depthFailOp
public int depthFailOp()
Returns the value of thedepthFailOp
field.
-
compareOp
public int compareOp()
Returns the value of thecompareOp
field.
-
compareMask
public int compareMask()
Returns the value of thecompareMask
field.
-
writeMask
public int writeMask()
Returns the value of thewriteMask
field.
-
reference
public int reference()
Returns the value of thereference
field.
-
failOp
public VkStencilOpState.Buffer failOp(int value)
Sets the specified value to thefailOp
field.
-
passOp
public VkStencilOpState.Buffer passOp(int value)
Sets the specified value to thepassOp
field.
-
depthFailOp
public VkStencilOpState.Buffer depthFailOp(int value)
Sets the specified value to thedepthFailOp
field.
-
compareOp
public VkStencilOpState.Buffer compareOp(int value)
Sets the specified value to thecompareOp
field.
-
compareMask
public VkStencilOpState.Buffer compareMask(int value)
Sets the specified value to thecompareMask
field.
-
writeMask
public VkStencilOpState.Buffer writeMask(int value)
Sets the specified value to thewriteMask
field.
-
reference
public VkStencilOpState.Buffer reference(int value)
Sets the specified value to thereference
field.
-
-