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