public class VkMultisamplePropertiesEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_MULTISAMPLE_PROPERTIES_EXTpNext must be NULLVkExtent2D, GetPhysicalDeviceMultisamplePropertiesEXT
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.maxSampleLocationGridSize – the maximum size of the pixel grid in which sample locations can vary.
struct VkMultisamplePropertiesEXT {
VkStructureType sType;
void * pNext;
VkExtent2D maxSampleLocationGridSize;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkMultisamplePropertiesEXT.Buffer
An array of
VkMultisamplePropertiesEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
MAXSAMPLELOCATIONGRIDSIZE
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 |
|---|
VkMultisamplePropertiesEXT(java.nio.ByteBuffer container)
Creates a
VkMultisamplePropertiesEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkMultisamplePropertiesEXT |
calloc()
Returns a new
VkMultisamplePropertiesEXT instance allocated with memCalloc. |
static VkMultisamplePropertiesEXT.Buffer |
calloc(int capacity)
Returns a new
VkMultisamplePropertiesEXT.Buffer instance allocated with memCalloc. |
static VkMultisamplePropertiesEXT |
callocStack()
Returns a new
VkMultisamplePropertiesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkMultisamplePropertiesEXT.Buffer |
callocStack(int capacity)
Returns a new
VkMultisamplePropertiesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkMultisamplePropertiesEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkMultisamplePropertiesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkMultisamplePropertiesEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkMultisamplePropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkMultisamplePropertiesEXT |
create()
Returns a new
VkMultisamplePropertiesEXT instance allocated with BufferUtils. |
static VkMultisamplePropertiesEXT.Buffer |
create(int capacity)
Returns a new
VkMultisamplePropertiesEXT.Buffer instance allocated with BufferUtils. |
static VkMultisamplePropertiesEXT |
create(long address)
Returns a new
VkMultisamplePropertiesEXT instance for the specified memory address. |
static VkMultisamplePropertiesEXT.Buffer |
create(long address,
int capacity)
Create a
VkMultisamplePropertiesEXT.Buffer instance at the specified memory. |
static VkMultisamplePropertiesEXT |
createSafe(long address)
|
static VkMultisamplePropertiesEXT.Buffer |
createSafe(long address,
int capacity)
|
static VkMultisamplePropertiesEXT |
malloc()
Returns a new
VkMultisamplePropertiesEXT instance allocated with memAlloc. |
static VkMultisamplePropertiesEXT.Buffer |
malloc(int capacity)
Returns a new
VkMultisamplePropertiesEXT.Buffer instance allocated with memAlloc. |
static VkMultisamplePropertiesEXT |
mallocStack()
Returns a new
VkMultisamplePropertiesEXT instance allocated on the thread-local MemoryStack. |
static VkMultisamplePropertiesEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkMultisamplePropertiesEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkMultisamplePropertiesEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkMultisamplePropertiesEXT.Buffer instance allocated on the specified MemoryStack. |
static VkMultisamplePropertiesEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkMultisamplePropertiesEXT instance allocated on the specified MemoryStack. |
VkExtent2D |
maxSampleLocationGridSize()
Returns a
VkExtent2D view of the maxSampleLocationGridSize field. |
static VkExtent2D |
nmaxSampleLocationGridSize(long struct)
Unsafe version of
maxSampleLocationGridSize(). |
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. |
VkMultisamplePropertiesEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkMultisamplePropertiesEXT |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkMultisamplePropertiesEXT |
set(VkMultisamplePropertiesEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkMultisamplePropertiesEXT |
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 MAXSAMPLELOCATIONGRIDSIZE
public VkMultisamplePropertiesEXT(java.nio.ByteBuffer container)
VkMultisamplePropertiesEXT 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 VkExtent2D maxSampleLocationGridSize()
VkExtent2D view of the maxSampleLocationGridSize field.public VkMultisamplePropertiesEXT sType(int value)
sType field.public VkMultisamplePropertiesEXT pNext(long value)
pNext field.public VkMultisamplePropertiesEXT set(int sType, long pNext)
public VkMultisamplePropertiesEXT set(VkMultisamplePropertiesEXT src)
src - the source structpublic static VkMultisamplePropertiesEXT malloc()
VkMultisamplePropertiesEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkMultisamplePropertiesEXT calloc()
VkMultisamplePropertiesEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkMultisamplePropertiesEXT create()
VkMultisamplePropertiesEXT instance allocated with BufferUtils.public static VkMultisamplePropertiesEXT create(long address)
VkMultisamplePropertiesEXT instance for the specified memory address.@Nullable public static VkMultisamplePropertiesEXT createSafe(long address)
public static VkMultisamplePropertiesEXT.Buffer malloc(int capacity)
VkMultisamplePropertiesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkMultisamplePropertiesEXT.Buffer calloc(int capacity)
VkMultisamplePropertiesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkMultisamplePropertiesEXT.Buffer create(int capacity)
VkMultisamplePropertiesEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkMultisamplePropertiesEXT.Buffer create(long address, int capacity)
VkMultisamplePropertiesEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkMultisamplePropertiesEXT.Buffer createSafe(long address, int capacity)
public static VkMultisamplePropertiesEXT mallocStack()
VkMultisamplePropertiesEXT instance allocated on the thread-local MemoryStack.public static VkMultisamplePropertiesEXT callocStack()
VkMultisamplePropertiesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkMultisamplePropertiesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkMultisamplePropertiesEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkMultisamplePropertiesEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkMultisamplePropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkMultisamplePropertiesEXT.Buffer mallocStack(int capacity)
VkMultisamplePropertiesEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkMultisamplePropertiesEXT.Buffer callocStack(int capacity)
VkMultisamplePropertiesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkMultisamplePropertiesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkMultisamplePropertiesEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkMultisamplePropertiesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkMultisamplePropertiesEXT.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 VkExtent2D nmaxSampleLocationGridSize(long struct)
maxSampleLocationGridSize().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.