Package org.lwjgl.vulkan
Class VkPipelineRasterizationStateRasterizationOrderAMD
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPipelineRasterizationStateRasterizationOrderAMD
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, NativeResource, Pointer
public class VkPipelineRasterizationStateRasterizationOrderAMD extends Struct
When theVK_AMD_rasterization_orderdevice extension is enabled the application can also chain aVkPipelineRasterizationStateRasterizationOrderAMDstructure to theVkPipelineRasterizationStateCreateInfostructure through itspNextmember. This structure enables selecting the rasterization order to use when rendering with the corresponding graphics pipeline.Member documentation
sType– the type of this structure. Must be:STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMDpNext– reserved for use by extensionsrasterizationOrder– the primitive rasterization order to use. One of:RASTERIZATION_ORDER_RELAXED_AMDRASTERIZATION_ORDER_STRICT_AMD
Layout
struct VkPipelineRasterizationStateRasterizationOrderAMD { VkStructureType sType; const void * pNext; VkRasterizationOrderAMD rasterizationOrder; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classVkPipelineRasterizationStateRasterizationOrderAMD.BufferAn array ofVkPipelineRasterizationStateRasterizationOrderAMDstructs.-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
Fields Modifier and Type Field and Description static intSIZEOFThe struct size in bytes.-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Constructor Summary
Constructors Constructor and Description VkPipelineRasterizationStateRasterizationOrderAMD(java.nio.ByteBuffer container)Creates aVkPipelineRasterizationStateRasterizationOrderAMDinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
-
Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
-
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
-
-
-
Constructor Detail
-
VkPipelineRasterizationStateRasterizationOrderAMD
public VkPipelineRasterizationStateRasterizationOrderAMD(java.nio.ByteBuffer container)
Creates aVkPipelineRasterizationStateRasterizationOrderAMDinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Detail
-
sizeof
public int sizeof()
Description copied from class:StructReturns thesizeof(struct).
-
sType
public int sType()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
rasterizationOrder
public int rasterizationOrder()
Returns the value of therasterizationOrderfield.
-
sType
public VkPipelineRasterizationStateRasterizationOrderAMD sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkPipelineRasterizationStateRasterizationOrderAMD pNext(long value)
Sets the specified value to thepNextfield.
-
rasterizationOrder
public VkPipelineRasterizationStateRasterizationOrderAMD rasterizationOrder(int value)
Sets the specified value to therasterizationOrderfield.
-
set
public VkPipelineRasterizationStateRasterizationOrderAMD set(int sType, long pNext, int rasterizationOrder)
Initializes this struct with the specified values.
-
nset
public VkPipelineRasterizationStateRasterizationOrderAMD nset(long struct)
Unsafe version ofset.
-
set
public VkPipelineRasterizationStateRasterizationOrderAMD set(VkPipelineRasterizationStateRasterizationOrderAMD src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPipelineRasterizationStateRasterizationOrderAMD malloc()
Returns a newVkPipelineRasterizationStateRasterizationOrderAMDinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPipelineRasterizationStateRasterizationOrderAMD calloc()
Returns a newVkPipelineRasterizationStateRasterizationOrderAMDinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPipelineRasterizationStateRasterizationOrderAMD create()
Returns a newVkPipelineRasterizationStateRasterizationOrderAMDinstance allocated withBufferUtils.
-
create
public static VkPipelineRasterizationStateRasterizationOrderAMD create(long address)
Returns a newVkPipelineRasterizationStateRasterizationOrderAMDinstance for the specified memory address ornullif the address isNULL.
-
malloc
public static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer malloc(int capacity)
Returns a newVkPipelineRasterizationStateRasterizationOrderAMD.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer calloc(int capacity)
Returns a newVkPipelineRasterizationStateRasterizationOrderAMD.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer create(int capacity)
Returns a newVkPipelineRasterizationStateRasterizationOrderAMD.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer create(long address, int capacity)
Create aVkPipelineRasterizationStateRasterizationOrderAMD.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
mallocStack
public static VkPipelineRasterizationStateRasterizationOrderAMD mallocStack()
Returns a newVkPipelineRasterizationStateRasterizationOrderAMDinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkPipelineRasterizationStateRasterizationOrderAMD callocStack()
Returns a newVkPipelineRasterizationStateRasterizationOrderAMDinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkPipelineRasterizationStateRasterizationOrderAMD mallocStack(MemoryStack stack)
Returns a newVkPipelineRasterizationStateRasterizationOrderAMDinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkPipelineRasterizationStateRasterizationOrderAMD callocStack(MemoryStack stack)
Returns a newVkPipelineRasterizationStateRasterizationOrderAMDinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer mallocStack(int capacity)
Returns a newVkPipelineRasterizationStateRasterizationOrderAMD.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer callocStack(int capacity)
Returns a newVkPipelineRasterizationStateRasterizationOrderAMD.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer mallocStack(int capacity, MemoryStack stack)
Returns a newVkPipelineRasterizationStateRasterizationOrderAMD.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer callocStack(int capacity, MemoryStack stack)
Returns a newVkPipelineRasterizationStateRasterizationOrderAMD.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-