Package org.lwjgl.vulkan
Class VkRenderPassCreateInfo2KHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkRenderPassCreateInfo2
-
- org.lwjgl.vulkan.VkRenderPassCreateInfo2KHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkRenderPassCreateInfo2KHR extends VkRenderPassCreateInfo2
SeeVkRenderPassCreateInfo2.Layout
struct VkRenderPassCreateInfo2KHR { VkStructureType sType; void const * pNext; VkRenderPassCreateFlags flags; uint32_t attachmentCount;VkAttachmentDescription2const * pAttachments; uint32_t subpassCount;VkSubpassDescription2const * pSubpasses; uint32_t dependencyCount;VkSubpassDependency2const * pDependencies; uint32_t correlatedViewMaskCount; uint32_t const * pCorrelatedViewMasks; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkRenderPassCreateInfo2KHR.BufferAn array ofVkRenderPassCreateInfo2KHRstructs.
-
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.VkRenderPassCreateInfo2
ALIGNOF, ATTACHMENTCOUNT, CORRELATEDVIEWMASKCOUNT, DEPENDENCYCOUNT, FLAGS, PATTACHMENTS, PCORRELATEDVIEWMASKS, PDEPENDENCIES, PNEXT, PSUBPASSES, SIZEOF, STYPE, SUBPASSCOUNT
-
-
Constructor Summary
Constructors Constructor Description VkRenderPassCreateInfo2KHR(java.nio.ByteBuffer container)Creates aVkRenderPassCreateInfo2KHRinstance 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 VkRenderPassCreateInfo2KHRcalloc()Returns a newVkRenderPassCreateInfo2KHRinstance allocated withmemCalloc.static VkRenderPassCreateInfo2KHR.Buffercalloc(int capacity)Returns a newVkRenderPassCreateInfo2KHR.Bufferinstance allocated withmemCalloc.static VkRenderPassCreateInfo2KHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkRenderPassCreateInfo2KHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkRenderPassCreateInfo2KHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkRenderPassCreateInfo2KHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkRenderPassCreateInfo2KHRcallocStack()Deprecated.static VkRenderPassCreateInfo2KHR.BuffercallocStack(int capacity)Deprecated.static VkRenderPassCreateInfo2KHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkRenderPassCreateInfo2KHRcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkRenderPassCreateInfo2KHRcreate()Returns a newVkRenderPassCreateInfo2KHRinstance allocated withBufferUtils.static VkRenderPassCreateInfo2KHR.Buffercreate(int capacity)Returns a newVkRenderPassCreateInfo2KHR.Bufferinstance allocated withBufferUtils.static VkRenderPassCreateInfo2KHRcreate(long address)Returns a newVkRenderPassCreateInfo2KHRinstance for the specified memory address.static VkRenderPassCreateInfo2KHR.Buffercreate(long address, int capacity)Create aVkRenderPassCreateInfo2KHR.Bufferinstance at the specified memory.static VkRenderPassCreateInfo2KHRcreateSafe(long address)static VkRenderPassCreateInfo2KHR.BuffercreateSafe(long address, int capacity)VkRenderPassCreateInfo2KHRflags(int value)Sets the specified value to theflagsfield.static VkRenderPassCreateInfo2KHRmalloc()Returns a newVkRenderPassCreateInfo2KHRinstance allocated withmemAlloc.static VkRenderPassCreateInfo2KHR.Buffermalloc(int capacity)Returns a newVkRenderPassCreateInfo2KHR.Bufferinstance allocated withmemAlloc.static VkRenderPassCreateInfo2KHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkRenderPassCreateInfo2KHR.Bufferinstance allocated on the specifiedMemoryStack.static VkRenderPassCreateInfo2KHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkRenderPassCreateInfo2KHRinstance allocated on the specifiedMemoryStack.static VkRenderPassCreateInfo2KHRmallocStack()Deprecated.static VkRenderPassCreateInfo2KHR.BuffermallocStack(int capacity)Deprecated.static VkRenderPassCreateInfo2KHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkRenderPassCreateInfo2KHRmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.VkRenderPassCreateInfo2KHRpAttachments(VkAttachmentDescription2.Buffer value)Sets the address of the specifiedVkAttachmentDescription2.Bufferto thepAttachmentsfield.VkRenderPassCreateInfo2KHRpCorrelatedViewMasks(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thepCorrelatedViewMasksfield.VkRenderPassCreateInfo2KHRpDependencies(VkSubpassDependency2.Buffer value)Sets the address of the specifiedVkSubpassDependency2.Bufferto thepDependenciesfield.VkRenderPassCreateInfo2KHRpNext(long value)Sets the specified value to thepNextfield.VkRenderPassCreateInfo2KHRpSubpasses(VkSubpassDescription2.Buffer value)Sets the address of the specifiedVkSubpassDescription2.Bufferto thepSubpassesfield.VkRenderPassCreateInfo2KHRset(int sType, long pNext, int flags, VkAttachmentDescription2.Buffer pAttachments, VkSubpassDescription2.Buffer pSubpasses, VkSubpassDependency2.Buffer pDependencies, java.nio.IntBuffer pCorrelatedViewMasks)Initializes this struct with the specified values.VkRenderPassCreateInfo2KHRset(VkRenderPassCreateInfo2KHR src)Copies the specified struct data to this struct.VkRenderPassCreateInfo2KHRsType(int value)Sets the specified value to thesTypefield.VkRenderPassCreateInfo2KHRsType$Default()Sets theSTRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2value to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkRenderPassCreateInfo2
attachmentCount, correlatedViewMaskCount, dependencyCount, flags, nattachmentCount, nattachmentCount, ncorrelatedViewMaskCount, ncorrelatedViewMaskCount, ndependencyCount, ndependencyCount, nflags, nflags, npAttachments, npAttachments, npCorrelatedViewMasks, npCorrelatedViewMasks, npDependencies, npDependencies, npNext, npNext, npSubpasses, npSubpasses, nsType, nsType, nsubpassCount, nsubpassCount, pAttachments, pCorrelatedViewMasks, pDependencies, pNext, pNext, pSubpasses, set, sizeof, sType, subpassCount, validate
-
-
-
-
Constructor Detail
-
VkRenderPassCreateInfo2KHR
public VkRenderPassCreateInfo2KHR(java.nio.ByteBuffer container)
Creates aVkRenderPassCreateInfo2KHRinstance 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 VkRenderPassCreateInfo2KHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkRenderPassCreateInfo2
-
sType$Default
public VkRenderPassCreateInfo2KHR sType$Default()
Sets theSTRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2value to thesTypefield.- Overrides:
sType$Defaultin classVkRenderPassCreateInfo2
-
pNext
public VkRenderPassCreateInfo2KHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkRenderPassCreateInfo2
-
flags
public VkRenderPassCreateInfo2KHR flags(int value)
Sets the specified value to theflagsfield.- Overrides:
flagsin classVkRenderPassCreateInfo2
-
pAttachments
public VkRenderPassCreateInfo2KHR pAttachments(@Nullable VkAttachmentDescription2.Buffer value)
Sets the address of the specifiedVkAttachmentDescription2.Bufferto thepAttachmentsfield.- Overrides:
pAttachmentsin classVkRenderPassCreateInfo2
-
pSubpasses
public VkRenderPassCreateInfo2KHR pSubpasses(VkSubpassDescription2.Buffer value)
Sets the address of the specifiedVkSubpassDescription2.Bufferto thepSubpassesfield.- Overrides:
pSubpassesin classVkRenderPassCreateInfo2
-
pDependencies
public VkRenderPassCreateInfo2KHR pDependencies(@Nullable VkSubpassDependency2.Buffer value)
Sets the address of the specifiedVkSubpassDependency2.Bufferto thepDependenciesfield.- Overrides:
pDependenciesin classVkRenderPassCreateInfo2
-
pCorrelatedViewMasks
public VkRenderPassCreateInfo2KHR pCorrelatedViewMasks(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thepCorrelatedViewMasksfield.- Overrides:
pCorrelatedViewMasksin classVkRenderPassCreateInfo2
-
set
public VkRenderPassCreateInfo2KHR set(int sType, long pNext, int flags, @Nullable VkAttachmentDescription2.Buffer pAttachments, VkSubpassDescription2.Buffer pSubpasses, @Nullable VkSubpassDependency2.Buffer pDependencies, @Nullable java.nio.IntBuffer pCorrelatedViewMasks)
Initializes this struct with the specified values.- Overrides:
setin classVkRenderPassCreateInfo2
-
set
public VkRenderPassCreateInfo2KHR set(VkRenderPassCreateInfo2KHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkRenderPassCreateInfo2KHR malloc()
Returns a newVkRenderPassCreateInfo2KHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkRenderPassCreateInfo2KHR calloc()
Returns a newVkRenderPassCreateInfo2KHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkRenderPassCreateInfo2KHR create()
Returns a newVkRenderPassCreateInfo2KHRinstance allocated withBufferUtils.
-
create
public static VkRenderPassCreateInfo2KHR create(long address)
Returns a newVkRenderPassCreateInfo2KHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkRenderPassCreateInfo2KHR createSafe(long address)
-
malloc
public static VkRenderPassCreateInfo2KHR.Buffer malloc(int capacity)
Returns a newVkRenderPassCreateInfo2KHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkRenderPassCreateInfo2KHR.Buffer calloc(int capacity)
Returns a newVkRenderPassCreateInfo2KHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkRenderPassCreateInfo2KHR.Buffer create(int capacity)
Returns a newVkRenderPassCreateInfo2KHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkRenderPassCreateInfo2KHR.Buffer create(long address, int capacity)
Create aVkRenderPassCreateInfo2KHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkRenderPassCreateInfo2KHR.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkRenderPassCreateInfo2KHR mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkRenderPassCreateInfo2KHR callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkRenderPassCreateInfo2KHR mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkRenderPassCreateInfo2KHR callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkRenderPassCreateInfo2KHR.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkRenderPassCreateInfo2KHR.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkRenderPassCreateInfo2KHR.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 VkRenderPassCreateInfo2KHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkRenderPassCreateInfo2KHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassCreateInfo2KHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkRenderPassCreateInfo2KHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassCreateInfo2KHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkRenderPassCreateInfo2KHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassCreateInfo2KHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkRenderPassCreateInfo2KHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassCreateInfo2KHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-