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