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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VkStencilOpStateback()Returns aVkStencilOpStateview of thebackfield.VkPipelineDepthStencilStateCreateInfo.Bufferback(java.util.function.Consumer<VkStencilOpState> consumer)Passes thebackfield to the specifiedConsumer.VkPipelineDepthStencilStateCreateInfo.Bufferback(VkStencilOpState value)Copies the specifiedVkStencilOpStateto thebackfield.booleandepthBoundsTestEnable()Returns the value of thedepthBoundsTestEnablefield.VkPipelineDepthStencilStateCreateInfo.BufferdepthBoundsTestEnable(boolean value)Sets the specified value to thedepthBoundsTestEnablefield.intdepthCompareOp()Returns the value of thedepthCompareOpfield.VkPipelineDepthStencilStateCreateInfo.BufferdepthCompareOp(int value)Sets the specified value to thedepthCompareOpfield.booleandepthTestEnable()Returns the value of thedepthTestEnablefield.VkPipelineDepthStencilStateCreateInfo.BufferdepthTestEnable(boolean value)Sets the specified value to thedepthTestEnablefield.booleandepthWriteEnable()Returns the value of thedepthWriteEnablefield.VkPipelineDepthStencilStateCreateInfo.BufferdepthWriteEnable(boolean value)Sets the specified value to thedepthWriteEnablefield.intflags()Returns the value of theflagsfield.VkPipelineDepthStencilStateCreateInfo.Bufferflags(int value)Sets the specified value to theflagsfield.VkStencilOpStatefront()Returns aVkStencilOpStateview of thefrontfield.VkPipelineDepthStencilStateCreateInfo.Bufferfront(java.util.function.Consumer<VkStencilOpState> consumer)Passes thefrontfield to the specifiedConsumer.VkPipelineDepthStencilStateCreateInfo.Bufferfront(VkStencilOpState value)Copies the specifiedVkStencilOpStateto thefrontfield.floatmaxDepthBounds()Returns the value of themaxDepthBoundsfield.VkPipelineDepthStencilStateCreateInfo.BuffermaxDepthBounds(float value)Sets the specified value to themaxDepthBoundsfield.floatminDepthBounds()Returns the value of theminDepthBoundsfield.VkPipelineDepthStencilStateCreateInfo.BufferminDepthBounds(float value)Sets the specified value to theminDepthBoundsfield.longpNext()Returns the value of thepNextfield.VkPipelineDepthStencilStateCreateInfo.BufferpNext(long value)Sets the specified value to thepNextfield.booleanstencilTestEnable()Returns the value of thestencilTestEnablefield.VkPipelineDepthStencilStateCreateInfo.BufferstencilTestEnable(boolean value)Sets the specified value to thestencilTestEnablefield.intsType()Returns the value of thesTypefield.VkPipelineDepthStencilStateCreateInfo.BuffersType(int value)Sets the specified value to thesTypefield.
-
-
-
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 thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
flags
public int flags()
Returns the value of theflagsfield.
-
depthTestEnable
public boolean depthTestEnable()
Returns the value of thedepthTestEnablefield.
-
depthWriteEnable
public boolean depthWriteEnable()
Returns the value of thedepthWriteEnablefield.
-
depthCompareOp
public int depthCompareOp()
Returns the value of thedepthCompareOpfield.
-
depthBoundsTestEnable
public boolean depthBoundsTestEnable()
Returns the value of thedepthBoundsTestEnablefield.
-
stencilTestEnable
public boolean stencilTestEnable()
Returns the value of thestencilTestEnablefield.
-
front
public VkStencilOpState front()
Returns aVkStencilOpStateview of thefrontfield.
-
back
public VkStencilOpState back()
Returns aVkStencilOpStateview of thebackfield.
-
minDepthBounds
public float minDepthBounds()
Returns the value of theminDepthBoundsfield.
-
maxDepthBounds
public float maxDepthBounds()
Returns the value of themaxDepthBoundsfield.
-
sType
public VkPipelineDepthStencilStateCreateInfo.Buffer sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkPipelineDepthStencilStateCreateInfo.Buffer pNext(long value)
Sets the specified value to thepNextfield.
-
flags
public VkPipelineDepthStencilStateCreateInfo.Buffer flags(int value)
Sets the specified value to theflagsfield.
-
depthTestEnable
public VkPipelineDepthStencilStateCreateInfo.Buffer depthTestEnable(boolean value)
Sets the specified value to thedepthTestEnablefield.
-
depthWriteEnable
public VkPipelineDepthStencilStateCreateInfo.Buffer depthWriteEnable(boolean value)
Sets the specified value to thedepthWriteEnablefield.
-
depthCompareOp
public VkPipelineDepthStencilStateCreateInfo.Buffer depthCompareOp(int value)
Sets the specified value to thedepthCompareOpfield.
-
depthBoundsTestEnable
public VkPipelineDepthStencilStateCreateInfo.Buffer depthBoundsTestEnable(boolean value)
Sets the specified value to thedepthBoundsTestEnablefield.
-
stencilTestEnable
public VkPipelineDepthStencilStateCreateInfo.Buffer stencilTestEnable(boolean value)
Sets the specified value to thestencilTestEnablefield.
-
front
public VkPipelineDepthStencilStateCreateInfo.Buffer front(VkStencilOpState value)
Copies the specifiedVkStencilOpStateto thefrontfield.
-
front
public VkPipelineDepthStencilStateCreateInfo.Buffer front(java.util.function.Consumer<VkStencilOpState> consumer)
Passes thefrontfield to the specifiedConsumer.
-
back
public VkPipelineDepthStencilStateCreateInfo.Buffer back(VkStencilOpState value)
Copies the specifiedVkStencilOpStateto thebackfield.
-
back
public VkPipelineDepthStencilStateCreateInfo.Buffer back(java.util.function.Consumer<VkStencilOpState> consumer)
Passes thebackfield to the specifiedConsumer.
-
minDepthBounds
public VkPipelineDepthStencilStateCreateInfo.Buffer minDepthBounds(float value)
Sets the specified value to theminDepthBoundsfield.
-
maxDepthBounds
public VkPipelineDepthStencilStateCreateInfo.Buffer maxDepthBounds(float value)
Sets the specified value to themaxDepthBoundsfield.
-
-