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 class
VkRenderPassMultiviewCreateInfoKHR.Buffer
An array ofVkRenderPassMultiviewCreateInfoKHR
structs.
-
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 aVkRenderPassMultiviewCreateInfoKHR
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 VkRenderPassMultiviewCreateInfoKHR
calloc()
Returns a newVkRenderPassMultiviewCreateInfoKHR
instance allocated withmemCalloc
.static VkRenderPassMultiviewCreateInfoKHR.Buffer
calloc(int capacity)
Returns a newVkRenderPassMultiviewCreateInfoKHR.Buffer
instance allocated withmemCalloc
.static VkRenderPassMultiviewCreateInfoKHR
callocStack()
Returns a newVkRenderPassMultiviewCreateInfoKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkRenderPassMultiviewCreateInfoKHR.Buffer
callocStack(int capacity)
Returns a newVkRenderPassMultiviewCreateInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkRenderPassMultiviewCreateInfoKHR.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassMultiviewCreateInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkRenderPassMultiviewCreateInfoKHR
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassMultiviewCreateInfoKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkRenderPassMultiviewCreateInfoKHR
create()
Returns a newVkRenderPassMultiviewCreateInfoKHR
instance allocated withBufferUtils
.static VkRenderPassMultiviewCreateInfoKHR.Buffer
create(int capacity)
Returns a newVkRenderPassMultiviewCreateInfoKHR.Buffer
instance allocated withBufferUtils
.static VkRenderPassMultiviewCreateInfoKHR
create(long address)
Returns a newVkRenderPassMultiviewCreateInfoKHR
instance for the specified memory address.static VkRenderPassMultiviewCreateInfoKHR.Buffer
create(long address, int capacity)
Create aVkRenderPassMultiviewCreateInfoKHR.Buffer
instance at the specified memory.static VkRenderPassMultiviewCreateInfoKHR
createSafe(long address)
static VkRenderPassMultiviewCreateInfoKHR.Buffer
createSafe(long address, int capacity)
static VkRenderPassMultiviewCreateInfoKHR
malloc()
Returns a newVkRenderPassMultiviewCreateInfoKHR
instance allocated withmemAlloc
.static VkRenderPassMultiviewCreateInfoKHR.Buffer
malloc(int capacity)
Returns a newVkRenderPassMultiviewCreateInfoKHR.Buffer
instance allocated withmemAlloc
.static VkRenderPassMultiviewCreateInfoKHR
mallocStack()
Returns a newVkRenderPassMultiviewCreateInfoKHR
instance allocated on the thread-localMemoryStack
.static VkRenderPassMultiviewCreateInfoKHR.Buffer
mallocStack(int capacity)
Returns a newVkRenderPassMultiviewCreateInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
.static VkRenderPassMultiviewCreateInfoKHR.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassMultiviewCreateInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
.static VkRenderPassMultiviewCreateInfoKHR
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassMultiviewCreateInfoKHR
instance allocated on the specifiedMemoryStack
.VkRenderPassMultiviewCreateInfoKHR
pCorrelationMasks(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepCorrelationMasks
field.VkRenderPassMultiviewCreateInfoKHR
pNext(long value)
Sets the specified value to thepNext
field.VkRenderPassMultiviewCreateInfoKHR
pViewMasks(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepViewMasks
field.VkRenderPassMultiviewCreateInfoKHR
pViewOffsets(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepViewOffsets
field.VkRenderPassMultiviewCreateInfoKHR
set(int sType, long pNext, java.nio.IntBuffer pViewMasks, java.nio.IntBuffer pViewOffsets, java.nio.IntBuffer pCorrelationMasks)
Initializes this struct with the specified values.VkRenderPassMultiviewCreateInfoKHR
set(VkRenderPassMultiviewCreateInfoKHR src)
Copies the specified struct data to this struct.VkRenderPassMultiviewCreateInfoKHR
sType(int value)
Sets the specified value to thesType
field.-
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 aVkRenderPassMultiviewCreateInfoKHR
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
-
sType
public VkRenderPassMultiviewCreateInfoKHR sType(int value)
Sets the specified value to thesType
field.- Overrides:
sType
in classVkRenderPassMultiviewCreateInfo
-
pNext
public VkRenderPassMultiviewCreateInfoKHR pNext(long value)
Sets the specified value to thepNext
field.- Overrides:
pNext
in classVkRenderPassMultiviewCreateInfo
-
pViewMasks
public VkRenderPassMultiviewCreateInfoKHR pViewMasks(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepViewMasks
field.- Overrides:
pViewMasks
in classVkRenderPassMultiviewCreateInfo
-
pViewOffsets
public VkRenderPassMultiviewCreateInfoKHR pViewOffsets(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepViewOffsets
field.- Overrides:
pViewOffsets
in classVkRenderPassMultiviewCreateInfo
-
pCorrelationMasks
public VkRenderPassMultiviewCreateInfoKHR pCorrelationMasks(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepCorrelationMasks
field.- Overrides:
pCorrelationMasks
in 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:
set
in 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 newVkRenderPassMultiviewCreateInfoKHR
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkRenderPassMultiviewCreateInfoKHR calloc()
Returns a newVkRenderPassMultiviewCreateInfoKHR
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkRenderPassMultiviewCreateInfoKHR create()
Returns a newVkRenderPassMultiviewCreateInfoKHR
instance allocated withBufferUtils
.
-
create
public static VkRenderPassMultiviewCreateInfoKHR create(long address)
Returns a newVkRenderPassMultiviewCreateInfoKHR
instance for the specified memory address.
-
createSafe
@Nullable public static VkRenderPassMultiviewCreateInfoKHR createSafe(long address)
-
malloc
public static VkRenderPassMultiviewCreateInfoKHR.Buffer malloc(int capacity)
Returns a newVkRenderPassMultiviewCreateInfoKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkRenderPassMultiviewCreateInfoKHR.Buffer calloc(int capacity)
Returns a newVkRenderPassMultiviewCreateInfoKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkRenderPassMultiviewCreateInfoKHR.Buffer create(int capacity)
Returns a newVkRenderPassMultiviewCreateInfoKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkRenderPassMultiviewCreateInfoKHR.Buffer create(long address, int capacity)
Create aVkRenderPassMultiviewCreateInfoKHR.Buffer
instance 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 newVkRenderPassMultiviewCreateInfoKHR
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkRenderPassMultiviewCreateInfoKHR callocStack()
Returns a newVkRenderPassMultiviewCreateInfoKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkRenderPassMultiviewCreateInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassMultiviewCreateInfoKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkRenderPassMultiviewCreateInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassMultiviewCreateInfoKHR
instance allocated on the specifiedMemoryStack
and 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.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkRenderPassMultiviewCreateInfoKHR.Buffer callocStack(int capacity)
Returns a newVkRenderPassMultiviewCreateInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
and 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.Buffer
instance 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.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
-