Package org.lwjgl.vulkan
Class VkFramebufferMixedSamplesCombinationNV
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkFramebufferMixedSamplesCombinationNV
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class VkFramebufferMixedSamplesCombinationNV extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResource
Structure specifying a supported sample count combination.Valid Usage (Implicit)
sType
must beSTRUCTURE_TYPE_FRAMEBUFFER_MIXED_SAMPLES_COMBINATION_NV
pNext
must beNULL
See Also
GetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV
Member documentation
sType
– the type of this structure.pNext
–NULL
or a pointer to an extension-specific structure.coverageReductionMode
– specifies the coverage reduction mode and is of typeVkCoverageReductionModeNV
.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.
Layout
struct VkFramebufferMixedSamplesCombinationNV { VkStructureType sType; void * pNext; VkCoverageReductionModeNV coverageReductionMode; VkSampleCountFlagBits rasterizationSamples; VkSampleCountFlags depthStencilSamples; VkSampleCountFlags colorSamples; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkFramebufferMixedSamplesCombinationNV.Buffer
An array ofVkFramebufferMixedSamplesCombinationNV
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
COLORSAMPLES
COVERAGEREDUCTIONMODE
DEPTHSTENCILSAMPLES
PNEXT
RASTERIZATIONSAMPLESThe struct member offsets.static int
SIZEOF
The struct size in bytes.static int
STYPE
The struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkFramebufferMixedSamplesCombinationNV(java.nio.ByteBuffer container)
Creates aVkFramebufferMixedSamplesCombinationNV
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkFramebufferMixedSamplesCombinationNV
calloc()
Returns a newVkFramebufferMixedSamplesCombinationNV
instance allocated withmemCalloc
.static VkFramebufferMixedSamplesCombinationNV.Buffer
calloc(int capacity)
Returns a newVkFramebufferMixedSamplesCombinationNV.Buffer
instance allocated withmemCalloc
.static VkFramebufferMixedSamplesCombinationNV
callocStack()
Returns a newVkFramebufferMixedSamplesCombinationNV
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkFramebufferMixedSamplesCombinationNV.Buffer
callocStack(int capacity)
Returns a newVkFramebufferMixedSamplesCombinationNV.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkFramebufferMixedSamplesCombinationNV.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkFramebufferMixedSamplesCombinationNV.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkFramebufferMixedSamplesCombinationNV
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkFramebufferMixedSamplesCombinationNV
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.int
colorSamples()
Returns the value of thecolorSamples
field.int
coverageReductionMode()
Returns the value of thecoverageReductionMode
field.static VkFramebufferMixedSamplesCombinationNV
create()
Returns a newVkFramebufferMixedSamplesCombinationNV
instance allocated withBufferUtils
.static VkFramebufferMixedSamplesCombinationNV.Buffer
create(int capacity)
Returns a newVkFramebufferMixedSamplesCombinationNV.Buffer
instance allocated withBufferUtils
.static VkFramebufferMixedSamplesCombinationNV
create(long address)
Returns a newVkFramebufferMixedSamplesCombinationNV
instance for the specified memory address.static VkFramebufferMixedSamplesCombinationNV.Buffer
create(long address, int capacity)
Create aVkFramebufferMixedSamplesCombinationNV.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 thedepthStencilSamples
field.static VkFramebufferMixedSamplesCombinationNV
malloc()
Returns a newVkFramebufferMixedSamplesCombinationNV
instance allocated withmemAlloc
.static VkFramebufferMixedSamplesCombinationNV.Buffer
malloc(int capacity)
Returns a newVkFramebufferMixedSamplesCombinationNV.Buffer
instance allocated withmemAlloc
.static VkFramebufferMixedSamplesCombinationNV
mallocStack()
Returns a newVkFramebufferMixedSamplesCombinationNV
instance allocated on the thread-localMemoryStack
.static VkFramebufferMixedSamplesCombinationNV.Buffer
mallocStack(int capacity)
Returns a newVkFramebufferMixedSamplesCombinationNV.Buffer
instance allocated on the thread-localMemoryStack
.static VkFramebufferMixedSamplesCombinationNV.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkFramebufferMixedSamplesCombinationNV.Buffer
instance allocated on the specifiedMemoryStack
.static VkFramebufferMixedSamplesCombinationNV
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkFramebufferMixedSamplesCombinationNV
instance allocated on the specifiedMemoryStack
.static int
ncolorSamples(long struct)
Unsafe version ofcolorSamples()
.static int
ncoverageReductionMode(long struct)
Unsafe version ofcoverageReductionMode()
.static int
ndepthStencilSamples(long struct)
Unsafe version ofdepthStencilSamples()
.static long
npNext(long struct)
Unsafe version ofpNext()
.static void
npNext(long struct, long value)
Unsafe version ofpNext
.static int
nrasterizationSamples(long struct)
Unsafe version ofrasterizationSamples()
.static int
nsType(long struct)
Unsafe version ofsType()
.static void
nsType(long struct, int value)
Unsafe version ofsType
.long
pNext()
Returns the value of thepNext
field.VkFramebufferMixedSamplesCombinationNV
pNext(long value)
Sets the specified value to thepNext
field.int
rasterizationSamples()
Returns the value of therasterizationSamples
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 thesType
field.VkFramebufferMixedSamplesCombinationNV
sType(int value)
Sets the specified value to thesType
field.
-
-
-
Constructor Detail
-
VkFramebufferMixedSamplesCombinationNV
public VkFramebufferMixedSamplesCombinationNV(java.nio.ByteBuffer container)
Creates aVkFramebufferMixedSamplesCombinationNV
instance at the current position of the specifiedByteBuffer
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.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
coverageReductionMode
public int coverageReductionMode()
Returns the value of thecoverageReductionMode
field.
-
rasterizationSamples
public int rasterizationSamples()
Returns the value of therasterizationSamples
field.
-
depthStencilSamples
public int depthStencilSamples()
Returns the value of thedepthStencilSamples
field.
-
colorSamples
public int colorSamples()
Returns the value of thecolorSamples
field.
-
sType
public VkFramebufferMixedSamplesCombinationNV sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkFramebufferMixedSamplesCombinationNV pNext(long value)
Sets the specified value to thepNext
field.
-
set
public VkFramebufferMixedSamplesCombinationNV set(int sType, long pNext)
Initializes this struct with the specified values.
-
set
public VkFramebufferMixedSamplesCombinationNV set(VkFramebufferMixedSamplesCombinationNV src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static VkFramebufferMixedSamplesCombinationNV malloc()
Returns a newVkFramebufferMixedSamplesCombinationNV
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkFramebufferMixedSamplesCombinationNV calloc()
Returns a newVkFramebufferMixedSamplesCombinationNV
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkFramebufferMixedSamplesCombinationNV create()
Returns a newVkFramebufferMixedSamplesCombinationNV
instance allocated withBufferUtils
.
-
create
public static VkFramebufferMixedSamplesCombinationNV create(long address)
Returns a newVkFramebufferMixedSamplesCombinationNV
instance for the specified memory address.
-
createSafe
@Nullable public static VkFramebufferMixedSamplesCombinationNV createSafe(long address)
-
malloc
public static VkFramebufferMixedSamplesCombinationNV.Buffer malloc(int capacity)
Returns a newVkFramebufferMixedSamplesCombinationNV.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkFramebufferMixedSamplesCombinationNV.Buffer calloc(int capacity)
Returns a newVkFramebufferMixedSamplesCombinationNV.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkFramebufferMixedSamplesCombinationNV.Buffer create(int capacity)
Returns a newVkFramebufferMixedSamplesCombinationNV.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkFramebufferMixedSamplesCombinationNV.Buffer create(long address, int capacity)
Create aVkFramebufferMixedSamplesCombinationNV.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkFramebufferMixedSamplesCombinationNV.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkFramebufferMixedSamplesCombinationNV mallocStack()
Returns a newVkFramebufferMixedSamplesCombinationNV
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkFramebufferMixedSamplesCombinationNV callocStack()
Returns a newVkFramebufferMixedSamplesCombinationNV
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkFramebufferMixedSamplesCombinationNV mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkFramebufferMixedSamplesCombinationNV
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkFramebufferMixedSamplesCombinationNV callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkFramebufferMixedSamplesCombinationNV
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static VkFramebufferMixedSamplesCombinationNV.Buffer mallocStack(int capacity)
Returns a newVkFramebufferMixedSamplesCombinationNV.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkFramebufferMixedSamplesCombinationNV.Buffer callocStack(int capacity)
Returns a newVkFramebufferMixedSamplesCombinationNV.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkFramebufferMixedSamplesCombinationNV.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkFramebufferMixedSamplesCombinationNV.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static VkFramebufferMixedSamplesCombinationNV.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkFramebufferMixedSamplesCombinationNV.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType()
.
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext()
.
-
ncoverageReductionMode
public static int ncoverageReductionMode(long struct)
Unsafe version ofcoverageReductionMode()
.
-
nrasterizationSamples
public static int nrasterizationSamples(long struct)
Unsafe version ofrasterizationSamples()
.
-
ndepthStencilSamples
public static int ndepthStencilSamples(long struct)
Unsafe version ofdepthStencilSamples()
.
-
ncolorSamples
public static int ncolorSamples(long struct)
Unsafe version ofcolorSamples()
.
-
nsType
public static void nsType(long struct, int value)
Unsafe version ofsType
.
-
npNext
public static void npNext(long struct, long value)
Unsafe version ofpNext
.
-
-