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:
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
ConstructorDescriptionBuffer
(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 theVkPipelineRasterizationStateCreateInfo.cullMode()
field.float
depthBiasClamp
(float value) Sets the specified value to theVkPipelineRasterizationStateCreateInfo.depthBiasClamp()
field.float
depthBiasConstantFactor
(float value) Sets the specified value to theVkPipelineRasterizationStateCreateInfo.depthBiasConstantFactor()
field.boolean
depthBiasEnable
(boolean value) Sets the specified value to theVkPipelineRasterizationStateCreateInfo.depthBiasEnable()
field.float
depthBiasSlopeFactor
(float value) Sets the specified value to theVkPipelineRasterizationStateCreateInfo.depthBiasSlopeFactor()
field.boolean
depthClampEnable
(boolean value) Sets the specified value to theVkPipelineRasterizationStateCreateInfo.depthClampEnable()
field.int
flags()
flags
(int value) Sets the specified value to theVkPipelineRasterizationStateCreateInfo.flags()
field.int
frontFace
(int value) Sets the specified value to theVkPipelineRasterizationStateCreateInfo.frontFace()
field.float
lineWidth
(float value) Sets the specified value to theVkPipelineRasterizationStateCreateInfo.lineWidth()
field.long
pNext()
pNext
(long value) Sets the specified value to theVkPipelineRasterizationStateCreateInfo.pNext()
field.Prepends the specifiedVkDepthBiasRepresentationInfoEXT
value to thepNext
chain.Prepends the specifiedVkPipelineRasterizationConservativeStateCreateInfoEXT
value to thepNext
chain.Prepends the specifiedVkPipelineRasterizationDepthClipStateCreateInfoEXT
value to thepNext
chain.Prepends the specifiedVkPipelineRasterizationLineStateCreateInfoEXT
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 theVkPipelineRasterizationStateCreateInfo.polygonMode()
field.boolean
rasterizerDiscardEnable
(boolean value) Sets the specified value to theVkPipelineRasterizationStateCreateInfo.rasterizerDiscardEnable()
field.int
sType()
sType
(int value) Sets the specified value to theVkPipelineRasterizationStateCreateInfo.sType()
field.Sets theSTRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO
value to theVkPipelineRasterizationStateCreateInfo.sType()
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
VkPipelineRasterizationStateCreateInfo.sType()
field.
-
pNext
public long pNext()- Returns:
- the value of the
VkPipelineRasterizationStateCreateInfo.pNext()
field.
-
flags
public int flags()- Returns:
- the value of the
VkPipelineRasterizationStateCreateInfo.flags()
field.
-
depthClampEnable
public boolean depthClampEnable()- Returns:
- the value of the
VkPipelineRasterizationStateCreateInfo.depthClampEnable()
field.
-
rasterizerDiscardEnable
public boolean rasterizerDiscardEnable()- Returns:
- the value of the
VkPipelineRasterizationStateCreateInfo.rasterizerDiscardEnable()
field.
-
polygonMode
public int polygonMode()- Returns:
- the value of the
VkPipelineRasterizationStateCreateInfo.polygonMode()
field.
-
cullMode
public int cullMode()- Returns:
- the value of the
VkPipelineRasterizationStateCreateInfo.cullMode()
field.
-
frontFace
public int frontFace()- Returns:
- the value of the
VkPipelineRasterizationStateCreateInfo.frontFace()
field.
-
depthBiasEnable
public boolean depthBiasEnable()- Returns:
- the value of the
VkPipelineRasterizationStateCreateInfo.depthBiasEnable()
field.
-
depthBiasConstantFactor
public float depthBiasConstantFactor()- Returns:
- the value of the
VkPipelineRasterizationStateCreateInfo.depthBiasConstantFactor()
field.
-
depthBiasClamp
public float depthBiasClamp()- Returns:
- the value of the
VkPipelineRasterizationStateCreateInfo.depthBiasClamp()
field.
-
depthBiasSlopeFactor
public float depthBiasSlopeFactor()- Returns:
- the value of the
VkPipelineRasterizationStateCreateInfo.depthBiasSlopeFactor()
field.
-
lineWidth
public float lineWidth()- Returns:
- the value of the
VkPipelineRasterizationStateCreateInfo.lineWidth()
field.
-
sType
Sets the specified value to theVkPipelineRasterizationStateCreateInfo.sType()
field. -
sType$Default
Sets theSTRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO
value to theVkPipelineRasterizationStateCreateInfo.sType()
field. -
pNext
Sets the specified value to theVkPipelineRasterizationStateCreateInfo.pNext()
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(VkPipelineRasterizationLineStateCreateInfoEXT value) Prepends the specifiedVkPipelineRasterizationLineStateCreateInfoEXT
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 theVkPipelineRasterizationStateCreateInfo.flags()
field. -
depthClampEnable
Sets the specified value to theVkPipelineRasterizationStateCreateInfo.depthClampEnable()
field. -
rasterizerDiscardEnable
Sets the specified value to theVkPipelineRasterizationStateCreateInfo.rasterizerDiscardEnable()
field. -
polygonMode
Sets the specified value to theVkPipelineRasterizationStateCreateInfo.polygonMode()
field. -
cullMode
Sets the specified value to theVkPipelineRasterizationStateCreateInfo.cullMode()
field. -
frontFace
Sets the specified value to theVkPipelineRasterizationStateCreateInfo.frontFace()
field. -
depthBiasEnable
Sets the specified value to theVkPipelineRasterizationStateCreateInfo.depthBiasEnable()
field. -
depthBiasConstantFactor
Sets the specified value to theVkPipelineRasterizationStateCreateInfo.depthBiasConstantFactor()
field. -
depthBiasClamp
Sets the specified value to theVkPipelineRasterizationStateCreateInfo.depthBiasClamp()
field. -
depthBiasSlopeFactor
Sets the specified value to theVkPipelineRasterizationStateCreateInfo.depthBiasSlopeFactor()
field. -
lineWidth
Sets the specified value to theVkPipelineRasterizationStateCreateInfo.lineWidth()
field.
-