public static class VkPipelineDepthStencilStateCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<VkPipelineDepthStencilStateCreateInfo,VkPipelineDepthStencilStateCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
VkPipelineDepthStencilStateCreateInfo structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkPipelineDepthStencilStateCreateInfo.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
VkStencilOpState |
back()
Returns a
VkStencilOpState view of the back field. |
VkPipelineDepthStencilStateCreateInfo.Buffer |
back(java.util.function.Consumer<VkStencilOpState> consumer)
Passes the
back field to the specified Consumer. |
VkPipelineDepthStencilStateCreateInfo.Buffer |
back(VkStencilOpState value)
Copies the specified
VkStencilOpState to the back field. |
boolean |
depthBoundsTestEnable()
Returns the value of the
depthBoundsTestEnable field. |
VkPipelineDepthStencilStateCreateInfo.Buffer |
depthBoundsTestEnable(boolean value)
Sets the specified value to the
depthBoundsTestEnable field. |
int |
depthCompareOp()
Returns the value of the
depthCompareOp field. |
VkPipelineDepthStencilStateCreateInfo.Buffer |
depthCompareOp(int value)
Sets the specified value to the
depthCompareOp field. |
boolean |
depthTestEnable()
Returns the value of the
depthTestEnable field. |
VkPipelineDepthStencilStateCreateInfo.Buffer |
depthTestEnable(boolean value)
Sets the specified value to the
depthTestEnable field. |
boolean |
depthWriteEnable()
Returns the value of the
depthWriteEnable field. |
VkPipelineDepthStencilStateCreateInfo.Buffer |
depthWriteEnable(boolean value)
Sets the specified value to the
depthWriteEnable field. |
int |
flags()
Returns the value of the
flags field. |
VkPipelineDepthStencilStateCreateInfo.Buffer |
flags(int value)
Sets the specified value to the
flags field. |
VkStencilOpState |
front()
Returns a
VkStencilOpState view of the front field. |
VkPipelineDepthStencilStateCreateInfo.Buffer |
front(java.util.function.Consumer<VkStencilOpState> consumer)
Passes the
front field to the specified Consumer. |
VkPipelineDepthStencilStateCreateInfo.Buffer |
front(VkStencilOpState value)
Copies the specified
VkStencilOpState to the front field. |
float |
maxDepthBounds()
Returns the value of the
maxDepthBounds field. |
VkPipelineDepthStencilStateCreateInfo.Buffer |
maxDepthBounds(float value)
Sets the specified value to the
maxDepthBounds field. |
float |
minDepthBounds()
Returns the value of the
minDepthBounds field. |
VkPipelineDepthStencilStateCreateInfo.Buffer |
minDepthBounds(float value)
Sets the specified value to the
minDepthBounds field. |
long |
pNext()
Returns the value of the
pNext field. |
VkPipelineDepthStencilStateCreateInfo.Buffer |
pNext(long value)
Sets the specified value to the
pNext field. |
boolean |
stencilTestEnable()
Returns the value of the
stencilTestEnable field. |
VkPipelineDepthStencilStateCreateInfo.Buffer |
stencilTestEnable(boolean value)
Sets the specified value to the
stencilTestEnable field. |
int |
sType()
Returns the value of the
sType field. |
VkPipelineDepthStencilStateCreateInfo.Buffer |
sType(int value)
Sets the specified value to the
sType field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkPipelineDepthStencilStateCreateInfo.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 VkPipelineDepthStencilStateCreateInfo.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 sType()
sType field.public long pNext()
pNext field.public int flags()
flags field.public boolean depthTestEnable()
depthTestEnable field.public boolean depthWriteEnable()
depthWriteEnable field.public int depthCompareOp()
depthCompareOp field.public boolean depthBoundsTestEnable()
depthBoundsTestEnable field.public boolean stencilTestEnable()
stencilTestEnable field.public VkStencilOpState front()
VkStencilOpState view of the front field.public VkStencilOpState back()
VkStencilOpState view of the back field.public float minDepthBounds()
minDepthBounds field.public float maxDepthBounds()
maxDepthBounds field.public VkPipelineDepthStencilStateCreateInfo.Buffer sType(int value)
sType field.public VkPipelineDepthStencilStateCreateInfo.Buffer pNext(long value)
pNext field.public VkPipelineDepthStencilStateCreateInfo.Buffer flags(int value)
flags field.public VkPipelineDepthStencilStateCreateInfo.Buffer depthTestEnable(boolean value)
depthTestEnable field.public VkPipelineDepthStencilStateCreateInfo.Buffer depthWriteEnable(boolean value)
depthWriteEnable field.public VkPipelineDepthStencilStateCreateInfo.Buffer depthCompareOp(int value)
depthCompareOp field.public VkPipelineDepthStencilStateCreateInfo.Buffer depthBoundsTestEnable(boolean value)
depthBoundsTestEnable field.public VkPipelineDepthStencilStateCreateInfo.Buffer stencilTestEnable(boolean value)
stencilTestEnable field.public VkPipelineDepthStencilStateCreateInfo.Buffer front(VkStencilOpState value)
VkStencilOpState to the front field.public VkPipelineDepthStencilStateCreateInfo.Buffer front(java.util.function.Consumer<VkStencilOpState> consumer)
front field to the specified Consumer.public VkPipelineDepthStencilStateCreateInfo.Buffer back(VkStencilOpState value)
VkStencilOpState to the back field.public VkPipelineDepthStencilStateCreateInfo.Buffer back(java.util.function.Consumer<VkStencilOpState> consumer)
back field to the specified Consumer.public VkPipelineDepthStencilStateCreateInfo.Buffer minDepthBounds(float value)
minDepthBounds field.public VkPipelineDepthStencilStateCreateInfo.Buffer maxDepthBounds(float value)
maxDepthBounds field.Copyright LWJGL. All Rights Reserved. License terms.