public class VkPipelineCoverageReductionStateCreateInfoNV
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If this structure is not present, the default coverage reduction mode is inferred as follows:
VK_NV_framebuffer_mixed_samples extension is enabled, then it is as if the coverageReductionMode is COVERAGE_REDUCTION_MODE_MERGE_NV.VK_AMD_mixed_attachment_samples extension is enabled, then it is as if the coverageReductionMode is COVERAGE_REDUCTION_MODE_TRUNCATE_NV.VK_NV_framebuffer_mixed_samples and VK_AMD_mixed_attachment_samples are enabled, then the default coverage reduction mode is implementation-dependent.sType must be STRUCTURE_TYPE_PIPELINE_COVERAGE_REDUCTION_STATE_CREATE_INFO_NVflags must be 0coverageReductionMode must be a valid VkCoverageReductionModeNV valuesType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.flags – reserved for future use.coverageReductionMode – a VkCoverageReductionModeNV value controlling how the color sample mask is generated from the coverage mask.
struct VkPipelineCoverageReductionStateCreateInfoNV {
VkStructureType sType;
void const * pNext;
VkPipelineCoverageReductionStateCreateFlagsNV flags;
VkCoverageReductionModeNV coverageReductionMode;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPipelineCoverageReductionStateCreateInfoNV.Buffer
An array of
VkPipelineCoverageReductionStateCreateInfoNV structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
COVERAGEREDUCTIONMODE
The struct member offsets.
|
static int |
FLAGS
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 |
|---|
VkPipelineCoverageReductionStateCreateInfoNV(java.nio.ByteBuffer container)
Creates a
VkPipelineCoverageReductionStateCreateInfoNV instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPipelineCoverageReductionStateCreateInfoNV |
calloc()
Returns a new
VkPipelineCoverageReductionStateCreateInfoNV instance allocated with memCalloc. |
static VkPipelineCoverageReductionStateCreateInfoNV.Buffer |
calloc(int capacity)
Returns a new
VkPipelineCoverageReductionStateCreateInfoNV.Buffer instance allocated with memCalloc. |
static VkPipelineCoverageReductionStateCreateInfoNV |
callocStack()
Returns a new
VkPipelineCoverageReductionStateCreateInfoNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineCoverageReductionStateCreateInfoNV.Buffer |
callocStack(int capacity)
Returns a new
VkPipelineCoverageReductionStateCreateInfoNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineCoverageReductionStateCreateInfoNV.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineCoverageReductionStateCreateInfoNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineCoverageReductionStateCreateInfoNV |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineCoverageReductionStateCreateInfoNV instance allocated on the specified MemoryStack and initializes all its bits to zero. |
int |
coverageReductionMode()
Returns the value of the
coverageReductionMode field. |
VkPipelineCoverageReductionStateCreateInfoNV |
coverageReductionMode(int value)
Sets the specified value to the
coverageReductionMode field. |
static VkPipelineCoverageReductionStateCreateInfoNV |
create()
Returns a new
VkPipelineCoverageReductionStateCreateInfoNV instance allocated with BufferUtils. |
static VkPipelineCoverageReductionStateCreateInfoNV.Buffer |
create(int capacity)
Returns a new
VkPipelineCoverageReductionStateCreateInfoNV.Buffer instance allocated with BufferUtils. |
static VkPipelineCoverageReductionStateCreateInfoNV |
create(long address)
Returns a new
VkPipelineCoverageReductionStateCreateInfoNV instance for the specified memory address. |
static VkPipelineCoverageReductionStateCreateInfoNV.Buffer |
create(long address,
int capacity)
Create a
VkPipelineCoverageReductionStateCreateInfoNV.Buffer instance at the specified memory. |
static VkPipelineCoverageReductionStateCreateInfoNV |
createSafe(long address)
|
static VkPipelineCoverageReductionStateCreateInfoNV.Buffer |
createSafe(long address,
int capacity)
|
int |
flags()
Returns the value of the
flags field. |
VkPipelineCoverageReductionStateCreateInfoNV |
flags(int value)
Sets the specified value to the
flags field. |
static VkPipelineCoverageReductionStateCreateInfoNV |
malloc()
Returns a new
VkPipelineCoverageReductionStateCreateInfoNV instance allocated with memAlloc. |
static VkPipelineCoverageReductionStateCreateInfoNV.Buffer |
malloc(int capacity)
Returns a new
VkPipelineCoverageReductionStateCreateInfoNV.Buffer instance allocated with memAlloc. |
static VkPipelineCoverageReductionStateCreateInfoNV |
mallocStack()
Returns a new
VkPipelineCoverageReductionStateCreateInfoNV instance allocated on the thread-local MemoryStack. |
static VkPipelineCoverageReductionStateCreateInfoNV.Buffer |
mallocStack(int capacity)
Returns a new
VkPipelineCoverageReductionStateCreateInfoNV.Buffer instance allocated on the thread-local MemoryStack. |
static VkPipelineCoverageReductionStateCreateInfoNV.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineCoverageReductionStateCreateInfoNV.Buffer instance allocated on the specified MemoryStack. |
static VkPipelineCoverageReductionStateCreateInfoNV |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineCoverageReductionStateCreateInfoNV 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 int |
nflags(long struct)
Unsafe version of
flags(). |
static void |
nflags(long struct,
int value)
Unsafe version of
flags. |
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. |
VkPipelineCoverageReductionStateCreateInfoNV |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPipelineCoverageReductionStateCreateInfoNV |
set(int sType,
long pNext,
int flags,
int coverageReductionMode)
Initializes this struct with the specified values.
|
VkPipelineCoverageReductionStateCreateInfoNV |
set(VkPipelineCoverageReductionStateCreateInfoNV src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPipelineCoverageReductionStateCreateInfoNV |
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 FLAGS
public static final int COVERAGEREDUCTIONMODE
public VkPipelineCoverageReductionStateCreateInfoNV(java.nio.ByteBuffer container)
VkPipelineCoverageReductionStateCreateInfoNV 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 flags()
flags field.public int coverageReductionMode()
coverageReductionMode field.public VkPipelineCoverageReductionStateCreateInfoNV sType(int value)
sType field.public VkPipelineCoverageReductionStateCreateInfoNV pNext(long value)
pNext field.public VkPipelineCoverageReductionStateCreateInfoNV flags(int value)
flags field.public VkPipelineCoverageReductionStateCreateInfoNV coverageReductionMode(int value)
coverageReductionMode field.public VkPipelineCoverageReductionStateCreateInfoNV set(int sType, long pNext, int flags, int coverageReductionMode)
public VkPipelineCoverageReductionStateCreateInfoNV set(VkPipelineCoverageReductionStateCreateInfoNV src)
src - the source structpublic static VkPipelineCoverageReductionStateCreateInfoNV malloc()
VkPipelineCoverageReductionStateCreateInfoNV instance allocated with memAlloc. The instance must be explicitly freed.public static VkPipelineCoverageReductionStateCreateInfoNV calloc()
VkPipelineCoverageReductionStateCreateInfoNV instance allocated with memCalloc. The instance must be explicitly freed.public static VkPipelineCoverageReductionStateCreateInfoNV create()
VkPipelineCoverageReductionStateCreateInfoNV instance allocated with BufferUtils.public static VkPipelineCoverageReductionStateCreateInfoNV create(long address)
VkPipelineCoverageReductionStateCreateInfoNV instance for the specified memory address.@Nullable public static VkPipelineCoverageReductionStateCreateInfoNV createSafe(long address)
public static VkPipelineCoverageReductionStateCreateInfoNV.Buffer malloc(int capacity)
VkPipelineCoverageReductionStateCreateInfoNV.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineCoverageReductionStateCreateInfoNV.Buffer calloc(int capacity)
VkPipelineCoverageReductionStateCreateInfoNV.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineCoverageReductionStateCreateInfoNV.Buffer create(int capacity)
VkPipelineCoverageReductionStateCreateInfoNV.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPipelineCoverageReductionStateCreateInfoNV.Buffer create(long address, int capacity)
VkPipelineCoverageReductionStateCreateInfoNV.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPipelineCoverageReductionStateCreateInfoNV.Buffer createSafe(long address, int capacity)
public static VkPipelineCoverageReductionStateCreateInfoNV mallocStack()
VkPipelineCoverageReductionStateCreateInfoNV instance allocated on the thread-local MemoryStack.public static VkPipelineCoverageReductionStateCreateInfoNV callocStack()
VkPipelineCoverageReductionStateCreateInfoNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPipelineCoverageReductionStateCreateInfoNV mallocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineCoverageReductionStateCreateInfoNV instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPipelineCoverageReductionStateCreateInfoNV callocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineCoverageReductionStateCreateInfoNV instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPipelineCoverageReductionStateCreateInfoNV.Buffer mallocStack(int capacity)
VkPipelineCoverageReductionStateCreateInfoNV.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPipelineCoverageReductionStateCreateInfoNV.Buffer callocStack(int capacity)
VkPipelineCoverageReductionStateCreateInfoNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPipelineCoverageReductionStateCreateInfoNV.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineCoverageReductionStateCreateInfoNV.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPipelineCoverageReductionStateCreateInfoNV.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineCoverageReductionStateCreateInfoNV.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 nflags(long struct)
flags().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 nflags(long struct,
int value)
flags.public static void ncoverageReductionMode(long struct,
int value)
coverageReductionMode.Copyright LWJGL. All Rights Reserved. License terms.