public class VkPipelineRasterizationStateRasterizationOrderAMD
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMDrasterizationOrder must be a valid VkRasterizationOrderAMD valueIf the VK_AMD_rasterization_order device extension is not enabled or the application does not request a particular rasterization order through specifying a VkPipelineRasterizationStateRasterizationOrderAMD structure then the rasterization order used by the graphics pipeline defaults to RASTERIZATION_ORDER_STRICT_AMD.
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.rasterizationOrder – a VkRasterizationOrderAMD value specifying the primitive rasterization order to use.
struct VkPipelineRasterizationStateRasterizationOrderAMD {
VkStructureType sType;
void const * pNext;
VkRasterizationOrderAMD rasterizationOrder;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPipelineRasterizationStateRasterizationOrderAMD.Buffer
An array of
VkPipelineRasterizationStateRasterizationOrderAMD structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PNEXT
The struct member offsets.
|
static int |
RASTERIZATIONORDER
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPipelineRasterizationStateRasterizationOrderAMD(java.nio.ByteBuffer container)
Creates a
VkPipelineRasterizationStateRasterizationOrderAMD instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPipelineRasterizationStateRasterizationOrderAMD |
calloc()
Returns a new
VkPipelineRasterizationStateRasterizationOrderAMD instance allocated with memCalloc. |
static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer |
calloc(int capacity)
Returns a new
VkPipelineRasterizationStateRasterizationOrderAMD.Buffer instance allocated with memCalloc. |
static VkPipelineRasterizationStateRasterizationOrderAMD |
callocStack()
Returns a new
VkPipelineRasterizationStateRasterizationOrderAMD instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer |
callocStack(int capacity)
Returns a new
VkPipelineRasterizationStateRasterizationOrderAMD.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineRasterizationStateRasterizationOrderAMD.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineRasterizationStateRasterizationOrderAMD |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineRasterizationStateRasterizationOrderAMD instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineRasterizationStateRasterizationOrderAMD |
create()
Returns a new
VkPipelineRasterizationStateRasterizationOrderAMD instance allocated with BufferUtils. |
static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer |
create(int capacity)
Returns a new
VkPipelineRasterizationStateRasterizationOrderAMD.Buffer instance allocated with BufferUtils. |
static VkPipelineRasterizationStateRasterizationOrderAMD |
create(long address)
Returns a new
VkPipelineRasterizationStateRasterizationOrderAMD instance for the specified memory address. |
static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer |
create(long address,
int capacity)
Create a
VkPipelineRasterizationStateRasterizationOrderAMD.Buffer instance at the specified memory. |
static VkPipelineRasterizationStateRasterizationOrderAMD |
createSafe(long address)
|
static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer |
createSafe(long address,
int capacity)
|
static VkPipelineRasterizationStateRasterizationOrderAMD |
malloc()
Returns a new
VkPipelineRasterizationStateRasterizationOrderAMD instance allocated with memAlloc. |
static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer |
malloc(int capacity)
Returns a new
VkPipelineRasterizationStateRasterizationOrderAMD.Buffer instance allocated with memAlloc. |
static VkPipelineRasterizationStateRasterizationOrderAMD |
mallocStack()
Returns a new
VkPipelineRasterizationStateRasterizationOrderAMD instance allocated on the thread-local MemoryStack. |
static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer |
mallocStack(int capacity)
Returns a new
VkPipelineRasterizationStateRasterizationOrderAMD.Buffer instance allocated on the thread-local MemoryStack. |
static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineRasterizationStateRasterizationOrderAMD.Buffer instance allocated on the specified MemoryStack. |
static VkPipelineRasterizationStateRasterizationOrderAMD |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineRasterizationStateRasterizationOrderAMD instance allocated on the specified MemoryStack. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nrasterizationOrder(long struct)
Unsafe version of
rasterizationOrder(). |
static void |
nrasterizationOrder(long struct,
int value)
Unsafe version of
rasterizationOrder. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkPipelineRasterizationStateRasterizationOrderAMD |
pNext(long value)
Sets the specified value to the
pNext field. |
int |
rasterizationOrder()
Returns the value of the
rasterizationOrder field. |
VkPipelineRasterizationStateRasterizationOrderAMD |
rasterizationOrder(int value)
Sets the specified value to the
rasterizationOrder field. |
VkPipelineRasterizationStateRasterizationOrderAMD |
set(int sType,
long pNext,
int rasterizationOrder)
Initializes this struct with the specified values.
|
VkPipelineRasterizationStateRasterizationOrderAMD |
set(VkPipelineRasterizationStateRasterizationOrderAMD src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPipelineRasterizationStateRasterizationOrderAMD |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int RASTERIZATIONORDER
public VkPipelineRasterizationStateRasterizationOrderAMD(java.nio.ByteBuffer container)
VkPipelineRasterizationStateRasterizationOrderAMD instance at the current position of the specified ByteBuffer container. 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public int rasterizationOrder()
rasterizationOrder field.public VkPipelineRasterizationStateRasterizationOrderAMD sType(int value)
sType field.public VkPipelineRasterizationStateRasterizationOrderAMD pNext(long value)
pNext field.public VkPipelineRasterizationStateRasterizationOrderAMD rasterizationOrder(int value)
rasterizationOrder field.public VkPipelineRasterizationStateRasterizationOrderAMD set(int sType, long pNext, int rasterizationOrder)
public VkPipelineRasterizationStateRasterizationOrderAMD set(VkPipelineRasterizationStateRasterizationOrderAMD src)
src - the source structpublic static VkPipelineRasterizationStateRasterizationOrderAMD malloc()
VkPipelineRasterizationStateRasterizationOrderAMD instance allocated with memAlloc. The instance must be explicitly freed.public static VkPipelineRasterizationStateRasterizationOrderAMD calloc()
VkPipelineRasterizationStateRasterizationOrderAMD instance allocated with memCalloc. The instance must be explicitly freed.public static VkPipelineRasterizationStateRasterizationOrderAMD create()
VkPipelineRasterizationStateRasterizationOrderAMD instance allocated with BufferUtils.public static VkPipelineRasterizationStateRasterizationOrderAMD create(long address)
VkPipelineRasterizationStateRasterizationOrderAMD instance for the specified memory address.@Nullable public static VkPipelineRasterizationStateRasterizationOrderAMD createSafe(long address)
public static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer malloc(int capacity)
VkPipelineRasterizationStateRasterizationOrderAMD.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer calloc(int capacity)
VkPipelineRasterizationStateRasterizationOrderAMD.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer create(int capacity)
VkPipelineRasterizationStateRasterizationOrderAMD.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer create(long address, int capacity)
VkPipelineRasterizationStateRasterizationOrderAMD.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer createSafe(long address, int capacity)
public static VkPipelineRasterizationStateRasterizationOrderAMD mallocStack()
VkPipelineRasterizationStateRasterizationOrderAMD instance allocated on the thread-local MemoryStack.public static VkPipelineRasterizationStateRasterizationOrderAMD callocStack()
VkPipelineRasterizationStateRasterizationOrderAMD instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPipelineRasterizationStateRasterizationOrderAMD mallocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineRasterizationStateRasterizationOrderAMD instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPipelineRasterizationStateRasterizationOrderAMD callocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineRasterizationStateRasterizationOrderAMD instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer mallocStack(int capacity)
VkPipelineRasterizationStateRasterizationOrderAMD.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer callocStack(int capacity)
VkPipelineRasterizationStateRasterizationOrderAMD.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineRasterizationStateRasterizationOrderAMD.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineRasterizationStateRasterizationOrderAMD.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int nrasterizationOrder(long struct)
rasterizationOrder().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nrasterizationOrder(long struct,
int value)
rasterizationOrder.Copyright LWJGL. All Rights Reserved. License terms.