Package org.lwjgl.vulkan
Class VkPipelineDepthStencilStateCreateInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.StructBuffer<VkPipelineDepthStencilStateCreateInfo,VkPipelineDepthStencilStateCreateInfo.Buffer>
-
- org.lwjgl.vulkan.VkPipelineDepthStencilStateCreateInfo.Buffer
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, NativeResource, Pointer
- Enclosing class:
- VkPipelineDepthStencilStateCreateInfo
public static final class VkPipelineDepthStencilStateCreateInfo.Buffer extends StructBuffer<VkPipelineDepthStencilStateCreateInfo,VkPipelineDepthStencilStateCreateInfo.Buffer>
An array ofVkPipelineDepthStencilStateCreateInfostructs.
-
-
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 newVkPipelineDepthStencilStateCreateInfo.Bufferinstance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description VkStencilOpStateback()Returns aVkStencilOpStateview of thebackfield.VkPipelineDepthStencilStateCreateInfo.Bufferback(VkStencilOpState value)Copies the specifiedVkStencilOpStateto thebackfield.intdepthBoundsTestEnable()Returns the value of thedepthBoundsTestEnablefield.VkPipelineDepthStencilStateCreateInfo.BufferdepthBoundsTestEnable(int value)Sets the specified value to thedepthBoundsTestEnablefield.intdepthCompareOp()Returns the value of thedepthCompareOpfield.VkPipelineDepthStencilStateCreateInfo.BufferdepthCompareOp(int value)Sets the specified value to thedepthCompareOpfield.intdepthTestEnable()Returns the value of thedepthTestEnablefield.VkPipelineDepthStencilStateCreateInfo.BufferdepthTestEnable(int value)Sets the specified value to thedepthTestEnablefield.intdepthWriteEnable()Returns the value of thedepthWriteEnablefield.VkPipelineDepthStencilStateCreateInfo.BufferdepthWriteEnable(int 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(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.intstencilTestEnable()Returns the value of thestencilTestEnablefield.VkPipelineDepthStencilStateCreateInfo.BufferstencilTestEnable(int value)Sets the specified value to thestencilTestEnablefield.intsType()Returns the value of thesTypefield.VkPipelineDepthStencilStateCreateInfo.BuffersType(int value)Sets the specified value to thesTypefield.-
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 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.
-
-
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 int depthTestEnable()
Returns the value of thedepthTestEnablefield.
-
depthWriteEnable
public int depthWriteEnable()
Returns the value of thedepthWriteEnablefield.
-
depthCompareOp
public int depthCompareOp()
Returns the value of thedepthCompareOpfield.
-
depthBoundsTestEnable
public int depthBoundsTestEnable()
Returns the value of thedepthBoundsTestEnablefield.
-
stencilTestEnable
public int 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(int value)
Sets the specified value to thedepthTestEnablefield.
-
depthWriteEnable
public VkPipelineDepthStencilStateCreateInfo.Buffer depthWriteEnable(int 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(int value)
Sets the specified value to thedepthBoundsTestEnablefield.
-
stencilTestEnable
public VkPipelineDepthStencilStateCreateInfo.Buffer stencilTestEnable(int value)
Sets the specified value to thestencilTestEnablefield.
-
front
public VkPipelineDepthStencilStateCreateInfo.Buffer front(VkStencilOpState value)
Copies the specifiedVkStencilOpStateto thefrontfield.
-
back
public VkPipelineDepthStencilStateCreateInfo.Buffer back(VkStencilOpState value)
Copies the specifiedVkStencilOpStateto thebackfield.
-
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.
-
-