Package org.lwjgl.vulkan
Class VkPipelineRasterizationStateCreateInfo.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<VkPipelineRasterizationStateCreateInfo.Buffer>
org.lwjgl.system.StructBuffer<VkPipelineRasterizationStateCreateInfo,VkPipelineRasterizationStateCreateInfo.Buffer>
org.lwjgl.vulkan.VkPipelineRasterizationStateCreateInfo.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<VkPipelineRasterizationStateCreateInfo>
,NativeResource
,Pointer
- Enclosing class:
VkPipelineRasterizationStateCreateInfo
public static class VkPipelineRasterizationStateCreateInfo.Buffer
extends StructBuffer<VkPipelineRasterizationStateCreateInfo,VkPipelineRasterizationStateCreateInfo.Buffer>
implements NativeResource
An array of
VkPipelineRasterizationStateCreateInfo
structs.-
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
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(long address, int cap) Buffer
(ByteBuffer container) Creates a newVkPipelineRasterizationStateCreateInfo.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionint
cullMode()
cullMode
(int value) Sets the specified value to thecullMode
field.float
depthBiasClamp
(float value) Sets the specified value to thedepthBiasClamp
field.float
depthBiasConstantFactor
(float value) Sets the specified value to thedepthBiasConstantFactor
field.boolean
depthBiasEnable
(boolean value) Sets the specified value to thedepthBiasEnable
field.float
depthBiasSlopeFactor
(float value) Sets the specified value to thedepthBiasSlopeFactor
field.boolean
depthClampEnable
(boolean value) Sets the specified value to thedepthClampEnable
field.int
flags()
flags
(int value) Sets the specified value to theflags
field.int
frontFace
(int value) Sets the specified value to thefrontFace
field.float
lineWidth
(float value) Sets the specified value to thelineWidth
field.long
pNext()
pNext
(long value) Sets the specified value to thepNext
field.Prepends the specifiedVkDepthBiasRepresentationInfoEXT
value to thepNext
chain.Prepends the specifiedVkPipelineRasterizationConservativeStateCreateInfoEXT
value to thepNext
chain.Prepends the specifiedVkPipelineRasterizationDepthClipStateCreateInfoEXT
value to thepNext
chain.Prepends the specifiedVkPipelineRasterizationLineStateCreateInfo
value to thepNext
chain.Prepends the specifiedVkPipelineRasterizationLineStateCreateInfoEXT
value to thepNext
chain.Prepends the specifiedVkPipelineRasterizationLineStateCreateInfoKHR
value to thepNext
chain.Prepends the specifiedVkPipelineRasterizationProvokingVertexStateCreateInfoEXT
value to thepNext
chain.Prepends the specifiedVkPipelineRasterizationStateRasterizationOrderAMD
value to thepNext
chain.Prepends the specifiedVkPipelineRasterizationStateStreamCreateInfoEXT
value to thepNext
chain.int
polygonMode
(int value) Sets the specified value to thepolygonMode
field.boolean
rasterizerDiscardEnable
(boolean value) Sets the specified value to therasterizerDiscardEnable
field.int
sType()
sType
(int value) Sets the specified value to thesType
field.Sets theSTRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO
value to thesType
field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
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 by
VkPipelineRasterizationStateCreateInfo.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 Details
-
sType
public int sType()- Returns:
- the value of the
sType
field.
-
pNext
public long pNext()- Returns:
- the value of the
pNext
field.
-
flags
public int flags()- Returns:
- the value of the
flags
field.
-
depthClampEnable
public boolean depthClampEnable()- Returns:
- the value of the
depthClampEnable
field.
-
rasterizerDiscardEnable
public boolean rasterizerDiscardEnable()- Returns:
- the value of the
rasterizerDiscardEnable
field.
-
polygonMode
public int polygonMode()- Returns:
- the value of the
polygonMode
field.
-
cullMode
public int cullMode()- Returns:
- the value of the
cullMode
field.
-
frontFace
public int frontFace()- Returns:
- the value of the
frontFace
field.
-
depthBiasEnable
public boolean depthBiasEnable()- Returns:
- the value of the
depthBiasEnable
field.
-
depthBiasConstantFactor
public float depthBiasConstantFactor()- Returns:
- the value of the
depthBiasConstantFactor
field.
-
depthBiasClamp
public float depthBiasClamp()- Returns:
- the value of the
depthBiasClamp
field.
-
depthBiasSlopeFactor
public float depthBiasSlopeFactor()- Returns:
- the value of the
depthBiasSlopeFactor
field.
-
lineWidth
public float lineWidth()- Returns:
- the value of the
lineWidth
field.
-
sType
Sets the specified value to thesType
field. -
sType$Default
Sets theSTRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO
value to thesType
field. -
pNext
Sets the specified value to thepNext
field. -
pNext
Prepends the specifiedVkDepthBiasRepresentationInfoEXT
value to thepNext
chain. -
pNext
public VkPipelineRasterizationStateCreateInfo.Buffer pNext(VkPipelineRasterizationConservativeStateCreateInfoEXT value) Prepends the specifiedVkPipelineRasterizationConservativeStateCreateInfoEXT
value to thepNext
chain. -
pNext
public VkPipelineRasterizationStateCreateInfo.Buffer pNext(VkPipelineRasterizationDepthClipStateCreateInfoEXT value) Prepends the specifiedVkPipelineRasterizationDepthClipStateCreateInfoEXT
value to thepNext
chain. -
pNext
public VkPipelineRasterizationStateCreateInfo.Buffer pNext(VkPipelineRasterizationLineStateCreateInfo value) Prepends the specifiedVkPipelineRasterizationLineStateCreateInfo
value to thepNext
chain. -
pNext
public VkPipelineRasterizationStateCreateInfo.Buffer pNext(VkPipelineRasterizationLineStateCreateInfoEXT value) Prepends the specifiedVkPipelineRasterizationLineStateCreateInfoEXT
value to thepNext
chain. -
pNext
public VkPipelineRasterizationStateCreateInfo.Buffer pNext(VkPipelineRasterizationLineStateCreateInfoKHR value) Prepends the specifiedVkPipelineRasterizationLineStateCreateInfoKHR
value to thepNext
chain. -
pNext
public VkPipelineRasterizationStateCreateInfo.Buffer pNext(VkPipelineRasterizationProvokingVertexStateCreateInfoEXT value) Prepends the specifiedVkPipelineRasterizationProvokingVertexStateCreateInfoEXT
value to thepNext
chain. -
pNext
public VkPipelineRasterizationStateCreateInfo.Buffer pNext(VkPipelineRasterizationStateRasterizationOrderAMD value) Prepends the specifiedVkPipelineRasterizationStateRasterizationOrderAMD
value to thepNext
chain. -
pNext
public VkPipelineRasterizationStateCreateInfo.Buffer pNext(VkPipelineRasterizationStateStreamCreateInfoEXT value) Prepends the specifiedVkPipelineRasterizationStateStreamCreateInfoEXT
value to thepNext
chain. -
flags
Sets the specified value to theflags
field. -
depthClampEnable
Sets the specified value to thedepthClampEnable
field. -
rasterizerDiscardEnable
Sets the specified value to therasterizerDiscardEnable
field. -
polygonMode
Sets the specified value to thepolygonMode
field. -
cullMode
Sets the specified value to thecullMode
field. -
frontFace
Sets the specified value to thefrontFace
field. -
depthBiasEnable
Sets the specified value to thedepthBiasEnable
field. -
depthBiasConstantFactor
Sets the specified value to thedepthBiasConstantFactor
field. -
depthBiasClamp
Sets the specified value to thedepthBiasClamp
field. -
depthBiasSlopeFactor
Sets the specified value to thedepthBiasSlopeFactor
field. -
lineWidth
Sets the specified value to thelineWidth
field.
-