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.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionintcullMode()cullMode(int value) Sets the specified value to thecullModefield.floatdepthBiasClamp(float value) Sets the specified value to thedepthBiasClampfield.floatdepthBiasConstantFactor(float value) Sets the specified value to thedepthBiasConstantFactorfield.booleandepthBiasEnable(boolean value) Sets the specified value to thedepthBiasEnablefield.floatdepthBiasSlopeFactor(float value) Sets the specified value to thedepthBiasSlopeFactorfield.booleandepthClampEnable(boolean value) Sets the specified value to thedepthClampEnablefield.intflags()flags(int value) Sets the specified value to theflagsfield.intfrontFace(int value) Sets the specified value to thefrontFacefield.floatlineWidth(float value) Sets the specified value to thelineWidthfield.longpNext()pNext(long value) Sets the specified value to thepNextfield.Prepends the specifiedVkDepthBiasRepresentationInfoEXTvalue to thepNextchain.Prepends the specifiedVkPipelineRasterizationConservativeStateCreateInfoEXTvalue to thepNextchain.Prepends the specifiedVkPipelineRasterizationDepthClipStateCreateInfoEXTvalue to thepNextchain.Prepends the specifiedVkPipelineRasterizationLineStateCreateInfovalue to thepNextchain.Prepends the specifiedVkPipelineRasterizationLineStateCreateInfoEXTvalue to thepNextchain.Prepends the specifiedVkPipelineRasterizationLineStateCreateInfoKHRvalue to thepNextchain.Prepends the specifiedVkPipelineRasterizationProvokingVertexStateCreateInfoEXTvalue to thepNextchain.Prepends the specifiedVkPipelineRasterizationStateRasterizationOrderAMDvalue to thepNextchain.Prepends the specifiedVkPipelineRasterizationStateStreamCreateInfoEXTvalue to thepNextchain.intpolygonMode(int value) Sets the specified value to thepolygonModefield.booleanrasterizerDiscardEnable(boolean value) Sets the specified value to therasterizerDiscardEnablefield.intsType()sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFOvalue to thesTypefield.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods 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, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
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 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
sTypefield.
-
pNext
public long pNext()- Returns:
- the value of the
pNextfield.
-
flags
public int flags()- Returns:
- the value of the
flagsfield.
-
depthClampEnable
public boolean depthClampEnable()- Returns:
- the value of the
depthClampEnablefield.
-
rasterizerDiscardEnable
public boolean rasterizerDiscardEnable()- Returns:
- the value of the
rasterizerDiscardEnablefield.
-
polygonMode
public int polygonMode()- Returns:
- the value of the
polygonModefield.
-
cullMode
public int cullMode()- Returns:
- the value of the
cullModefield.
-
frontFace
public int frontFace()- Returns:
- the value of the
frontFacefield.
-
depthBiasEnable
public boolean depthBiasEnable()- Returns:
- the value of the
depthBiasEnablefield.
-
depthBiasConstantFactor
public float depthBiasConstantFactor()- Returns:
- the value of the
depthBiasConstantFactorfield.
-
depthBiasClamp
public float depthBiasClamp()- Returns:
- the value of the
depthBiasClampfield.
-
depthBiasSlopeFactor
public float depthBiasSlopeFactor()- Returns:
- the value of the
depthBiasSlopeFactorfield.
-
lineWidth
public float lineWidth()- Returns:
- the value of the
lineWidthfield.
-
sType
Sets the specified value to thesTypefield. -
sType$Default
Sets theSTRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFOvalue to thesTypefield. -
pNext
Sets the specified value to thepNextfield. -
pNext
Prepends the specifiedVkDepthBiasRepresentationInfoEXTvalue to thepNextchain. -
pNext
public VkPipelineRasterizationStateCreateInfo.Buffer pNext(VkPipelineRasterizationConservativeStateCreateInfoEXT value) Prepends the specifiedVkPipelineRasterizationConservativeStateCreateInfoEXTvalue to thepNextchain. -
pNext
public VkPipelineRasterizationStateCreateInfo.Buffer pNext(VkPipelineRasterizationDepthClipStateCreateInfoEXT value) Prepends the specifiedVkPipelineRasterizationDepthClipStateCreateInfoEXTvalue to thepNextchain. -
pNext
public VkPipelineRasterizationStateCreateInfo.Buffer pNext(VkPipelineRasterizationLineStateCreateInfo value) Prepends the specifiedVkPipelineRasterizationLineStateCreateInfovalue to thepNextchain. -
pNext
public VkPipelineRasterizationStateCreateInfo.Buffer pNext(VkPipelineRasterizationLineStateCreateInfoEXT value) Prepends the specifiedVkPipelineRasterizationLineStateCreateInfoEXTvalue to thepNextchain. -
pNext
public VkPipelineRasterizationStateCreateInfo.Buffer pNext(VkPipelineRasterizationLineStateCreateInfoKHR value) Prepends the specifiedVkPipelineRasterizationLineStateCreateInfoKHRvalue to thepNextchain. -
pNext
public VkPipelineRasterizationStateCreateInfo.Buffer pNext(VkPipelineRasterizationProvokingVertexStateCreateInfoEXT value) Prepends the specifiedVkPipelineRasterizationProvokingVertexStateCreateInfoEXTvalue to thepNextchain. -
pNext
public VkPipelineRasterizationStateCreateInfo.Buffer pNext(VkPipelineRasterizationStateRasterizationOrderAMD value) Prepends the specifiedVkPipelineRasterizationStateRasterizationOrderAMDvalue to thepNextchain. -
pNext
public VkPipelineRasterizationStateCreateInfo.Buffer pNext(VkPipelineRasterizationStateStreamCreateInfoEXT value) Prepends the specifiedVkPipelineRasterizationStateStreamCreateInfoEXTvalue to thepNextchain. -
flags
Sets the specified value to theflagsfield. -
depthClampEnable
Sets the specified value to thedepthClampEnablefield. -
rasterizerDiscardEnable
Sets the specified value to therasterizerDiscardEnablefield. -
polygonMode
Sets the specified value to thepolygonModefield. -
cullMode
Sets the specified value to thecullModefield. -
frontFace
Sets the specified value to thefrontFacefield. -
depthBiasEnable
Sets the specified value to thedepthBiasEnablefield. -
depthBiasConstantFactor
Sets the specified value to thedepthBiasConstantFactorfield. -
depthBiasClamp
Sets the specified value to thedepthBiasClampfield. -
depthBiasSlopeFactor
Sets the specified value to thedepthBiasSlopeFactorfield. -
lineWidth
Sets the specified value to thelineWidthfield.
-