Package org.lwjgl.vulkan
Class VkAttachmentSampleCountInfoNV
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkAttachmentSampleCountInfoAMD
-
- org.lwjgl.vulkan.VkAttachmentSampleCountInfoNV
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkAttachmentSampleCountInfoNV extends VkAttachmentSampleCountInfoAMD
SeeVkAttachmentSampleCountInfoAMD.Layout
struct VkAttachmentSampleCountInfoNV { VkStructureType sType; void const * pNext; uint32_t colorAttachmentCount; VkSampleCountFlagBits const * pColorAttachmentSamples; VkSampleCountFlagBits depthStencilAttachmentSamples; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkAttachmentSampleCountInfoNV.BufferAn array ofVkAttachmentSampleCountInfoNVstructs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VkAttachmentSampleCountInfoAMD
ALIGNOF, COLORATTACHMENTCOUNT, DEPTHSTENCILATTACHMENTSAMPLES, PCOLORATTACHMENTSAMPLES, PNEXT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkAttachmentSampleCountInfoNV(java.nio.ByteBuffer container)Creates aVkAttachmentSampleCountInfoNVinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkAttachmentSampleCountInfoNVcalloc()Returns a newVkAttachmentSampleCountInfoNVinstance allocated withmemCalloc.static VkAttachmentSampleCountInfoNV.Buffercalloc(int capacity)Returns a newVkAttachmentSampleCountInfoNV.Bufferinstance allocated withmemCalloc.static VkAttachmentSampleCountInfoNV.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkAttachmentSampleCountInfoNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkAttachmentSampleCountInfoNVcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkAttachmentSampleCountInfoNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkAttachmentSampleCountInfoNVcreate()Returns a newVkAttachmentSampleCountInfoNVinstance allocated withBufferUtils.static VkAttachmentSampleCountInfoNV.Buffercreate(int capacity)Returns a newVkAttachmentSampleCountInfoNV.Bufferinstance allocated withBufferUtils.static VkAttachmentSampleCountInfoNVcreate(long address)Returns a newVkAttachmentSampleCountInfoNVinstance for the specified memory address.static VkAttachmentSampleCountInfoNV.Buffercreate(long address, int capacity)Create aVkAttachmentSampleCountInfoNV.Bufferinstance at the specified memory.static VkAttachmentSampleCountInfoNVcreateSafe(long address)static VkAttachmentSampleCountInfoNV.BuffercreateSafe(long address, int capacity)VkAttachmentSampleCountInfoNVdepthStencilAttachmentSamples(int value)Sets the specified value to thedepthStencilAttachmentSamplesfield.static VkAttachmentSampleCountInfoNVmalloc()Returns a newVkAttachmentSampleCountInfoNVinstance allocated withmemAlloc.static VkAttachmentSampleCountInfoNV.Buffermalloc(int capacity)Returns a newVkAttachmentSampleCountInfoNV.Bufferinstance allocated withmemAlloc.static VkAttachmentSampleCountInfoNV.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkAttachmentSampleCountInfoNV.Bufferinstance allocated on the specifiedMemoryStack.static VkAttachmentSampleCountInfoNVmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkAttachmentSampleCountInfoNVinstance allocated on the specifiedMemoryStack.VkAttachmentSampleCountInfoNVpColorAttachmentSamples(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thepColorAttachmentSamplesfield.VkAttachmentSampleCountInfoNVpNext(long value)Sets the specified value to thepNextfield.VkAttachmentSampleCountInfoNVset(int sType, long pNext, java.nio.IntBuffer pColorAttachmentSamples, int depthStencilAttachmentSamples)Initializes this struct with the specified values.VkAttachmentSampleCountInfoNVset(VkAttachmentSampleCountInfoNV src)Copies the specified struct data to this struct.VkAttachmentSampleCountInfoNVsType(int value)Sets the specified value to thesTypefield.VkAttachmentSampleCountInfoNVsType$Default()Sets theSTRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_AMDvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkAttachmentSampleCountInfoAMD
colorAttachmentCount, depthStencilAttachmentSamples, ncolorAttachmentCount, ncolorAttachmentCount, ndepthStencilAttachmentSamples, ndepthStencilAttachmentSamples, npColorAttachmentSamples, npColorAttachmentSamples, npNext, npNext, nsType, nsType, pColorAttachmentSamples, pNext, set, sizeof, sType, validate
-
-
-
-
Constructor Detail
-
VkAttachmentSampleCountInfoNV
public VkAttachmentSampleCountInfoNV(java.nio.ByteBuffer container)
Creates aVkAttachmentSampleCountInfoNVinstance 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
-
sType
public VkAttachmentSampleCountInfoNV sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkAttachmentSampleCountInfoAMD
-
sType$Default
public VkAttachmentSampleCountInfoNV sType$Default()
Sets theSTRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_AMDvalue to thesTypefield.- Overrides:
sType$Defaultin classVkAttachmentSampleCountInfoAMD
-
pNext
public VkAttachmentSampleCountInfoNV pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkAttachmentSampleCountInfoAMD
-
pColorAttachmentSamples
public VkAttachmentSampleCountInfoNV pColorAttachmentSamples(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thepColorAttachmentSamplesfield.- Overrides:
pColorAttachmentSamplesin classVkAttachmentSampleCountInfoAMD
-
depthStencilAttachmentSamples
public VkAttachmentSampleCountInfoNV depthStencilAttachmentSamples(int value)
Sets the specified value to thedepthStencilAttachmentSamplesfield.- Overrides:
depthStencilAttachmentSamplesin classVkAttachmentSampleCountInfoAMD
-
set
public VkAttachmentSampleCountInfoNV set(int sType, long pNext, @Nullable java.nio.IntBuffer pColorAttachmentSamples, int depthStencilAttachmentSamples)
Initializes this struct with the specified values.- Overrides:
setin classVkAttachmentSampleCountInfoAMD
-
set
public VkAttachmentSampleCountInfoNV set(VkAttachmentSampleCountInfoNV src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkAttachmentSampleCountInfoNV malloc()
Returns a newVkAttachmentSampleCountInfoNVinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkAttachmentSampleCountInfoNV calloc()
Returns a newVkAttachmentSampleCountInfoNVinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkAttachmentSampleCountInfoNV create()
Returns a newVkAttachmentSampleCountInfoNVinstance allocated withBufferUtils.
-
create
public static VkAttachmentSampleCountInfoNV create(long address)
Returns a newVkAttachmentSampleCountInfoNVinstance for the specified memory address.
-
createSafe
@Nullable public static VkAttachmentSampleCountInfoNV createSafe(long address)
-
malloc
public static VkAttachmentSampleCountInfoNV.Buffer malloc(int capacity)
Returns a newVkAttachmentSampleCountInfoNV.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkAttachmentSampleCountInfoNV.Buffer calloc(int capacity)
Returns a newVkAttachmentSampleCountInfoNV.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkAttachmentSampleCountInfoNV.Buffer create(int capacity)
Returns a newVkAttachmentSampleCountInfoNV.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkAttachmentSampleCountInfoNV.Buffer create(long address, int capacity)
Create aVkAttachmentSampleCountInfoNV.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkAttachmentSampleCountInfoNV.Buffer createSafe(long address, int capacity)
-
malloc
public static VkAttachmentSampleCountInfoNV malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkAttachmentSampleCountInfoNVinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkAttachmentSampleCountInfoNV calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkAttachmentSampleCountInfoNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkAttachmentSampleCountInfoNV.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkAttachmentSampleCountInfoNV.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkAttachmentSampleCountInfoNV.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkAttachmentSampleCountInfoNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-