public class VkFramebufferMixedSamplesCombinationNV
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_FRAMEBUFFER_MIXED_SAMPLES_COMBINATION_NVpNext must be NULLGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.coverageReductionMode – a VkCoverageReductionModeNV value specifying the coverage reduction mode.rasterizationSamples – specifies the number of rasterization samples in the supported combination.depthStencilSamples – specifies the number of samples in the depth stencil attachment in the supported combination. A value of 0 indicates the combination does not have a depth stencil attachment.colorSamples – specifies the number of color samples in a color attachment in the supported combination. A value of 0 indicates the combination does not have a color attachment.
struct VkFramebufferMixedSamplesCombinationNV {
VkStructureType sType;
void * pNext;
VkCoverageReductionModeNV coverageReductionMode;
VkSampleCountFlagBits rasterizationSamples;
VkSampleCountFlags depthStencilSamples;
VkSampleCountFlags colorSamples;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkFramebufferMixedSamplesCombinationNV.Buffer
An array of
VkFramebufferMixedSamplesCombinationNV structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
COLORSAMPLES
The struct member offsets.
|
static int |
COVERAGEREDUCTIONMODE
The struct member offsets.
|
static int |
DEPTHSTENCILSAMPLES
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
RASTERIZATIONSAMPLES
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkFramebufferMixedSamplesCombinationNV(java.nio.ByteBuffer container)
Creates a
VkFramebufferMixedSamplesCombinationNV instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkFramebufferMixedSamplesCombinationNV |
calloc()
Returns a new
VkFramebufferMixedSamplesCombinationNV instance allocated with memCalloc. |
static VkFramebufferMixedSamplesCombinationNV.Buffer |
calloc(int capacity)
Returns a new
VkFramebufferMixedSamplesCombinationNV.Buffer instance allocated with memCalloc. |
static VkFramebufferMixedSamplesCombinationNV |
callocStack()
Returns a new
VkFramebufferMixedSamplesCombinationNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkFramebufferMixedSamplesCombinationNV.Buffer |
callocStack(int capacity)
Returns a new
VkFramebufferMixedSamplesCombinationNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkFramebufferMixedSamplesCombinationNV.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkFramebufferMixedSamplesCombinationNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkFramebufferMixedSamplesCombinationNV |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkFramebufferMixedSamplesCombinationNV instance allocated on the specified MemoryStack and initializes all its bits to zero. |
int |
colorSamples()
Returns the value of the
colorSamples field. |
int |
coverageReductionMode()
Returns the value of the
coverageReductionMode field. |
static VkFramebufferMixedSamplesCombinationNV |
create()
Returns a new
VkFramebufferMixedSamplesCombinationNV instance allocated with BufferUtils. |
static VkFramebufferMixedSamplesCombinationNV.Buffer |
create(int capacity)
Returns a new
VkFramebufferMixedSamplesCombinationNV.Buffer instance allocated with BufferUtils. |
static VkFramebufferMixedSamplesCombinationNV |
create(long address)
Returns a new
VkFramebufferMixedSamplesCombinationNV instance for the specified memory address. |
static VkFramebufferMixedSamplesCombinationNV.Buffer |
create(long address,
int capacity)
Create a
VkFramebufferMixedSamplesCombinationNV.Buffer instance at the specified memory. |
static VkFramebufferMixedSamplesCombinationNV |
createSafe(long address)
|
static VkFramebufferMixedSamplesCombinationNV.Buffer |
createSafe(long address,
int capacity)
|
int |
depthStencilSamples()
Returns the value of the
depthStencilSamples field. |
static VkFramebufferMixedSamplesCombinationNV |
malloc()
Returns a new
VkFramebufferMixedSamplesCombinationNV instance allocated with memAlloc. |
static VkFramebufferMixedSamplesCombinationNV.Buffer |
malloc(int capacity)
Returns a new
VkFramebufferMixedSamplesCombinationNV.Buffer instance allocated with memAlloc. |
static VkFramebufferMixedSamplesCombinationNV |
mallocStack()
Returns a new
VkFramebufferMixedSamplesCombinationNV instance allocated on the thread-local MemoryStack. |
static VkFramebufferMixedSamplesCombinationNV.Buffer |
mallocStack(int capacity)
Returns a new
VkFramebufferMixedSamplesCombinationNV.Buffer instance allocated on the thread-local MemoryStack. |
static VkFramebufferMixedSamplesCombinationNV.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkFramebufferMixedSamplesCombinationNV.Buffer instance allocated on the specified MemoryStack. |
static VkFramebufferMixedSamplesCombinationNV |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkFramebufferMixedSamplesCombinationNV instance allocated on the specified MemoryStack. |
static int |
ncolorSamples(long struct)
Unsafe version of
colorSamples(). |
static int |
ncoverageReductionMode(long struct)
Unsafe version of
coverageReductionMode(). |
static int |
ndepthStencilSamples(long struct)
Unsafe version of
depthStencilSamples(). |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nrasterizationSamples(long struct)
Unsafe version of
rasterizationSamples(). |
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. |
VkFramebufferMixedSamplesCombinationNV |
pNext(long value)
Sets the specified value to the
pNext field. |
int |
rasterizationSamples()
Returns the value of the
rasterizationSamples field. |
VkFramebufferMixedSamplesCombinationNV |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkFramebufferMixedSamplesCombinationNV |
set(VkFramebufferMixedSamplesCombinationNV src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkFramebufferMixedSamplesCombinationNV |
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 static final int RASTERIZATIONSAMPLES
public static final int DEPTHSTENCILSAMPLES
public static final int COLORSAMPLES
public VkFramebufferMixedSamplesCombinationNV(java.nio.ByteBuffer container)
VkFramebufferMixedSamplesCombinationNV 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 coverageReductionMode()
coverageReductionMode field.public int rasterizationSamples()
rasterizationSamples field.public int depthStencilSamples()
depthStencilSamples field.public int colorSamples()
colorSamples field.public VkFramebufferMixedSamplesCombinationNV sType(int value)
sType field.public VkFramebufferMixedSamplesCombinationNV pNext(long value)
pNext field.public VkFramebufferMixedSamplesCombinationNV set(int sType, long pNext)
public VkFramebufferMixedSamplesCombinationNV set(VkFramebufferMixedSamplesCombinationNV src)
src - the source structpublic static VkFramebufferMixedSamplesCombinationNV malloc()
VkFramebufferMixedSamplesCombinationNV instance allocated with memAlloc. The instance must be explicitly freed.public static VkFramebufferMixedSamplesCombinationNV calloc()
VkFramebufferMixedSamplesCombinationNV instance allocated with memCalloc. The instance must be explicitly freed.public static VkFramebufferMixedSamplesCombinationNV create()
VkFramebufferMixedSamplesCombinationNV instance allocated with BufferUtils.public static VkFramebufferMixedSamplesCombinationNV create(long address)
VkFramebufferMixedSamplesCombinationNV instance for the specified memory address.@Nullable public static VkFramebufferMixedSamplesCombinationNV createSafe(long address)
public static VkFramebufferMixedSamplesCombinationNV.Buffer malloc(int capacity)
VkFramebufferMixedSamplesCombinationNV.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkFramebufferMixedSamplesCombinationNV.Buffer calloc(int capacity)
VkFramebufferMixedSamplesCombinationNV.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkFramebufferMixedSamplesCombinationNV.Buffer create(int capacity)
VkFramebufferMixedSamplesCombinationNV.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkFramebufferMixedSamplesCombinationNV.Buffer create(long address, int capacity)
VkFramebufferMixedSamplesCombinationNV.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkFramebufferMixedSamplesCombinationNV.Buffer createSafe(long address, int capacity)
public static VkFramebufferMixedSamplesCombinationNV mallocStack()
VkFramebufferMixedSamplesCombinationNV instance allocated on the thread-local MemoryStack.public static VkFramebufferMixedSamplesCombinationNV callocStack()
VkFramebufferMixedSamplesCombinationNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkFramebufferMixedSamplesCombinationNV mallocStack(org.lwjgl.system.MemoryStack stack)
VkFramebufferMixedSamplesCombinationNV instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkFramebufferMixedSamplesCombinationNV callocStack(org.lwjgl.system.MemoryStack stack)
VkFramebufferMixedSamplesCombinationNV instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkFramebufferMixedSamplesCombinationNV.Buffer mallocStack(int capacity)
VkFramebufferMixedSamplesCombinationNV.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkFramebufferMixedSamplesCombinationNV.Buffer callocStack(int capacity)
VkFramebufferMixedSamplesCombinationNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkFramebufferMixedSamplesCombinationNV.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkFramebufferMixedSamplesCombinationNV.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkFramebufferMixedSamplesCombinationNV.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkFramebufferMixedSamplesCombinationNV.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 int nrasterizationSamples(long struct)
rasterizationSamples().public static int ndepthStencilSamples(long struct)
depthStencilSamples().public static int ncolorSamples(long struct)
colorSamples().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.Copyright LWJGL. All Rights Reserved. License terms.