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.Member documentation
sType– the type of this structure.pNext–NULLor a pointer to an extension-specific structure.rasterizationOrder– aVkRasterizationOrderAMDvalue specifying the primitive rasterization order to use.
Layout
struct VkPipelineRasterizationStateRasterizationOrderAMD { VkStructureType sType; void const * pNext; VkRasterizationOrderAMD rasterizationOrder; }
-
-
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 Modifier and Type Method Description static VkPipelineRasterizationStateRasterizationOrderAMDcalloc()Returns a newVkPipelineRasterizationStateRasterizationOrderAMDinstance allocated withmemCalloc.static VkPipelineRasterizationStateRasterizationOrderAMD.Buffercalloc(int capacity)Returns a newVkPipelineRasterizationStateRasterizationOrderAMD.Bufferinstance allocated withmemCalloc.static VkPipelineRasterizationStateRasterizationOrderAMDcallocStack()Returns a newVkPipelineRasterizationStateRasterizationOrderAMDinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPipelineRasterizationStateRasterizationOrderAMD.BuffercallocStack(int capacity)Returns a newVkPipelineRasterizationStateRasterizationOrderAMD.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPipelineRasterizationStateRasterizationOrderAMD.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineRasterizationStateRasterizationOrderAMD.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPipelineRasterizationStateRasterizationOrderAMDcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineRasterizationStateRasterizationOrderAMDinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.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 VkPipelineRasterizationStateRasterizationOrderAMDmallocStack()Returns a newVkPipelineRasterizationStateRasterizationOrderAMDinstance allocated on the thread-localMemoryStack.static VkPipelineRasterizationStateRasterizationOrderAMD.BuffermallocStack(int capacity)Returns a newVkPipelineRasterizationStateRasterizationOrderAMD.Bufferinstance allocated on the thread-localMemoryStack.static VkPipelineRasterizationStateRasterizationOrderAMD.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineRasterizationStateRasterizationOrderAMD.Bufferinstance allocated on the specifiedMemoryStack.static VkPipelineRasterizationStateRasterizationOrderAMDmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineRasterizationStateRasterizationOrderAMDinstance allocated on the specifiedMemoryStack.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()Returns the value of thepNextfield.VkPipelineRasterizationStateRasterizationOrderAMDpNext(long value)Sets the specified value to thepNextfield.intrasterizationOrder()Returns the value of therasterizationOrderfield.VkPipelineRasterizationStateRasterizationOrderAMDrasterizationOrder(int value)Sets the specified value to therasterizationOrderfield.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()Returns the value of thesTypefield.VkPipelineRasterizationStateRasterizationOrderAMDsType(int value)Sets the specified value to thesTypefield.
-
-
-
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()
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.
-
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
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(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineRasterizationStateRasterizationOrderAMDinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkPipelineRasterizationStateRasterizationOrderAMD callocStack(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
-
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, org.lwjgl.system.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, 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.
-
-