public class VkPhysicalDeviceExclusiveScissorFeaturesNV
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
See Exclusive Scissor Test for more information.
If the VkPhysicalDeviceExclusiveScissorFeaturesNV structure is included in the pNext chain of VkPhysicalDeviceFeatures2, it is filled with values indicating whether the feature is supported. VkPhysicalDeviceExclusiveScissorFeaturesNV can also be included in the pNext chain of VkDeviceCreateInfo to enable the feature.
exclusiveScissor – indicates that the implementation supports the exclusive scissor test.
struct VkPhysicalDeviceExclusiveScissorFeaturesNV {
VkStructureType sType;
void * pNext;
VkBool32 exclusiveScissor;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer
An array of
VkPhysicalDeviceExclusiveScissorFeaturesNV structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
EXCLUSIVESCISSOR
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 |
|---|
VkPhysicalDeviceExclusiveScissorFeaturesNV(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceExclusiveScissorFeaturesNV instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceExclusiveScissorFeaturesNV |
calloc()
Returns a new
VkPhysicalDeviceExclusiveScissorFeaturesNV instance allocated with memCalloc. |
static VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceExclusiveScissorFeaturesNV |
callocStack()
Returns a new
VkPhysicalDeviceExclusiveScissorFeaturesNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceExclusiveScissorFeaturesNV |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceExclusiveScissorFeaturesNV instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceExclusiveScissorFeaturesNV |
create()
Returns a new
VkPhysicalDeviceExclusiveScissorFeaturesNV instance allocated with BufferUtils. |
static VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceExclusiveScissorFeaturesNV |
create(long address)
Returns a new
VkPhysicalDeviceExclusiveScissorFeaturesNV instance for the specified memory address. |
static VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer instance at the specified memory. |
static VkPhysicalDeviceExclusiveScissorFeaturesNV |
createSafe(long address)
|
static VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer |
createSafe(long address,
int capacity)
|
boolean |
exclusiveScissor()
Returns the value of the
exclusiveScissor field. |
VkPhysicalDeviceExclusiveScissorFeaturesNV |
exclusiveScissor(boolean value)
Sets the specified value to the
exclusiveScissor field. |
static VkPhysicalDeviceExclusiveScissorFeaturesNV |
malloc()
Returns a new
VkPhysicalDeviceExclusiveScissorFeaturesNV instance allocated with memAlloc. |
static VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceExclusiveScissorFeaturesNV |
mallocStack()
Returns a new
VkPhysicalDeviceExclusiveScissorFeaturesNV instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceExclusiveScissorFeaturesNV |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceExclusiveScissorFeaturesNV instance allocated on the specified MemoryStack. |
static int |
nexclusiveScissor(long struct)
Unsafe version of
exclusiveScissor(). |
static void |
nexclusiveScissor(long struct,
int value)
Unsafe version of
exclusiveScissor. |
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. |
VkPhysicalDeviceExclusiveScissorFeaturesNV |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceExclusiveScissorFeaturesNV |
set(int sType,
long pNext,
boolean exclusiveScissor)
Initializes this struct with the specified values.
|
VkPhysicalDeviceExclusiveScissorFeaturesNV |
set(VkPhysicalDeviceExclusiveScissorFeaturesNV src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceExclusiveScissorFeaturesNV |
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 EXCLUSIVESCISSOR
public VkPhysicalDeviceExclusiveScissorFeaturesNV(java.nio.ByteBuffer container)
VkPhysicalDeviceExclusiveScissorFeaturesNV 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 exclusiveScissor()
exclusiveScissor field.public VkPhysicalDeviceExclusiveScissorFeaturesNV sType(int value)
sType field.public VkPhysicalDeviceExclusiveScissorFeaturesNV pNext(long value)
pNext field.public VkPhysicalDeviceExclusiveScissorFeaturesNV exclusiveScissor(boolean value)
exclusiveScissor field.public VkPhysicalDeviceExclusiveScissorFeaturesNV set(int sType, long pNext, boolean exclusiveScissor)
public VkPhysicalDeviceExclusiveScissorFeaturesNV set(VkPhysicalDeviceExclusiveScissorFeaturesNV src)
src - the source structpublic static VkPhysicalDeviceExclusiveScissorFeaturesNV malloc()
VkPhysicalDeviceExclusiveScissorFeaturesNV instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceExclusiveScissorFeaturesNV calloc()
VkPhysicalDeviceExclusiveScissorFeaturesNV instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceExclusiveScissorFeaturesNV create()
VkPhysicalDeviceExclusiveScissorFeaturesNV instance allocated with BufferUtils.public static VkPhysicalDeviceExclusiveScissorFeaturesNV create(long address)
VkPhysicalDeviceExclusiveScissorFeaturesNV instance for the specified memory address.@Nullable public static VkPhysicalDeviceExclusiveScissorFeaturesNV createSafe(long address)
public static VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer malloc(int capacity)
VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer calloc(int capacity)
VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer create(int capacity)
VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer create(long address, int capacity)
VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceExclusiveScissorFeaturesNV mallocStack()
VkPhysicalDeviceExclusiveScissorFeaturesNV instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceExclusiveScissorFeaturesNV callocStack()
VkPhysicalDeviceExclusiveScissorFeaturesNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceExclusiveScissorFeaturesNV mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceExclusiveScissorFeaturesNV instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceExclusiveScissorFeaturesNV callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceExclusiveScissorFeaturesNV instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer mallocStack(int capacity)
VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer callocStack(int capacity)
VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceExclusiveScissorFeaturesNV.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceExclusiveScissorFeaturesNV.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 nexclusiveScissor(long struct)
exclusiveScissor().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nexclusiveScissor(long struct,
int value)
exclusiveScissor.Copyright LWJGL. All Rights Reserved. License terms.