Package org.lwjgl.vulkan
Class VkPipelineRasterizationStateCreateInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.StructBuffer<VkPipelineRasterizationStateCreateInfo,VkPipelineRasterizationStateCreateInfo.Buffer>
-
- org.lwjgl.vulkan.VkPipelineRasterizationStateCreateInfo.Buffer
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, NativeResource, Pointer
- Enclosing class:
- VkPipelineRasterizationStateCreateInfo
public static final class VkPipelineRasterizationStateCreateInfo.Buffer extends StructBuffer<VkPipelineRasterizationStateCreateInfo,VkPipelineRasterizationStateCreateInfo.Buffer>
An array ofVkPipelineRasterizationStateCreateInfostructs.
-
-
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 newVkPipelineRasterizationStateCreateInfo.Bufferinstance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intcullMode()Returns the value of thecullModefield.VkPipelineRasterizationStateCreateInfo.BuffercullMode(int value)Sets the specified value to thecullModefield.floatdepthBiasClamp()Returns the value of thedepthBiasClampfield.VkPipelineRasterizationStateCreateInfo.BufferdepthBiasClamp(float value)Sets the specified value to thedepthBiasClampfield.floatdepthBiasConstantFactor()Returns the value of thedepthBiasConstantFactorfield.VkPipelineRasterizationStateCreateInfo.BufferdepthBiasConstantFactor(float value)Sets the specified value to thedepthBiasConstantFactorfield.intdepthBiasEnable()Returns the value of thedepthBiasEnablefield.VkPipelineRasterizationStateCreateInfo.BufferdepthBiasEnable(int value)Sets the specified value to thedepthBiasEnablefield.floatdepthBiasSlopeFactor()Returns the value of thedepthBiasSlopeFactorfield.VkPipelineRasterizationStateCreateInfo.BufferdepthBiasSlopeFactor(float value)Sets the specified value to thedepthBiasSlopeFactorfield.intdepthClampEnable()Returns the value of thedepthClampEnablefield.VkPipelineRasterizationStateCreateInfo.BufferdepthClampEnable(int value)Sets the specified value to thedepthClampEnablefield.intflags()Returns the value of theflagsfield.VkPipelineRasterizationStateCreateInfo.Bufferflags(int value)Sets the specified value to theflagsfield.intfrontFace()Returns the value of thefrontFacefield.VkPipelineRasterizationStateCreateInfo.BufferfrontFace(int value)Sets the specified value to thefrontFacefield.floatlineWidth()Returns the value of thelineWidthfield.VkPipelineRasterizationStateCreateInfo.BufferlineWidth(float value)Sets the specified value to thelineWidthfield.longpNext()Returns the value of thepNextfield.VkPipelineRasterizationStateCreateInfo.BufferpNext(long value)Sets the specified value to thepNextfield.intpolygonMode()Returns the value of thepolygonModefield.VkPipelineRasterizationStateCreateInfo.BufferpolygonMode(int value)Sets the specified value to thepolygonModefield.intrasterizerDiscardEnable()Returns the value of therasterizerDiscardEnablefield.VkPipelineRasterizationStateCreateInfo.BufferrasterizerDiscardEnable(int value)Sets the specified value to therasterizerDiscardEnablefield.intsType()Returns the value of thesTypefield.VkPipelineRasterizationStateCreateInfo.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 newVkPipelineRasterizationStateCreateInfo.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 byVkPipelineRasterizationStateCreateInfo.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.
-
depthClampEnable
public int depthClampEnable()
Returns the value of thedepthClampEnablefield.
-
rasterizerDiscardEnable
public int rasterizerDiscardEnable()
Returns the value of therasterizerDiscardEnablefield.
-
polygonMode
public int polygonMode()
Returns the value of thepolygonModefield.
-
cullMode
public int cullMode()
Returns the value of thecullModefield.
-
frontFace
public int frontFace()
Returns the value of thefrontFacefield.
-
depthBiasEnable
public int depthBiasEnable()
Returns the value of thedepthBiasEnablefield.
-
depthBiasConstantFactor
public float depthBiasConstantFactor()
Returns the value of thedepthBiasConstantFactorfield.
-
depthBiasClamp
public float depthBiasClamp()
Returns the value of thedepthBiasClampfield.
-
depthBiasSlopeFactor
public float depthBiasSlopeFactor()
Returns the value of thedepthBiasSlopeFactorfield.
-
lineWidth
public float lineWidth()
Returns the value of thelineWidthfield.
-
sType
public VkPipelineRasterizationStateCreateInfo.Buffer sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkPipelineRasterizationStateCreateInfo.Buffer pNext(long value)
Sets the specified value to thepNextfield.
-
flags
public VkPipelineRasterizationStateCreateInfo.Buffer flags(int value)
Sets the specified value to theflagsfield.
-
depthClampEnable
public VkPipelineRasterizationStateCreateInfo.Buffer depthClampEnable(int value)
Sets the specified value to thedepthClampEnablefield.
-
rasterizerDiscardEnable
public VkPipelineRasterizationStateCreateInfo.Buffer rasterizerDiscardEnable(int value)
Sets the specified value to therasterizerDiscardEnablefield.
-
polygonMode
public VkPipelineRasterizationStateCreateInfo.Buffer polygonMode(int value)
Sets the specified value to thepolygonModefield.
-
cullMode
public VkPipelineRasterizationStateCreateInfo.Buffer cullMode(int value)
Sets the specified value to thecullModefield.
-
frontFace
public VkPipelineRasterizationStateCreateInfo.Buffer frontFace(int value)
Sets the specified value to thefrontFacefield.
-
depthBiasEnable
public VkPipelineRasterizationStateCreateInfo.Buffer depthBiasEnable(int value)
Sets the specified value to thedepthBiasEnablefield.
-
depthBiasConstantFactor
public VkPipelineRasterizationStateCreateInfo.Buffer depthBiasConstantFactor(float value)
Sets the specified value to thedepthBiasConstantFactorfield.
-
depthBiasClamp
public VkPipelineRasterizationStateCreateInfo.Buffer depthBiasClamp(float value)
Sets the specified value to thedepthBiasClampfield.
-
depthBiasSlopeFactor
public VkPipelineRasterizationStateCreateInfo.Buffer depthBiasSlopeFactor(float value)
Sets the specified value to thedepthBiasSlopeFactorfield.
-
lineWidth
public VkPipelineRasterizationStateCreateInfo.Buffer lineWidth(float value)
Sets the specified value to thelineWidthfield.
-
-