public class VkPhysicalDeviceMultiviewProperties
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceMultiviewProperties structure is included in the pNext chain of VkPhysicalDeviceProperties2, it is filled with the implementation-dependent limits.
sType must be STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIESsType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.maxMultiviewViewCount – one greater than the maximum view index that can be used in a subpass.maxMultiviewInstanceIndex – the maximum valid value of instance index allowed to be generated by a drawing command recorded within a subpass of a multiview render pass instance.
struct VkPhysicalDeviceMultiviewProperties {
VkStructureType sType;
void * pNext;
uint32_t maxMultiviewViewCount;
uint32_t maxMultiviewInstanceIndex;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceMultiviewProperties.Buffer
An array of
VkPhysicalDeviceMultiviewProperties structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
MAXMULTIVIEWINSTANCEINDEX
The struct member offsets.
|
static int |
MAXMULTIVIEWVIEWCOUNT
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 |
|---|
VkPhysicalDeviceMultiviewProperties(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceMultiviewProperties instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceMultiviewProperties |
calloc()
Returns a new
VkPhysicalDeviceMultiviewProperties instance allocated with memCalloc. |
static VkPhysicalDeviceMultiviewProperties.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceMultiviewProperties.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceMultiviewProperties |
callocStack()
Returns a new
VkPhysicalDeviceMultiviewProperties instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceMultiviewProperties.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceMultiviewProperties.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceMultiviewProperties.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceMultiviewProperties.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceMultiviewProperties |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceMultiviewProperties instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceMultiviewProperties |
create()
Returns a new
VkPhysicalDeviceMultiviewProperties instance allocated with BufferUtils. |
static VkPhysicalDeviceMultiviewProperties.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceMultiviewProperties.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceMultiviewProperties |
create(long address)
Returns a new
VkPhysicalDeviceMultiviewProperties instance for the specified memory address. |
static VkPhysicalDeviceMultiviewProperties.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceMultiviewProperties.Buffer instance at the specified memory. |
static VkPhysicalDeviceMultiviewProperties |
createSafe(long address)
|
static VkPhysicalDeviceMultiviewProperties.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDeviceMultiviewProperties |
malloc()
Returns a new
VkPhysicalDeviceMultiviewProperties instance allocated with memAlloc. |
static VkPhysicalDeviceMultiviewProperties.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceMultiviewProperties.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceMultiviewProperties |
mallocStack()
Returns a new
VkPhysicalDeviceMultiviewProperties instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceMultiviewProperties.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceMultiviewProperties.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceMultiviewProperties.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceMultiviewProperties.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceMultiviewProperties |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceMultiviewProperties instance allocated on the specified MemoryStack. |
int |
maxMultiviewInstanceIndex()
Returns the value of the
maxMultiviewInstanceIndex field. |
int |
maxMultiviewViewCount()
Returns the value of the
maxMultiviewViewCount field. |
static int |
nmaxMultiviewInstanceIndex(long struct)
Unsafe version of
maxMultiviewInstanceIndex(). |
static int |
nmaxMultiviewViewCount(long struct)
Unsafe version of
maxMultiviewViewCount(). |
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. |
VkPhysicalDeviceMultiviewProperties |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceMultiviewProperties |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkPhysicalDeviceMultiviewProperties |
set(VkPhysicalDeviceMultiviewProperties src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceMultiviewProperties |
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 MAXMULTIVIEWVIEWCOUNT
public static final int MAXMULTIVIEWINSTANCEINDEX
public VkPhysicalDeviceMultiviewProperties(java.nio.ByteBuffer container)
VkPhysicalDeviceMultiviewProperties 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 maxMultiviewViewCount()
maxMultiviewViewCount field.public int maxMultiviewInstanceIndex()
maxMultiviewInstanceIndex field.public VkPhysicalDeviceMultiviewProperties sType(int value)
sType field.public VkPhysicalDeviceMultiviewProperties pNext(long value)
pNext field.public VkPhysicalDeviceMultiviewProperties set(int sType, long pNext)
public VkPhysicalDeviceMultiviewProperties set(VkPhysicalDeviceMultiviewProperties src)
src - the source structpublic static VkPhysicalDeviceMultiviewProperties malloc()
VkPhysicalDeviceMultiviewProperties instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceMultiviewProperties calloc()
VkPhysicalDeviceMultiviewProperties instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceMultiviewProperties create()
VkPhysicalDeviceMultiviewProperties instance allocated with BufferUtils.public static VkPhysicalDeviceMultiviewProperties create(long address)
VkPhysicalDeviceMultiviewProperties instance for the specified memory address.@Nullable public static VkPhysicalDeviceMultiviewProperties createSafe(long address)
public static VkPhysicalDeviceMultiviewProperties.Buffer malloc(int capacity)
VkPhysicalDeviceMultiviewProperties.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceMultiviewProperties.Buffer calloc(int capacity)
VkPhysicalDeviceMultiviewProperties.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceMultiviewProperties.Buffer create(int capacity)
VkPhysicalDeviceMultiviewProperties.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceMultiviewProperties.Buffer create(long address, int capacity)
VkPhysicalDeviceMultiviewProperties.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceMultiviewProperties.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceMultiviewProperties mallocStack()
VkPhysicalDeviceMultiviewProperties instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceMultiviewProperties callocStack()
VkPhysicalDeviceMultiviewProperties instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceMultiviewProperties mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceMultiviewProperties instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceMultiviewProperties callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceMultiviewProperties instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceMultiviewProperties.Buffer mallocStack(int capacity)
VkPhysicalDeviceMultiviewProperties.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceMultiviewProperties.Buffer callocStack(int capacity)
VkPhysicalDeviceMultiviewProperties.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceMultiviewProperties.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceMultiviewProperties.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceMultiviewProperties.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceMultiviewProperties.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 nmaxMultiviewViewCount(long struct)
maxMultiviewViewCount().public static int nmaxMultiviewInstanceIndex(long struct)
maxMultiviewInstanceIndex().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.