public class VkPhysicalDeviceDiscardRectanglePropertiesEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceDiscardRectanglePropertiesEXT structure is included in the pNext chain of VkPhysicalDeviceProperties2, it is filled with the implementation-dependent limits.
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.maxDiscardRectangles – the maximum number of active discard rectangles that can be specified.
struct VkPhysicalDeviceDiscardRectanglePropertiesEXT {
VkStructureType sType;
void * pNext;
uint32_t maxDiscardRectangles;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer
An array of
VkPhysicalDeviceDiscardRectanglePropertiesEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
MAXDISCARDRECTANGLES
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceDiscardRectanglePropertiesEXT(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceDiscardRectanglePropertiesEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceDiscardRectanglePropertiesEXT |
calloc()
Returns a new
VkPhysicalDeviceDiscardRectanglePropertiesEXT instance allocated with memCalloc. |
static VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceDiscardRectanglePropertiesEXT |
callocStack()
Returns a new
VkPhysicalDeviceDiscardRectanglePropertiesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceDiscardRectanglePropertiesEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceDiscardRectanglePropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceDiscardRectanglePropertiesEXT |
create()
Returns a new
VkPhysicalDeviceDiscardRectanglePropertiesEXT instance allocated with BufferUtils. |
static VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceDiscardRectanglePropertiesEXT |
create(long address)
Returns a new
VkPhysicalDeviceDiscardRectanglePropertiesEXT instance for the specified memory address. |
static VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer instance at the specified memory. |
static VkPhysicalDeviceDiscardRectanglePropertiesEXT |
createSafe(long address)
|
static VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDeviceDiscardRectanglePropertiesEXT |
malloc()
Returns a new
VkPhysicalDeviceDiscardRectanglePropertiesEXT instance allocated with memAlloc. |
static VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceDiscardRectanglePropertiesEXT |
mallocStack()
Returns a new
VkPhysicalDeviceDiscardRectanglePropertiesEXT instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceDiscardRectanglePropertiesEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceDiscardRectanglePropertiesEXT instance allocated on the specified MemoryStack. |
int |
maxDiscardRectangles()
Returns the value of the
maxDiscardRectangles field. |
static int |
nmaxDiscardRectangles(long struct)
Unsafe version of
maxDiscardRectangles(). |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
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. |
VkPhysicalDeviceDiscardRectanglePropertiesEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceDiscardRectanglePropertiesEXT |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkPhysicalDeviceDiscardRectanglePropertiesEXT |
set(VkPhysicalDeviceDiscardRectanglePropertiesEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceDiscardRectanglePropertiesEXT |
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 MAXDISCARDRECTANGLES
public VkPhysicalDeviceDiscardRectanglePropertiesEXT(java.nio.ByteBuffer container)
VkPhysicalDeviceDiscardRectanglePropertiesEXT 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 maxDiscardRectangles()
maxDiscardRectangles field.public VkPhysicalDeviceDiscardRectanglePropertiesEXT sType(int value)
sType field.public VkPhysicalDeviceDiscardRectanglePropertiesEXT pNext(long value)
pNext field.public VkPhysicalDeviceDiscardRectanglePropertiesEXT set(int sType, long pNext)
public VkPhysicalDeviceDiscardRectanglePropertiesEXT set(VkPhysicalDeviceDiscardRectanglePropertiesEXT src)
src - the source structpublic static VkPhysicalDeviceDiscardRectanglePropertiesEXT malloc()
VkPhysicalDeviceDiscardRectanglePropertiesEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceDiscardRectanglePropertiesEXT calloc()
VkPhysicalDeviceDiscardRectanglePropertiesEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceDiscardRectanglePropertiesEXT create()
VkPhysicalDeviceDiscardRectanglePropertiesEXT instance allocated with BufferUtils.public static VkPhysicalDeviceDiscardRectanglePropertiesEXT create(long address)
VkPhysicalDeviceDiscardRectanglePropertiesEXT instance for the specified memory address.@Nullable public static VkPhysicalDeviceDiscardRectanglePropertiesEXT createSafe(long address)
public static VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer malloc(int capacity)
VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer calloc(int capacity)
VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer create(int capacity)
VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer create(long address, int capacity)
VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceDiscardRectanglePropertiesEXT mallocStack()
VkPhysicalDeviceDiscardRectanglePropertiesEXT instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceDiscardRectanglePropertiesEXT callocStack()
VkPhysicalDeviceDiscardRectanglePropertiesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceDiscardRectanglePropertiesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceDiscardRectanglePropertiesEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceDiscardRectanglePropertiesEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceDiscardRectanglePropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer mallocStack(int capacity)
VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer callocStack(int capacity)
VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceDiscardRectanglePropertiesEXT.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 nmaxDiscardRectangles(long struct)
maxDiscardRectangles().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.Copyright LWJGL. All Rights Reserved. License terms.