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.NativeResourceStructure specifying a supported sample count combination.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_FRAMEBUFFER_MIXED_SAMPLES_COMBINATION_NVpNextmust beNULL
See Also
GetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNVLayout
struct VkFramebufferMixedSamplesCombinationNV { VkStructureTypesType(); void *pNext(); VkCoverageReductionModeNVcoverageReductionMode(); VkSampleCountFlagBitsrasterizationSamples(); VkSampleCountFlagsdepthStencilSamples(); VkSampleCountFlagscolorSamples(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkFramebufferMixedSamplesCombinationNV.BufferAn array ofVkFramebufferMixedSamplesCombinationNVstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intCOLORSAMPLES
COVERAGEREDUCTIONMODE
DEPTHSTENCILSAMPLES
PNEXT
RASTERIZATIONSAMPLESThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkFramebufferMixedSamplesCombinationNV(java.nio.ByteBuffer container)Creates aVkFramebufferMixedSamplesCombinationNVinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static VkFramebufferMixedSamplesCombinationNVcalloc()Returns a newVkFramebufferMixedSamplesCombinationNVinstance allocated withmemCalloc.static VkFramebufferMixedSamplesCombinationNV.Buffercalloc(int capacity)Returns a newVkFramebufferMixedSamplesCombinationNV.Bufferinstance allocated withmemCalloc.static VkFramebufferMixedSamplesCombinationNV.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkFramebufferMixedSamplesCombinationNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkFramebufferMixedSamplesCombinationNVcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkFramebufferMixedSamplesCombinationNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkFramebufferMixedSamplesCombinationNVcallocStack()Deprecated.static VkFramebufferMixedSamplesCombinationNV.BuffercallocStack(int capacity)Deprecated.static VkFramebufferMixedSamplesCombinationNV.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkFramebufferMixedSamplesCombinationNVcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.intcolorSamples()specifies the number of color samples in a color attachment in the supported combination.intcoverageReductionMode()aVkCoverageReductionModeNVvalue specifying the coverage reduction mode.static VkFramebufferMixedSamplesCombinationNVcreate()Returns a newVkFramebufferMixedSamplesCombinationNVinstance allocated withBufferUtils.static VkFramebufferMixedSamplesCombinationNV.Buffercreate(int capacity)Returns a newVkFramebufferMixedSamplesCombinationNV.Bufferinstance allocated withBufferUtils.static VkFramebufferMixedSamplesCombinationNVcreate(long address)Returns a newVkFramebufferMixedSamplesCombinationNVinstance for the specified memory address.static VkFramebufferMixedSamplesCombinationNV.Buffercreate(long address, int capacity)Create aVkFramebufferMixedSamplesCombinationNV.Bufferinstance at the specified memory.static VkFramebufferMixedSamplesCombinationNVcreateSafe(long address)static VkFramebufferMixedSamplesCombinationNV.BuffercreateSafe(long address, int capacity)intdepthStencilSamples()specifies the number of samples in the depth stencil attachment in the supported combination.static VkFramebufferMixedSamplesCombinationNVmalloc()Returns a newVkFramebufferMixedSamplesCombinationNVinstance allocated withmemAlloc.static VkFramebufferMixedSamplesCombinationNV.Buffermalloc(int capacity)Returns a newVkFramebufferMixedSamplesCombinationNV.Bufferinstance allocated withmemAlloc.static VkFramebufferMixedSamplesCombinationNV.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkFramebufferMixedSamplesCombinationNV.Bufferinstance allocated on the specifiedMemoryStack.static VkFramebufferMixedSamplesCombinationNVmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkFramebufferMixedSamplesCombinationNVinstance allocated on the specifiedMemoryStack.static VkFramebufferMixedSamplesCombinationNVmallocStack()Deprecated.static VkFramebufferMixedSamplesCombinationNV.BuffermallocStack(int capacity)Deprecated.static VkFramebufferMixedSamplesCombinationNV.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkFramebufferMixedSamplesCombinationNVmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static intncolorSamples(long struct)Unsafe version ofcolorSamples().static intncoverageReductionMode(long struct)Unsafe version ofcoverageReductionMode().static intndepthStencilSamples(long struct)Unsafe version ofdepthStencilSamples().static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnrasterizationSamples(long struct)Unsafe version ofrasterizationSamples().static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()NULLor a pointer to a structure extending this structure.VkFramebufferMixedSamplesCombinationNVpNext(long value)Sets the specified value to thepNext()field.intrasterizationSamples()aVkSampleCountFlagBitsspecifying the number of rasterization samples in the supported combination.VkFramebufferMixedSamplesCombinationNVset(int sType, long pNext)Initializes this struct with the specified values.VkFramebufferMixedSamplesCombinationNVset(VkFramebufferMixedSamplesCombinationNV src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkFramebufferMixedSamplesCombinationNVsType(int value)Sets the specified value to thesType()field.VkFramebufferMixedSamplesCombinationNVsType$Default()Sets theSTRUCTURE_TYPE_FRAMEBUFFER_MIXED_SAMPLES_COMBINATION_NVvalue to thesType()field.
-
-
-
Constructor Detail
-
VkFramebufferMixedSamplesCombinationNV
public VkFramebufferMixedSamplesCombinationNV(java.nio.ByteBuffer container)
Creates aVkFramebufferMixedSamplesCombinationNVinstance at the current position of the specifiedByteBuffercontainer. 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:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
coverageReductionMode
public int coverageReductionMode()
aVkCoverageReductionModeNVvalue specifying the coverage reduction mode.
-
rasterizationSamples
public int rasterizationSamples()
aVkSampleCountFlagBitsspecifying the number of rasterization samples in the supported combination.
-
depthStencilSamples
public int 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
public int 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.
-
sType
public VkFramebufferMixedSamplesCombinationNV sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkFramebufferMixedSamplesCombinationNV sType$Default()
Sets theSTRUCTURE_TYPE_FRAMEBUFFER_MIXED_SAMPLES_COMBINATION_NVvalue 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 newVkFramebufferMixedSamplesCombinationNVinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkFramebufferMixedSamplesCombinationNV calloc()
Returns a newVkFramebufferMixedSamplesCombinationNVinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkFramebufferMixedSamplesCombinationNV create()
Returns a newVkFramebufferMixedSamplesCombinationNVinstance allocated withBufferUtils.
-
create
public static VkFramebufferMixedSamplesCombinationNV create(long address)
Returns a newVkFramebufferMixedSamplesCombinationNVinstance for the specified memory address.
-
createSafe
@Nullable public static VkFramebufferMixedSamplesCombinationNV createSafe(long address)
-
malloc
public static VkFramebufferMixedSamplesCombinationNV.Buffer malloc(int capacity)
Returns a newVkFramebufferMixedSamplesCombinationNV.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkFramebufferMixedSamplesCombinationNV.Buffer calloc(int capacity)
Returns a newVkFramebufferMixedSamplesCombinationNV.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkFramebufferMixedSamplesCombinationNV.Buffer create(int capacity)
Returns a newVkFramebufferMixedSamplesCombinationNV.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkFramebufferMixedSamplesCombinationNV.Buffer create(long address, int capacity)
Create aVkFramebufferMixedSamplesCombinationNV.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkFramebufferMixedSamplesCombinationNV.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkFramebufferMixedSamplesCombinationNV mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkFramebufferMixedSamplesCombinationNV callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkFramebufferMixedSamplesCombinationNV mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkFramebufferMixedSamplesCombinationNV callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkFramebufferMixedSamplesCombinationNV.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkFramebufferMixedSamplesCombinationNV.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkFramebufferMixedSamplesCombinationNV.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkFramebufferMixedSamplesCombinationNV.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkFramebufferMixedSamplesCombinationNV malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkFramebufferMixedSamplesCombinationNVinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkFramebufferMixedSamplesCombinationNV calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkFramebufferMixedSamplesCombinationNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkFramebufferMixedSamplesCombinationNV.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkFramebufferMixedSamplesCombinationNV.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkFramebufferMixedSamplesCombinationNV.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkFramebufferMixedSamplesCombinationNV.Bufferinstance allocated on the specifiedMemoryStackand 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.
-
-