Package org.lwjgl.vulkan
Class VkRenderPassAttachmentBeginInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkRenderPassAttachmentBeginInfo
-
- org.lwjgl.vulkan.VkRenderPassAttachmentBeginInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkRenderPassAttachmentBeginInfoKHR extends VkRenderPassAttachmentBeginInfo
SeeVkRenderPassAttachmentBeginInfo.Layout
struct VkRenderPassAttachmentBeginInfoKHR { VkStructureType sType; void const * pNext; uint32_t attachmentCount; VkImageView const * pAttachments; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkRenderPassAttachmentBeginInfoKHR.BufferAn array ofVkRenderPassAttachmentBeginInfoKHRstructs.
-
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.VkRenderPassAttachmentBeginInfo
ALIGNOF, ATTACHMENTCOUNT, PATTACHMENTS, PNEXT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkRenderPassAttachmentBeginInfoKHR(java.nio.ByteBuffer container)Creates aVkRenderPassAttachmentBeginInfoKHRinstance 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 VkRenderPassAttachmentBeginInfoKHRcalloc()Returns a newVkRenderPassAttachmentBeginInfoKHRinstance allocated withmemCalloc.static VkRenderPassAttachmentBeginInfoKHR.Buffercalloc(int capacity)Returns a newVkRenderPassAttachmentBeginInfoKHR.Bufferinstance allocated withmemCalloc.static VkRenderPassAttachmentBeginInfoKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkRenderPassAttachmentBeginInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkRenderPassAttachmentBeginInfoKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkRenderPassAttachmentBeginInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkRenderPassAttachmentBeginInfoKHRcallocStack()Deprecated.static VkRenderPassAttachmentBeginInfoKHR.BuffercallocStack(int capacity)Deprecated.static VkRenderPassAttachmentBeginInfoKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkRenderPassAttachmentBeginInfoKHRcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkRenderPassAttachmentBeginInfoKHRcreate()Returns a newVkRenderPassAttachmentBeginInfoKHRinstance allocated withBufferUtils.static VkRenderPassAttachmentBeginInfoKHR.Buffercreate(int capacity)Returns a newVkRenderPassAttachmentBeginInfoKHR.Bufferinstance allocated withBufferUtils.static VkRenderPassAttachmentBeginInfoKHRcreate(long address)Returns a newVkRenderPassAttachmentBeginInfoKHRinstance for the specified memory address.static VkRenderPassAttachmentBeginInfoKHR.Buffercreate(long address, int capacity)Create aVkRenderPassAttachmentBeginInfoKHR.Bufferinstance at the specified memory.static VkRenderPassAttachmentBeginInfoKHRcreateSafe(long address)static VkRenderPassAttachmentBeginInfoKHR.BuffercreateSafe(long address, int capacity)static VkRenderPassAttachmentBeginInfoKHRmalloc()Returns a newVkRenderPassAttachmentBeginInfoKHRinstance allocated withmemAlloc.static VkRenderPassAttachmentBeginInfoKHR.Buffermalloc(int capacity)Returns a newVkRenderPassAttachmentBeginInfoKHR.Bufferinstance allocated withmemAlloc.static VkRenderPassAttachmentBeginInfoKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkRenderPassAttachmentBeginInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkRenderPassAttachmentBeginInfoKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkRenderPassAttachmentBeginInfoKHRinstance allocated on the specifiedMemoryStack.static VkRenderPassAttachmentBeginInfoKHRmallocStack()Deprecated.static VkRenderPassAttachmentBeginInfoKHR.BuffermallocStack(int capacity)Deprecated.static VkRenderPassAttachmentBeginInfoKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkRenderPassAttachmentBeginInfoKHRmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.VkRenderPassAttachmentBeginInfoKHRpAttachments(java.nio.LongBuffer value)Sets the address of the specifiedLongBufferto thepAttachmentsfield.VkRenderPassAttachmentBeginInfoKHRpNext(long value)Sets the specified value to thepNextfield.VkRenderPassAttachmentBeginInfoKHRset(int sType, long pNext, java.nio.LongBuffer pAttachments)Initializes this struct with the specified values.VkRenderPassAttachmentBeginInfoKHRset(VkRenderPassAttachmentBeginInfoKHR src)Copies the specified struct data to this struct.VkRenderPassAttachmentBeginInfoKHRsType(int value)Sets the specified value to thesTypefield.VkRenderPassAttachmentBeginInfoKHRsType$Default()Sets theSTRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFOvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkRenderPassAttachmentBeginInfo
attachmentCount, nattachmentCount, nattachmentCount, npAttachments, npAttachments, npNext, npNext, nsType, nsType, pAttachments, pNext, set, sizeof, sType, validate
-
-
-
-
Constructor Detail
-
VkRenderPassAttachmentBeginInfoKHR
public VkRenderPassAttachmentBeginInfoKHR(java.nio.ByteBuffer container)
Creates aVkRenderPassAttachmentBeginInfoKHRinstance 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 VkRenderPassAttachmentBeginInfoKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkRenderPassAttachmentBeginInfo
-
sType$Default
public VkRenderPassAttachmentBeginInfoKHR sType$Default()
Sets theSTRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkRenderPassAttachmentBeginInfo
-
pNext
public VkRenderPassAttachmentBeginInfoKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkRenderPassAttachmentBeginInfo
-
pAttachments
public VkRenderPassAttachmentBeginInfoKHR pAttachments(@Nullable java.nio.LongBuffer value)
Sets the address of the specifiedLongBufferto thepAttachmentsfield.- Overrides:
pAttachmentsin classVkRenderPassAttachmentBeginInfo
-
set
public VkRenderPassAttachmentBeginInfoKHR set(int sType, long pNext, @Nullable java.nio.LongBuffer pAttachments)
Initializes this struct with the specified values.- Overrides:
setin classVkRenderPassAttachmentBeginInfo
-
set
public VkRenderPassAttachmentBeginInfoKHR set(VkRenderPassAttachmentBeginInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkRenderPassAttachmentBeginInfoKHR malloc()
Returns a newVkRenderPassAttachmentBeginInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkRenderPassAttachmentBeginInfoKHR calloc()
Returns a newVkRenderPassAttachmentBeginInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkRenderPassAttachmentBeginInfoKHR create()
Returns a newVkRenderPassAttachmentBeginInfoKHRinstance allocated withBufferUtils.
-
create
public static VkRenderPassAttachmentBeginInfoKHR create(long address)
Returns a newVkRenderPassAttachmentBeginInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkRenderPassAttachmentBeginInfoKHR createSafe(long address)
-
malloc
public static VkRenderPassAttachmentBeginInfoKHR.Buffer malloc(int capacity)
Returns a newVkRenderPassAttachmentBeginInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkRenderPassAttachmentBeginInfoKHR.Buffer calloc(int capacity)
Returns a newVkRenderPassAttachmentBeginInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkRenderPassAttachmentBeginInfoKHR.Buffer create(int capacity)
Returns a newVkRenderPassAttachmentBeginInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkRenderPassAttachmentBeginInfoKHR.Buffer create(long address, int capacity)
Create aVkRenderPassAttachmentBeginInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkRenderPassAttachmentBeginInfoKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkRenderPassAttachmentBeginInfoKHR mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkRenderPassAttachmentBeginInfoKHR callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkRenderPassAttachmentBeginInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkRenderPassAttachmentBeginInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkRenderPassAttachmentBeginInfoKHR.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkRenderPassAttachmentBeginInfoKHR.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkRenderPassAttachmentBeginInfoKHR.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 VkRenderPassAttachmentBeginInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkRenderPassAttachmentBeginInfoKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassAttachmentBeginInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkRenderPassAttachmentBeginInfoKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassAttachmentBeginInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkRenderPassAttachmentBeginInfoKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassAttachmentBeginInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkRenderPassAttachmentBeginInfoKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassAttachmentBeginInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-