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
GetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNVMember documentation
sType– the type of this structure.pNext–NULLor 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 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 Modifier and Type Method Description static VkFramebufferMixedSamplesCombinationNVcalloc()Returns a newVkFramebufferMixedSamplesCombinationNVinstance allocated withmemCalloc.static VkFramebufferMixedSamplesCombinationNV.Buffercalloc(int capacity)Returns a newVkFramebufferMixedSamplesCombinationNV.Bufferinstance allocated withmemCalloc.static VkFramebufferMixedSamplesCombinationNVcallocStack()Returns a newVkFramebufferMixedSamplesCombinationNVinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkFramebufferMixedSamplesCombinationNV.BuffercallocStack(int capacity)Returns a newVkFramebufferMixedSamplesCombinationNV.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkFramebufferMixedSamplesCombinationNV.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkFramebufferMixedSamplesCombinationNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkFramebufferMixedSamplesCombinationNVcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkFramebufferMixedSamplesCombinationNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.intcolorSamples()Returns the value of thecolorSamplesfield.intcoverageReductionMode()Returns the value of thecoverageReductionModefield.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()Returns the value of thedepthStencilSamplesfield.static VkFramebufferMixedSamplesCombinationNVmalloc()Returns a newVkFramebufferMixedSamplesCombinationNVinstance allocated withmemAlloc.static VkFramebufferMixedSamplesCombinationNV.Buffermalloc(int capacity)Returns a newVkFramebufferMixedSamplesCombinationNV.Bufferinstance allocated withmemAlloc.static VkFramebufferMixedSamplesCombinationNVmallocStack()Returns a newVkFramebufferMixedSamplesCombinationNVinstance allocated on the thread-localMemoryStack.static VkFramebufferMixedSamplesCombinationNV.BuffermallocStack(int capacity)Returns a newVkFramebufferMixedSamplesCombinationNV.Bufferinstance allocated on the thread-localMemoryStack.static VkFramebufferMixedSamplesCombinationNV.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkFramebufferMixedSamplesCombinationNV.Bufferinstance allocated on the specifiedMemoryStack.static VkFramebufferMixedSamplesCombinationNVmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkFramebufferMixedSamplesCombinationNVinstance allocated on the specifiedMemoryStack.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()Returns the value of thepNextfield.VkFramebufferMixedSamplesCombinationNVpNext(long value)Sets the specified value to thepNextfield.intrasterizationSamples()Returns the value of therasterizationSamplesfield.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()Returns the value of thesTypefield.VkFramebufferMixedSamplesCombinationNVsType(int value)Sets the specified value to thesTypefield.
-
-
-
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()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
coverageReductionMode
public int coverageReductionMode()
Returns the value of thecoverageReductionModefield.
-
rasterizationSamples
public int rasterizationSamples()
Returns the value of therasterizationSamplesfield.
-
depthStencilSamples
public int depthStencilSamples()
Returns the value of thedepthStencilSamplesfield.
-
colorSamples
public int colorSamples()
Returns the value of thecolorSamplesfield.
-
sType
public VkFramebufferMixedSamplesCombinationNV sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkFramebufferMixedSamplesCombinationNV pNext(long value)
Sets the specified value to thepNextfield.
-
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
public static VkFramebufferMixedSamplesCombinationNV mallocStack()
Returns a newVkFramebufferMixedSamplesCombinationNVinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkFramebufferMixedSamplesCombinationNV callocStack()
Returns a newVkFramebufferMixedSamplesCombinationNVinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkFramebufferMixedSamplesCombinationNV mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkFramebufferMixedSamplesCombinationNVinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkFramebufferMixedSamplesCombinationNV callocStack(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
-
mallocStack
public static VkFramebufferMixedSamplesCombinationNV.Buffer mallocStack(int capacity)
Returns a newVkFramebufferMixedSamplesCombinationNV.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkFramebufferMixedSamplesCombinationNV.Buffer callocStack(int capacity)
Returns a newVkFramebufferMixedSamplesCombinationNV.Bufferinstance allocated on the thread-localMemoryStackand 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.Bufferinstance 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.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.
-
-