public class VkPhysicalDeviceMultiviewFeatures
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceMultiviewFeatures structure is included in the pNext chain of VkPhysicalDeviceFeatures2, it is filled with values indicating whether each feature is supported. VkPhysicalDeviceMultiviewFeatures can also be included in the pNext chain of VkDeviceCreateInfo to enable the features.
multiviewGeometryShader is enabled then multiview must also be enabled.multiviewTessellationShader is enabled then multiview must also be enabled.sType must be STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURESmultiview – specifies whether the implementation supports multiview rendering within a render pass. If this feature is not enabled, the view mask of each subpass must always be zero.multiviewGeometryShader – specifies whether the implementation supports multiview rendering within a render pass, with geometry shaders. If this feature is not enabled, then a pipeline compiled against a subpass with a non-zero view mask must not include a geometry shader.multiviewTessellationShader – specifies whether the implementation supports multiview rendering within a render pass, with tessellation shaders. If this feature is not enabled, then a pipeline compiled against a subpass with a non-zero view mask must not include any tessellation shaders.
struct VkPhysicalDeviceMultiviewFeatures {
VkStructureType sType;
void * pNext;
VkBool32 multiview;
VkBool32 multiviewGeometryShader;
VkBool32 multiviewTessellationShader;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceMultiviewFeatures.Buffer
An array of
VkPhysicalDeviceMultiviewFeatures structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
MULTIVIEW
The struct member offsets.
|
static int |
MULTIVIEWGEOMETRYSHADER
The struct member offsets.
|
static int |
MULTIVIEWTESSELLATIONSHADER
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 |
|---|
VkPhysicalDeviceMultiviewFeatures(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceMultiviewFeatures instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceMultiviewFeatures |
calloc()
Returns a new
VkPhysicalDeviceMultiviewFeatures instance allocated with memCalloc. |
static VkPhysicalDeviceMultiviewFeatures.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceMultiviewFeatures.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceMultiviewFeatures |
callocStack()
Returns a new
VkPhysicalDeviceMultiviewFeatures instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceMultiviewFeatures.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceMultiviewFeatures.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceMultiviewFeatures.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceMultiviewFeatures.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceMultiviewFeatures |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceMultiviewFeatures instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceMultiviewFeatures |
create()
Returns a new
VkPhysicalDeviceMultiviewFeatures instance allocated with BufferUtils. |
static VkPhysicalDeviceMultiviewFeatures.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceMultiviewFeatures.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceMultiviewFeatures |
create(long address)
Returns a new
VkPhysicalDeviceMultiviewFeatures instance for the specified memory address. |
static VkPhysicalDeviceMultiviewFeatures.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceMultiviewFeatures.Buffer instance at the specified memory. |
static VkPhysicalDeviceMultiviewFeatures |
createSafe(long address)
|
static VkPhysicalDeviceMultiviewFeatures.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDeviceMultiviewFeatures |
malloc()
Returns a new
VkPhysicalDeviceMultiviewFeatures instance allocated with memAlloc. |
static VkPhysicalDeviceMultiviewFeatures.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceMultiviewFeatures.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceMultiviewFeatures |
mallocStack()
Returns a new
VkPhysicalDeviceMultiviewFeatures instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceMultiviewFeatures.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceMultiviewFeatures.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceMultiviewFeatures.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceMultiviewFeatures.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceMultiviewFeatures |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceMultiviewFeatures instance allocated on the specified MemoryStack. |
boolean |
multiview()
Returns the value of the
multiview field. |
VkPhysicalDeviceMultiviewFeatures |
multiview(boolean value)
Sets the specified value to the
multiview field. |
boolean |
multiviewGeometryShader()
Returns the value of the
multiviewGeometryShader field. |
VkPhysicalDeviceMultiviewFeatures |
multiviewGeometryShader(boolean value)
Sets the specified value to the
multiviewGeometryShader field. |
boolean |
multiviewTessellationShader()
Returns the value of the
multiviewTessellationShader field. |
VkPhysicalDeviceMultiviewFeatures |
multiviewTessellationShader(boolean value)
Sets the specified value to the
multiviewTessellationShader field. |
static int |
nmultiview(long struct)
Unsafe version of
multiview(). |
static void |
nmultiview(long struct,
int value)
Unsafe version of
multiview. |
static int |
nmultiviewGeometryShader(long struct)
Unsafe version of
multiviewGeometryShader(). |
static void |
nmultiviewGeometryShader(long struct,
int value)
Unsafe version of
multiviewGeometryShader. |
static int |
nmultiviewTessellationShader(long struct)
Unsafe version of
multiviewTessellationShader(). |
static void |
nmultiviewTessellationShader(long struct,
int value)
Unsafe version of
multiviewTessellationShader. |
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. |
VkPhysicalDeviceMultiviewFeatures |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceMultiviewFeatures |
set(int sType,
long pNext,
boolean multiview,
boolean multiviewGeometryShader,
boolean multiviewTessellationShader)
Initializes this struct with the specified values.
|
VkPhysicalDeviceMultiviewFeatures |
set(VkPhysicalDeviceMultiviewFeatures src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceMultiviewFeatures |
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 MULTIVIEW
public static final int MULTIVIEWGEOMETRYSHADER
public static final int MULTIVIEWTESSELLATIONSHADER
public VkPhysicalDeviceMultiviewFeatures(java.nio.ByteBuffer container)
VkPhysicalDeviceMultiviewFeatures 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 boolean multiview()
multiview field.public boolean multiviewGeometryShader()
multiviewGeometryShader field.public boolean multiviewTessellationShader()
multiviewTessellationShader field.public VkPhysicalDeviceMultiviewFeatures sType(int value)
sType field.public VkPhysicalDeviceMultiviewFeatures pNext(long value)
pNext field.public VkPhysicalDeviceMultiviewFeatures multiview(boolean value)
multiview field.public VkPhysicalDeviceMultiviewFeatures multiviewGeometryShader(boolean value)
multiviewGeometryShader field.public VkPhysicalDeviceMultiviewFeatures multiviewTessellationShader(boolean value)
multiviewTessellationShader field.public VkPhysicalDeviceMultiviewFeatures set(int sType, long pNext, boolean multiview, boolean multiviewGeometryShader, boolean multiviewTessellationShader)
public VkPhysicalDeviceMultiviewFeatures set(VkPhysicalDeviceMultiviewFeatures src)
src - the source structpublic static VkPhysicalDeviceMultiviewFeatures malloc()
VkPhysicalDeviceMultiviewFeatures instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceMultiviewFeatures calloc()
VkPhysicalDeviceMultiviewFeatures instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceMultiviewFeatures create()
VkPhysicalDeviceMultiviewFeatures instance allocated with BufferUtils.public static VkPhysicalDeviceMultiviewFeatures create(long address)
VkPhysicalDeviceMultiviewFeatures instance for the specified memory address.@Nullable public static VkPhysicalDeviceMultiviewFeatures createSafe(long address)
public static VkPhysicalDeviceMultiviewFeatures.Buffer malloc(int capacity)
VkPhysicalDeviceMultiviewFeatures.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceMultiviewFeatures.Buffer calloc(int capacity)
VkPhysicalDeviceMultiviewFeatures.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceMultiviewFeatures.Buffer create(int capacity)
VkPhysicalDeviceMultiviewFeatures.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceMultiviewFeatures.Buffer create(long address, int capacity)
VkPhysicalDeviceMultiviewFeatures.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceMultiviewFeatures.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceMultiviewFeatures mallocStack()
VkPhysicalDeviceMultiviewFeatures instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceMultiviewFeatures callocStack()
VkPhysicalDeviceMultiviewFeatures instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceMultiviewFeatures mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceMultiviewFeatures instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceMultiviewFeatures callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceMultiviewFeatures instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceMultiviewFeatures.Buffer mallocStack(int capacity)
VkPhysicalDeviceMultiviewFeatures.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceMultiviewFeatures.Buffer callocStack(int capacity)
VkPhysicalDeviceMultiviewFeatures.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceMultiviewFeatures.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceMultiviewFeatures.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceMultiviewFeatures.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceMultiviewFeatures.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 nmultiview(long struct)
multiview().public static int nmultiviewGeometryShader(long struct)
multiviewGeometryShader().public static int nmultiviewTessellationShader(long struct)
multiviewTessellationShader().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nmultiview(long struct,
int value)
multiview.public static void nmultiviewGeometryShader(long struct,
int value)
multiviewGeometryShader.public static void nmultiviewTessellationShader(long struct,
int value)
multiviewTessellationShader.Copyright LWJGL. All Rights Reserved. License terms.