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>,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 of
VkPipelineRasterizationStateCreateInfo structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.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 theVkPipelineRasterizationStateCreateInfo.cullMode()field.floatdepthBiasClamp(float value) Sets the specified value to theVkPipelineRasterizationStateCreateInfo.depthBiasClamp()field.floatdepthBiasConstantFactor(float value) Sets the specified value to theVkPipelineRasterizationStateCreateInfo.depthBiasConstantFactor()field.booleandepthBiasEnable(boolean value) Sets the specified value to theVkPipelineRasterizationStateCreateInfo.depthBiasEnable()field.floatdepthBiasSlopeFactor(float value) Sets the specified value to theVkPipelineRasterizationStateCreateInfo.depthBiasSlopeFactor()field.booleandepthClampEnable(boolean value) Sets the specified value to theVkPipelineRasterizationStateCreateInfo.depthClampEnable()field.intflags()flags(int value) Sets the specified value to theVkPipelineRasterizationStateCreateInfo.flags()field.intfrontFace(int value) Sets the specified value to theVkPipelineRasterizationStateCreateInfo.frontFace()field.floatlineWidth(float value) Sets the specified value to theVkPipelineRasterizationStateCreateInfo.lineWidth()field.longpNext()pNext(long value) Sets the specified value to theVkPipelineRasterizationStateCreateInfo.pNext()field.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 theVkPipelineRasterizationStateCreateInfo.polygonMode()field.booleanrasterizerDiscardEnable(boolean value) Sets the specified value to theVkPipelineRasterizationStateCreateInfo.rasterizerDiscardEnable()field.intsType()sType(int value) Sets the specified value to theVkPipelineRasterizationStateCreateInfo.sType()field.Sets theSTRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFOvalue 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, 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
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_INFOvalue to theVkPipelineRasterizationStateCreateInfo.sType()field. -
pNext
Sets the specified value to theVkPipelineRasterizationStateCreateInfo.pNext()field. -
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 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.
-