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,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPipelineRasterizationStateRasterizationOrderAMD extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure defining rasterization order for a graphics pipeline.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMDrasterizationOrdermust be a validVkRasterizationOrderAMDvalue
If the
VK_AMD_rasterization_orderdevice extension is not enabled or the application does not request a particular rasterization order through specifying aVkPipelineRasterizationStateRasterizationOrderAMDstructure then the rasterization order used by the graphics pipeline defaults toRASTERIZATION_ORDER_STRICT_AMD.Layout
struct VkPipelineRasterizationStateRasterizationOrderAMD { VkStructureTypesType(); void const *pNext(); VkRasterizationOrderAMDrasterizationOrder(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPipelineRasterizationStateRasterizationOrderAMD.BufferAn array ofVkPipelineRasterizationStateRasterizationOrderAMDstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intPNEXT
RASTERIZATIONORDERThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPipelineRasterizationStateRasterizationOrderAMD(java.nio.ByteBuffer container)Creates aVkPipelineRasterizationStateRasterizationOrderAMDinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static VkPipelineRasterizationStateRasterizationOrderAMDcalloc()Returns a newVkPipelineRasterizationStateRasterizationOrderAMDinstance allocated withmemCalloc.static VkPipelineRasterizationStateRasterizationOrderAMD.Buffercalloc(int capacity)Returns a newVkPipelineRasterizationStateRasterizationOrderAMD.Bufferinstance allocated withmemCalloc.static VkPipelineRasterizationStateRasterizationOrderAMD.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineRasterizationStateRasterizationOrderAMD.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPipelineRasterizationStateRasterizationOrderAMDcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineRasterizationStateRasterizationOrderAMDinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPipelineRasterizationStateRasterizationOrderAMDcallocStack()Deprecated.static VkPipelineRasterizationStateRasterizationOrderAMD.BuffercallocStack(int capacity)Deprecated.static VkPipelineRasterizationStateRasterizationOrderAMD.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPipelineRasterizationStateRasterizationOrderAMDcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkPipelineRasterizationStateRasterizationOrderAMDcreate()Returns a newVkPipelineRasterizationStateRasterizationOrderAMDinstance allocated withBufferUtils.static VkPipelineRasterizationStateRasterizationOrderAMD.Buffercreate(int capacity)Returns a newVkPipelineRasterizationStateRasterizationOrderAMD.Bufferinstance allocated withBufferUtils.static VkPipelineRasterizationStateRasterizationOrderAMDcreate(long address)Returns a newVkPipelineRasterizationStateRasterizationOrderAMDinstance for the specified memory address.static VkPipelineRasterizationStateRasterizationOrderAMD.Buffercreate(long address, int capacity)Create aVkPipelineRasterizationStateRasterizationOrderAMD.Bufferinstance at the specified memory.static VkPipelineRasterizationStateRasterizationOrderAMDcreateSafe(long address)static VkPipelineRasterizationStateRasterizationOrderAMD.BuffercreateSafe(long address, int capacity)static VkPipelineRasterizationStateRasterizationOrderAMDmalloc()Returns a newVkPipelineRasterizationStateRasterizationOrderAMDinstance allocated withmemAlloc.static VkPipelineRasterizationStateRasterizationOrderAMD.Buffermalloc(int capacity)Returns a newVkPipelineRasterizationStateRasterizationOrderAMD.Bufferinstance allocated withmemAlloc.static VkPipelineRasterizationStateRasterizationOrderAMD.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineRasterizationStateRasterizationOrderAMD.Bufferinstance allocated on the specifiedMemoryStack.static VkPipelineRasterizationStateRasterizationOrderAMDmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineRasterizationStateRasterizationOrderAMDinstance allocated on the specifiedMemoryStack.static VkPipelineRasterizationStateRasterizationOrderAMDmallocStack()Deprecated.static VkPipelineRasterizationStateRasterizationOrderAMD.BuffermallocStack(int capacity)Deprecated.static VkPipelineRasterizationStateRasterizationOrderAMD.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPipelineRasterizationStateRasterizationOrderAMDmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnrasterizationOrder(long struct)Unsafe version ofrasterizationOrder().static voidnrasterizationOrder(long struct, int value)Unsafe version ofrasterizationOrder.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()NULLor a pointer to a structure extending this structure.VkPipelineRasterizationStateRasterizationOrderAMDpNext(long value)Sets the specified value to thepNext()field.intrasterizationOrder()aVkRasterizationOrderAMDvalue specifying the primitive rasterization order to use.VkPipelineRasterizationStateRasterizationOrderAMDrasterizationOrder(int value)Sets the specified value to therasterizationOrder()field.VkPipelineRasterizationStateRasterizationOrderAMDset(int sType, long pNext, int rasterizationOrder)Initializes this struct with the specified values.VkPipelineRasterizationStateRasterizationOrderAMDset(VkPipelineRasterizationStateRasterizationOrderAMD src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPipelineRasterizationStateRasterizationOrderAMDsType(int value)Sets the specified value to thesType()field.VkPipelineRasterizationStateRasterizationOrderAMDsType$Default()Sets theSTRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMDvalue to thesType()field.
-
-
-
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()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
rasterizationOrder
public int rasterizationOrder()
aVkRasterizationOrderAMDvalue specifying the primitive rasterization order to use.
-
sType
public VkPipelineRasterizationStateRasterizationOrderAMD sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPipelineRasterizationStateRasterizationOrderAMD sType$Default()
Sets theSTRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMDvalue to thesType()field.
-
pNext
public VkPipelineRasterizationStateRasterizationOrderAMD pNext(long value)
Sets the specified value to thepNext()field.
-
rasterizationOrder
public VkPipelineRasterizationStateRasterizationOrderAMD rasterizationOrder(int value)
Sets the specified value to therasterizationOrder()field.
-
set
public VkPipelineRasterizationStateRasterizationOrderAMD set(int sType, long pNext, int rasterizationOrder)
Initializes this struct with the specified values.
-
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.
-
createSafe
@Nullable public static VkPipelineRasterizationStateRasterizationOrderAMD createSafe(long address)
-
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
-
createSafe
@Nullable public static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkPipelineRasterizationStateRasterizationOrderAMD mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineRasterizationStateRasterizationOrderAMD callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPipelineRasterizationStateRasterizationOrderAMD mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineRasterizationStateRasterizationOrderAMD callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkPipelineRasterizationStateRasterizationOrderAMD malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineRasterizationStateRasterizationOrderAMDinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPipelineRasterizationStateRasterizationOrderAMD calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineRasterizationStateRasterizationOrderAMDinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineRasterizationStateRasterizationOrderAMD.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPipelineRasterizationStateRasterizationOrderAMD.Buffer calloc(int capacity, org.lwjgl.system.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
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
nrasterizationOrder
public static int nrasterizationOrder(long struct)
Unsafe version ofrasterizationOrder().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nrasterizationOrder
public static void nrasterizationOrder(long struct, int value)Unsafe version ofrasterizationOrder.
-
-