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 ofVkPipelineDepthStencilStateCreateInfo
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VkStencilOpState
back()
Returns aVkStencilOpState
view of theback
field.VkPipelineDepthStencilStateCreateInfo.Buffer
back(java.util.function.Consumer<VkStencilOpState> consumer)
Passes theback
field to the specifiedConsumer
.VkPipelineDepthStencilStateCreateInfo.Buffer
back(VkStencilOpState value)
Copies the specifiedVkStencilOpState
to theback
field.boolean
depthBoundsTestEnable()
Returns the value of thedepthBoundsTestEnable
field.VkPipelineDepthStencilStateCreateInfo.Buffer
depthBoundsTestEnable(boolean value)
Sets the specified value to thedepthBoundsTestEnable
field.int
depthCompareOp()
Returns the value of thedepthCompareOp
field.VkPipelineDepthStencilStateCreateInfo.Buffer
depthCompareOp(int value)
Sets the specified value to thedepthCompareOp
field.boolean
depthTestEnable()
Returns the value of thedepthTestEnable
field.VkPipelineDepthStencilStateCreateInfo.Buffer
depthTestEnable(boolean value)
Sets the specified value to thedepthTestEnable
field.boolean
depthWriteEnable()
Returns the value of thedepthWriteEnable
field.VkPipelineDepthStencilStateCreateInfo.Buffer
depthWriteEnable(boolean value)
Sets the specified value to thedepthWriteEnable
field.int
flags()
Returns the value of theflags
field.VkPipelineDepthStencilStateCreateInfo.Buffer
flags(int value)
Sets the specified value to theflags
field.VkStencilOpState
front()
Returns aVkStencilOpState
view of thefront
field.VkPipelineDepthStencilStateCreateInfo.Buffer
front(java.util.function.Consumer<VkStencilOpState> consumer)
Passes thefront
field to the specifiedConsumer
.VkPipelineDepthStencilStateCreateInfo.Buffer
front(VkStencilOpState value)
Copies the specifiedVkStencilOpState
to thefront
field.float
maxDepthBounds()
Returns the value of themaxDepthBounds
field.VkPipelineDepthStencilStateCreateInfo.Buffer
maxDepthBounds(float value)
Sets the specified value to themaxDepthBounds
field.float
minDepthBounds()
Returns the value of theminDepthBounds
field.VkPipelineDepthStencilStateCreateInfo.Buffer
minDepthBounds(float value)
Sets the specified value to theminDepthBounds
field.long
pNext()
Returns the value of thepNext
field.VkPipelineDepthStencilStateCreateInfo.Buffer
pNext(long value)
Sets the specified value to thepNext
field.boolean
stencilTestEnable()
Returns the value of thestencilTestEnable
field.VkPipelineDepthStencilStateCreateInfo.Buffer
stencilTestEnable(boolean value)
Sets the specified value to thestencilTestEnable
field.int
sType()
Returns the value of thesType
field.VkPipelineDepthStencilStateCreateInfo.Buffer
sType(int value)
Sets the specified value to thesType
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkPipelineDepthStencilStateCreateInfo.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 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 thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
flags
public int flags()
Returns the value of theflags
field.
-
depthTestEnable
public boolean depthTestEnable()
Returns the value of thedepthTestEnable
field.
-
depthWriteEnable
public boolean depthWriteEnable()
Returns the value of thedepthWriteEnable
field.
-
depthCompareOp
public int depthCompareOp()
Returns the value of thedepthCompareOp
field.
-
depthBoundsTestEnable
public boolean depthBoundsTestEnable()
Returns the value of thedepthBoundsTestEnable
field.
-
stencilTestEnable
public boolean stencilTestEnable()
Returns the value of thestencilTestEnable
field.
-
front
public VkStencilOpState front()
Returns aVkStencilOpState
view of thefront
field.
-
back
public VkStencilOpState back()
Returns aVkStencilOpState
view of theback
field.
-
minDepthBounds
public float minDepthBounds()
Returns the value of theminDepthBounds
field.
-
maxDepthBounds
public float maxDepthBounds()
Returns the value of themaxDepthBounds
field.
-
sType
public VkPipelineDepthStencilStateCreateInfo.Buffer sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkPipelineDepthStencilStateCreateInfo.Buffer pNext(long value)
Sets the specified value to thepNext
field.
-
flags
public VkPipelineDepthStencilStateCreateInfo.Buffer flags(int value)
Sets the specified value to theflags
field.
-
depthTestEnable
public VkPipelineDepthStencilStateCreateInfo.Buffer depthTestEnable(boolean value)
Sets the specified value to thedepthTestEnable
field.
-
depthWriteEnable
public VkPipelineDepthStencilStateCreateInfo.Buffer depthWriteEnable(boolean value)
Sets the specified value to thedepthWriteEnable
field.
-
depthCompareOp
public VkPipelineDepthStencilStateCreateInfo.Buffer depthCompareOp(int value)
Sets the specified value to thedepthCompareOp
field.
-
depthBoundsTestEnable
public VkPipelineDepthStencilStateCreateInfo.Buffer depthBoundsTestEnable(boolean value)
Sets the specified value to thedepthBoundsTestEnable
field.
-
stencilTestEnable
public VkPipelineDepthStencilStateCreateInfo.Buffer stencilTestEnable(boolean value)
Sets the specified value to thestencilTestEnable
field.
-
front
public VkPipelineDepthStencilStateCreateInfo.Buffer front(VkStencilOpState value)
Copies the specifiedVkStencilOpState
to thefront
field.
-
front
public VkPipelineDepthStencilStateCreateInfo.Buffer front(java.util.function.Consumer<VkStencilOpState> consumer)
Passes thefront
field to the specifiedConsumer
.
-
back
public VkPipelineDepthStencilStateCreateInfo.Buffer back(VkStencilOpState value)
Copies the specifiedVkStencilOpState
to theback
field.
-
back
public VkPipelineDepthStencilStateCreateInfo.Buffer back(java.util.function.Consumer<VkStencilOpState> consumer)
Passes theback
field to the specifiedConsumer
.
-
minDepthBounds
public VkPipelineDepthStencilStateCreateInfo.Buffer minDepthBounds(float value)
Sets the specified value to theminDepthBounds
field.
-
maxDepthBounds
public VkPipelineDepthStencilStateCreateInfo.Buffer maxDepthBounds(float value)
Sets the specified value to themaxDepthBounds
field.
-
-