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 Pointer
Pointer.Default -
Field Summary
Fields inherited from interface 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 StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class 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 Pointer.Default
equals, hashCodeMethods inherited from interface 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
- Returns:
- the value of the
sTypefield.
-
pNext
- Returns:
- the value of the
pNextfield.
-
flags
- Returns:
- the value of the
flagsfield.
-
depthClampEnable
- Returns:
- the value of the
depthClampEnablefield.
-
rasterizerDiscardEnable
- Returns:
- the value of the
rasterizerDiscardEnablefield.
-
polygonMode
- Returns:
- the value of the
polygonModefield.
-
cullMode
- Returns:
- the value of the
cullModefield.
-
frontFace
- Returns:
- the value of the
frontFacefield.
-
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
public VkPipelineRasterizationStateCreateInfo.Buffer sType(@NativeType("VkStructureType") int value) 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
public VkPipelineRasterizationStateCreateInfo.Buffer flags(@NativeType("VkPipelineRasterizationStateCreateFlags") int value) Sets the specified value to theflagsfield. -
depthClampEnable
public VkPipelineRasterizationStateCreateInfo.Buffer depthClampEnable(@NativeType("VkBool32") boolean value) Sets the specified value to thedepthClampEnablefield. -
rasterizerDiscardEnable
public VkPipelineRasterizationStateCreateInfo.Buffer rasterizerDiscardEnable(@NativeType("VkBool32") boolean value) Sets the specified value to therasterizerDiscardEnablefield. -
polygonMode
public VkPipelineRasterizationStateCreateInfo.Buffer polygonMode(@NativeType("VkPolygonMode") int value) Sets the specified value to thepolygonModefield. -
cullMode
public VkPipelineRasterizationStateCreateInfo.Buffer cullMode(@NativeType("VkCullModeFlags") int value) Sets the specified value to thecullModefield. -
frontFace
public VkPipelineRasterizationStateCreateInfo.Buffer frontFace(@NativeType("VkFrontFace") int value) Sets the specified value to thefrontFacefield. -
depthBiasEnable
public VkPipelineRasterizationStateCreateInfo.Buffer depthBiasEnable(@NativeType("VkBool32") boolean value) 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.
-