Package org.lwjgl.vulkan
Class VkPipelineDepthStencilStateCreateInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkPipelineDepthStencilStateCreateInfo,VkPipelineDepthStencilStateCreateInfo.Buffer>
-
- org.lwjgl.vulkan.VkPipelineDepthStencilStateCreateInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkPipelineDepthStencilStateCreateInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkPipelineDepthStencilStateCreateInfo
public static class VkPipelineDepthStencilStateCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<VkPipelineDepthStencilStateCreateInfo,VkPipelineDepthStencilStateCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkPipelineDepthStencilStateCreateInfostructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkPipelineDepthStencilStateCreateInfo.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 byVkPipelineDepthStencilStateCreateInfo.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
-
sType
public int sType()
- Returns:
- the value of the
VkPipelineDepthStencilStateCreateInfo.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkPipelineDepthStencilStateCreateInfo.pNext()field.
-
flags
public int flags()
- Returns:
- the value of the
VkPipelineDepthStencilStateCreateInfo.flags()field.
-
depthTestEnable
public boolean depthTestEnable()
- Returns:
- the value of the
VkPipelineDepthStencilStateCreateInfo.depthTestEnable()field.
-
depthWriteEnable
public boolean depthWriteEnable()
- Returns:
- the value of the
VkPipelineDepthStencilStateCreateInfo.depthWriteEnable()field.
-
depthCompareOp
public int depthCompareOp()
- Returns:
- the value of the
VkPipelineDepthStencilStateCreateInfo.depthCompareOp()field.
-
depthBoundsTestEnable
public boolean depthBoundsTestEnable()
- Returns:
- the value of the
VkPipelineDepthStencilStateCreateInfo.depthBoundsTestEnable()field.
-
stencilTestEnable
public boolean stencilTestEnable()
- Returns:
- the value of the
VkPipelineDepthStencilStateCreateInfo.stencilTestEnable()field.
-
front
public VkStencilOpState front()
- Returns:
- a
VkStencilOpStateview of theVkPipelineDepthStencilStateCreateInfo.front()field.
-
back
public VkStencilOpState back()
- Returns:
- a
VkStencilOpStateview of theVkPipelineDepthStencilStateCreateInfo.back()field.
-
minDepthBounds
public float minDepthBounds()
- Returns:
- the value of the
VkPipelineDepthStencilStateCreateInfo.minDepthBounds()field.
-
maxDepthBounds
public float maxDepthBounds()
- Returns:
- the value of the
VkPipelineDepthStencilStateCreateInfo.maxDepthBounds()field.
-
sType
public VkPipelineDepthStencilStateCreateInfo.Buffer sType(int value)
Sets the specified value to theVkPipelineDepthStencilStateCreateInfo.sType()field.
-
sType$Default
public VkPipelineDepthStencilStateCreateInfo.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFOvalue to theVkPipelineDepthStencilStateCreateInfo.sType()field.
-
pNext
public VkPipelineDepthStencilStateCreateInfo.Buffer pNext(long value)
Sets the specified value to theVkPipelineDepthStencilStateCreateInfo.pNext()field.
-
flags
public VkPipelineDepthStencilStateCreateInfo.Buffer flags(int value)
Sets the specified value to theVkPipelineDepthStencilStateCreateInfo.flags()field.
-
depthTestEnable
public VkPipelineDepthStencilStateCreateInfo.Buffer depthTestEnable(boolean value)
Sets the specified value to theVkPipelineDepthStencilStateCreateInfo.depthTestEnable()field.
-
depthWriteEnable
public VkPipelineDepthStencilStateCreateInfo.Buffer depthWriteEnable(boolean value)
Sets the specified value to theVkPipelineDepthStencilStateCreateInfo.depthWriteEnable()field.
-
depthCompareOp
public VkPipelineDepthStencilStateCreateInfo.Buffer depthCompareOp(int value)
Sets the specified value to theVkPipelineDepthStencilStateCreateInfo.depthCompareOp()field.
-
depthBoundsTestEnable
public VkPipelineDepthStencilStateCreateInfo.Buffer depthBoundsTestEnable(boolean value)
Sets the specified value to theVkPipelineDepthStencilStateCreateInfo.depthBoundsTestEnable()field.
-
stencilTestEnable
public VkPipelineDepthStencilStateCreateInfo.Buffer stencilTestEnable(boolean value)
Sets the specified value to theVkPipelineDepthStencilStateCreateInfo.stencilTestEnable()field.
-
front
public VkPipelineDepthStencilStateCreateInfo.Buffer front(VkStencilOpState value)
Copies the specifiedVkStencilOpStateto theVkPipelineDepthStencilStateCreateInfo.front()field.
-
front
public VkPipelineDepthStencilStateCreateInfo.Buffer front(java.util.function.Consumer<VkStencilOpState> consumer)
Passes theVkPipelineDepthStencilStateCreateInfo.front()field to the specifiedConsumer.
-
back
public VkPipelineDepthStencilStateCreateInfo.Buffer back(VkStencilOpState value)
Copies the specifiedVkStencilOpStateto theVkPipelineDepthStencilStateCreateInfo.back()field.
-
back
public VkPipelineDepthStencilStateCreateInfo.Buffer back(java.util.function.Consumer<VkStencilOpState> consumer)
Passes theVkPipelineDepthStencilStateCreateInfo.back()field to the specifiedConsumer.
-
minDepthBounds
public VkPipelineDepthStencilStateCreateInfo.Buffer minDepthBounds(float value)
Sets the specified value to theVkPipelineDepthStencilStateCreateInfo.minDepthBounds()field.
-
maxDepthBounds
public VkPipelineDepthStencilStateCreateInfo.Buffer maxDepthBounds(float value)
Sets the specified value to theVkPipelineDepthStencilStateCreateInfo.maxDepthBounds()field.
-
-