Package org.lwjgl.vulkan
Class VkRenderPassMultiviewCreateInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkRenderPassMultiviewCreateInfo
-
- org.lwjgl.vulkan.VkRenderPassMultiviewCreateInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkRenderPassMultiviewCreateInfoKHR extends VkRenderPassMultiviewCreateInfo
SeeVkRenderPassMultiviewCreateInfo.Layout
struct VkRenderPassMultiviewCreateInfoKHR { VkStructureType sType; void const * pNext; uint32_t subpassCount; uint32_t const * pViewMasks; uint32_t dependencyCount; int32_t const * pViewOffsets; uint32_t correlationMaskCount; uint32_t const * pCorrelationMasks; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkRenderPassMultiviewCreateInfoKHR.BufferAn array ofVkRenderPassMultiviewCreateInfoKHRstructs.
-
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.VkRenderPassMultiviewCreateInfo
ALIGNOF, CORRELATIONMASKCOUNT, DEPENDENCYCOUNT, PCORRELATIONMASKS, PNEXT, PVIEWMASKS, PVIEWOFFSETS, SIZEOF, STYPE, SUBPASSCOUNT
-
-
Constructor Summary
Constructors Constructor Description VkRenderPassMultiviewCreateInfoKHR(java.nio.ByteBuffer container)Creates aVkRenderPassMultiviewCreateInfoKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkRenderPassMultiviewCreateInfoKHRcalloc()Returns a newVkRenderPassMultiviewCreateInfoKHRinstance allocated withmemCalloc.static VkRenderPassMultiviewCreateInfoKHR.Buffercalloc(int capacity)Returns a newVkRenderPassMultiviewCreateInfoKHR.Bufferinstance allocated withmemCalloc.static VkRenderPassMultiviewCreateInfoKHRcallocStack()Returns a newVkRenderPassMultiviewCreateInfoKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkRenderPassMultiviewCreateInfoKHR.BuffercallocStack(int capacity)Returns a newVkRenderPassMultiviewCreateInfoKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkRenderPassMultiviewCreateInfoKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkRenderPassMultiviewCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkRenderPassMultiviewCreateInfoKHRcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkRenderPassMultiviewCreateInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkRenderPassMultiviewCreateInfoKHRcreate()Returns a newVkRenderPassMultiviewCreateInfoKHRinstance allocated withBufferUtils.static VkRenderPassMultiviewCreateInfoKHR.Buffercreate(int capacity)Returns a newVkRenderPassMultiviewCreateInfoKHR.Bufferinstance allocated withBufferUtils.static VkRenderPassMultiviewCreateInfoKHRcreate(long address)Returns a newVkRenderPassMultiviewCreateInfoKHRinstance for the specified memory address.static VkRenderPassMultiviewCreateInfoKHR.Buffercreate(long address, int capacity)Create aVkRenderPassMultiviewCreateInfoKHR.Bufferinstance at the specified memory.static VkRenderPassMultiviewCreateInfoKHRcreateSafe(long address)static VkRenderPassMultiviewCreateInfoKHR.BuffercreateSafe(long address, int capacity)static VkRenderPassMultiviewCreateInfoKHRmalloc()Returns a newVkRenderPassMultiviewCreateInfoKHRinstance allocated withmemAlloc.static VkRenderPassMultiviewCreateInfoKHR.Buffermalloc(int capacity)Returns a newVkRenderPassMultiviewCreateInfoKHR.Bufferinstance allocated withmemAlloc.static VkRenderPassMultiviewCreateInfoKHRmallocStack()Returns a newVkRenderPassMultiviewCreateInfoKHRinstance allocated on the thread-localMemoryStack.static VkRenderPassMultiviewCreateInfoKHR.BuffermallocStack(int capacity)Returns a newVkRenderPassMultiviewCreateInfoKHR.Bufferinstance allocated on the thread-localMemoryStack.static VkRenderPassMultiviewCreateInfoKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkRenderPassMultiviewCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkRenderPassMultiviewCreateInfoKHRmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkRenderPassMultiviewCreateInfoKHRinstance allocated on the specifiedMemoryStack.VkRenderPassMultiviewCreateInfoKHRpCorrelationMasks(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thepCorrelationMasksfield.VkRenderPassMultiviewCreateInfoKHRpNext(long value)Sets the specified value to thepNextfield.VkRenderPassMultiviewCreateInfoKHRpViewMasks(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thepViewMasksfield.VkRenderPassMultiviewCreateInfoKHRpViewOffsets(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thepViewOffsetsfield.VkRenderPassMultiviewCreateInfoKHRset(int sType, long pNext, java.nio.IntBuffer pViewMasks, java.nio.IntBuffer pViewOffsets, java.nio.IntBuffer pCorrelationMasks)Initializes this struct with the specified values.VkRenderPassMultiviewCreateInfoKHRset(VkRenderPassMultiviewCreateInfoKHR src)Copies the specified struct data to this struct.VkRenderPassMultiviewCreateInfoKHRsType(int value)Sets the specified value to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkRenderPassMultiviewCreateInfo
correlationMaskCount, dependencyCount, ncorrelationMaskCount, ncorrelationMaskCount, ndependencyCount, ndependencyCount, npCorrelationMasks, npCorrelationMasks, npNext, npNext, npViewMasks, npViewMasks, npViewOffsets, npViewOffsets, nsType, nsType, nsubpassCount, nsubpassCount, pCorrelationMasks, pNext, pViewMasks, pViewOffsets, set, sizeof, sType, subpassCount, validate, validate
-
-
-
-
Constructor Detail
-
VkRenderPassMultiviewCreateInfoKHR
public VkRenderPassMultiviewCreateInfoKHR(java.nio.ByteBuffer container)
Creates aVkRenderPassMultiviewCreateInfoKHRinstance 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 VkRenderPassMultiviewCreateInfoKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkRenderPassMultiviewCreateInfo
-
pNext
public VkRenderPassMultiviewCreateInfoKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkRenderPassMultiviewCreateInfo
-
pViewMasks
public VkRenderPassMultiviewCreateInfoKHR pViewMasks(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thepViewMasksfield.- Overrides:
pViewMasksin classVkRenderPassMultiviewCreateInfo
-
pViewOffsets
public VkRenderPassMultiviewCreateInfoKHR pViewOffsets(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thepViewOffsetsfield.- Overrides:
pViewOffsetsin classVkRenderPassMultiviewCreateInfo
-
pCorrelationMasks
public VkRenderPassMultiviewCreateInfoKHR pCorrelationMasks(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thepCorrelationMasksfield.- Overrides:
pCorrelationMasksin classVkRenderPassMultiviewCreateInfo
-
set
public VkRenderPassMultiviewCreateInfoKHR set(int sType, long pNext, @Nullable java.nio.IntBuffer pViewMasks, @Nullable java.nio.IntBuffer pViewOffsets, @Nullable java.nio.IntBuffer pCorrelationMasks)
Initializes this struct with the specified values.- Overrides:
setin classVkRenderPassMultiviewCreateInfo
-
set
public VkRenderPassMultiviewCreateInfoKHR set(VkRenderPassMultiviewCreateInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkRenderPassMultiviewCreateInfoKHR malloc()
Returns a newVkRenderPassMultiviewCreateInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkRenderPassMultiviewCreateInfoKHR calloc()
Returns a newVkRenderPassMultiviewCreateInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkRenderPassMultiviewCreateInfoKHR create()
Returns a newVkRenderPassMultiviewCreateInfoKHRinstance allocated withBufferUtils.
-
create
public static VkRenderPassMultiviewCreateInfoKHR create(long address)
Returns a newVkRenderPassMultiviewCreateInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkRenderPassMultiviewCreateInfoKHR createSafe(long address)
-
malloc
public static VkRenderPassMultiviewCreateInfoKHR.Buffer malloc(int capacity)
Returns a newVkRenderPassMultiviewCreateInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkRenderPassMultiviewCreateInfoKHR.Buffer calloc(int capacity)
Returns a newVkRenderPassMultiviewCreateInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkRenderPassMultiviewCreateInfoKHR.Buffer create(int capacity)
Returns a newVkRenderPassMultiviewCreateInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkRenderPassMultiviewCreateInfoKHR.Buffer create(long address, int capacity)
Create aVkRenderPassMultiviewCreateInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkRenderPassMultiviewCreateInfoKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkRenderPassMultiviewCreateInfoKHR mallocStack()
Returns a newVkRenderPassMultiviewCreateInfoKHRinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkRenderPassMultiviewCreateInfoKHR callocStack()
Returns a newVkRenderPassMultiviewCreateInfoKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkRenderPassMultiviewCreateInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassMultiviewCreateInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkRenderPassMultiviewCreateInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassMultiviewCreateInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkRenderPassMultiviewCreateInfoKHR.Buffer mallocStack(int capacity)
Returns a newVkRenderPassMultiviewCreateInfoKHR.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkRenderPassMultiviewCreateInfoKHR.Buffer callocStack(int capacity)
Returns a newVkRenderPassMultiviewCreateInfoKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkRenderPassMultiviewCreateInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassMultiviewCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkRenderPassMultiviewCreateInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassMultiviewCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-