Package org.lwjgl.vulkan
Class VkStencilOpState.Buffer
- java.lang.Object
-
- org.lwjgl.system.StructBuffer<VkStencilOpState,VkStencilOpState.Buffer>
-
- org.lwjgl.vulkan.VkStencilOpState.Buffer
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, NativeResource, Pointer
- Enclosing class:
- VkStencilOpState
public static final class VkStencilOpState.Buffer extends StructBuffer<VkStencilOpState,VkStencilOpState.Buffer>
An array ofVkStencilOpStatestructs.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Constructor Summary
Constructors Constructor and Description Buffer(java.nio.ByteBuffer container)Creates a newVkStencilOpState.Bufferinstance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intcompareMask()Returns the value of thecompareMaskfield.VkStencilOpState.BuffercompareMask(int value)Sets the specified value to thecompareMaskfield.intcompareOp()Returns the value of thecompareOpfield.VkStencilOpState.BuffercompareOp(int value)Sets the specified value to thecompareOpfield.intdepthFailOp()Returns the value of thedepthFailOpfield.VkStencilOpState.BufferdepthFailOp(int value)Sets the specified value to thedepthFailOpfield.intfailOp()Returns the value of thefailOpfield.VkStencilOpState.BufferfailOp(int value)Sets the specified value to thefailOpfield.intpassOp()Returns the value of thepassOpfield.VkStencilOpState.BufferpassOp(int value)Sets the specified value to thepassOpfield.intreference()Returns the value of thereferencefield.VkStencilOpState.Bufferreference(int value)Sets the specified value to thereferencefield.intwriteMask()Returns the value of thewriteMaskfield.VkStencilOpState.BufferwriteMask(int value)Sets the specified value to thewriteMaskfield.-
Methods inherited from class org.lwjgl.system.StructBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, get, get, get, get, hasRemaining, limit, limit, mark, position, position, put, put, put, remaining, reset, rewind, slice, slice, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
-
-
-
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.
-
-
Method Detail
-
failOp
public int failOp()
Returns the value of thefailOpfield.
-
passOp
public int passOp()
Returns the value of thepassOpfield.
-
depthFailOp
public int depthFailOp()
Returns the value of thedepthFailOpfield.
-
compareOp
public int compareOp()
Returns the value of thecompareOpfield.
-
compareMask
public int compareMask()
Returns the value of thecompareMaskfield.
-
writeMask
public int writeMask()
Returns the value of thewriteMaskfield.
-
reference
public int reference()
Returns the value of thereferencefield.
-
failOp
public VkStencilOpState.Buffer failOp(int value)
Sets the specified value to thefailOpfield.
-
passOp
public VkStencilOpState.Buffer passOp(int value)
Sets the specified value to thepassOpfield.
-
depthFailOp
public VkStencilOpState.Buffer depthFailOp(int value)
Sets the specified value to thedepthFailOpfield.
-
compareOp
public VkStencilOpState.Buffer compareOp(int value)
Sets the specified value to thecompareOpfield.
-
compareMask
public VkStencilOpState.Buffer compareMask(int value)
Sets the specified value to thecompareMaskfield.
-
writeMask
public VkStencilOpState.Buffer writeMask(int value)
Sets the specified value to thewriteMaskfield.
-
reference
public VkStencilOpState.Buffer reference(int value)
Sets the specified value to thereferencefield.
-
-