Package org.lwjgl.vulkan
Class VkPipelineRasterizationStateCreateInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkPipelineRasterizationStateCreateInfo,VkPipelineRasterizationStateCreateInfo.Buffer>
-
- org.lwjgl.vulkan.VkPipelineRasterizationStateCreateInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<VkPipelineRasterizationStateCreateInfo>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- VkPipelineRasterizationStateCreateInfo
public static class VkPipelineRasterizationStateCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<VkPipelineRasterizationStateCreateInfo,VkPipelineRasterizationStateCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkPipelineRasterizationStateCreateInfo
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
cullMode()
Returns the value of thecullMode
field.VkPipelineRasterizationStateCreateInfo.Buffer
cullMode(int value)
Sets the specified value to thecullMode
field.float
depthBiasClamp()
Returns the value of thedepthBiasClamp
field.VkPipelineRasterizationStateCreateInfo.Buffer
depthBiasClamp(float value)
Sets the specified value to thedepthBiasClamp
field.float
depthBiasConstantFactor()
Returns the value of thedepthBiasConstantFactor
field.VkPipelineRasterizationStateCreateInfo.Buffer
depthBiasConstantFactor(float value)
Sets the specified value to thedepthBiasConstantFactor
field.boolean
depthBiasEnable()
Returns the value of thedepthBiasEnable
field.VkPipelineRasterizationStateCreateInfo.Buffer
depthBiasEnable(boolean value)
Sets the specified value to thedepthBiasEnable
field.float
depthBiasSlopeFactor()
Returns the value of thedepthBiasSlopeFactor
field.VkPipelineRasterizationStateCreateInfo.Buffer
depthBiasSlopeFactor(float value)
Sets the specified value to thedepthBiasSlopeFactor
field.boolean
depthClampEnable()
Returns the value of thedepthClampEnable
field.VkPipelineRasterizationStateCreateInfo.Buffer
depthClampEnable(boolean value)
Sets the specified value to thedepthClampEnable
field.int
flags()
Returns the value of theflags
field.VkPipelineRasterizationStateCreateInfo.Buffer
flags(int value)
Sets the specified value to theflags
field.int
frontFace()
Returns the value of thefrontFace
field.VkPipelineRasterizationStateCreateInfo.Buffer
frontFace(int value)
Sets the specified value to thefrontFace
field.float
lineWidth()
Returns the value of thelineWidth
field.VkPipelineRasterizationStateCreateInfo.Buffer
lineWidth(float value)
Sets the specified value to thelineWidth
field.long
pNext()
Returns the value of thepNext
field.VkPipelineRasterizationStateCreateInfo.Buffer
pNext(long value)
Sets the specified value to thepNext
field.int
polygonMode()
Returns the value of thepolygonMode
field.VkPipelineRasterizationStateCreateInfo.Buffer
polygonMode(int value)
Sets the specified value to thepolygonMode
field.boolean
rasterizerDiscardEnable()
Returns the value of therasterizerDiscardEnable
field.VkPipelineRasterizationStateCreateInfo.Buffer
rasterizerDiscardEnable(boolean value)
Sets the specified value to therasterizerDiscardEnable
field.int
sType()
Returns the value of thesType
field.VkPipelineRasterizationStateCreateInfo.Buffer
sType(int value)
Sets the specified value to thesType
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkPipelineRasterizationStateCreateInfo.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 byVkPipelineRasterizationStateCreateInfo.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.
-
depthClampEnable
public boolean depthClampEnable()
Returns the value of thedepthClampEnable
field.
-
rasterizerDiscardEnable
public boolean rasterizerDiscardEnable()
Returns the value of therasterizerDiscardEnable
field.
-
polygonMode
public int polygonMode()
Returns the value of thepolygonMode
field.
-
cullMode
public int cullMode()
Returns the value of thecullMode
field.
-
frontFace
public int frontFace()
Returns the value of thefrontFace
field.
-
depthBiasEnable
public boolean depthBiasEnable()
Returns the value of thedepthBiasEnable
field.
-
depthBiasConstantFactor
public float depthBiasConstantFactor()
Returns the value of thedepthBiasConstantFactor
field.
-
depthBiasClamp
public float depthBiasClamp()
Returns the value of thedepthBiasClamp
field.
-
depthBiasSlopeFactor
public float depthBiasSlopeFactor()
Returns the value of thedepthBiasSlopeFactor
field.
-
lineWidth
public float lineWidth()
Returns the value of thelineWidth
field.
-
sType
public VkPipelineRasterizationStateCreateInfo.Buffer sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkPipelineRasterizationStateCreateInfo.Buffer pNext(long value)
Sets the specified value to thepNext
field.
-
flags
public VkPipelineRasterizationStateCreateInfo.Buffer flags(int value)
Sets the specified value to theflags
field.
-
depthClampEnable
public VkPipelineRasterizationStateCreateInfo.Buffer depthClampEnable(boolean value)
Sets the specified value to thedepthClampEnable
field.
-
rasterizerDiscardEnable
public VkPipelineRasterizationStateCreateInfo.Buffer rasterizerDiscardEnable(boolean value)
Sets the specified value to therasterizerDiscardEnable
field.
-
polygonMode
public VkPipelineRasterizationStateCreateInfo.Buffer polygonMode(int value)
Sets the specified value to thepolygonMode
field.
-
cullMode
public VkPipelineRasterizationStateCreateInfo.Buffer cullMode(int value)
Sets the specified value to thecullMode
field.
-
frontFace
public VkPipelineRasterizationStateCreateInfo.Buffer frontFace(int value)
Sets the specified value to thefrontFace
field.
-
depthBiasEnable
public VkPipelineRasterizationStateCreateInfo.Buffer depthBiasEnable(boolean value)
Sets the specified value to thedepthBiasEnable
field.
-
depthBiasConstantFactor
public VkPipelineRasterizationStateCreateInfo.Buffer depthBiasConstantFactor(float value)
Sets the specified value to thedepthBiasConstantFactor
field.
-
depthBiasClamp
public VkPipelineRasterizationStateCreateInfo.Buffer depthBiasClamp(float value)
Sets the specified value to thedepthBiasClamp
field.
-
depthBiasSlopeFactor
public VkPipelineRasterizationStateCreateInfo.Buffer depthBiasSlopeFactor(float value)
Sets the specified value to thedepthBiasSlopeFactor
field.
-
lineWidth
public VkPipelineRasterizationStateCreateInfo.Buffer lineWidth(float value)
Sets the specified value to thelineWidth
field.
-
-