public class VkRenderPassAttachmentBeginInfoKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
pAttachments must only specify a single mip levelpAttachments must have been created with the identity swizzlesType must be STRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFO_KHRattachmentCount is not 0, pAttachments must be a valid pointer to an array of attachmentCount valid VkImageView handlessType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.attachmentCount – the number of attachments.pAttachments – a pointer to an array of VkImageView handles, each of which will be used as the corresponding attachment in the render pass instance.
struct VkRenderPassAttachmentBeginInfoKHR {
VkStructureType sType;
void const * pNext;
uint32_t attachmentCount;
VkImageView const * pAttachments;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkRenderPassAttachmentBeginInfoKHR.Buffer
An array of
VkRenderPassAttachmentBeginInfoKHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
ATTACHMENTCOUNT
The struct member offsets.
|
static int |
PATTACHMENTS
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkRenderPassAttachmentBeginInfoKHR(java.nio.ByteBuffer container)
Creates a
VkRenderPassAttachmentBeginInfoKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
int |
attachmentCount()
Returns the value of the
attachmentCount field. |
static VkRenderPassAttachmentBeginInfoKHR |
calloc()
Returns a new
VkRenderPassAttachmentBeginInfoKHR instance allocated with memCalloc. |
static VkRenderPassAttachmentBeginInfoKHR.Buffer |
calloc(int capacity)
Returns a new
VkRenderPassAttachmentBeginInfoKHR.Buffer instance allocated with memCalloc. |
static VkRenderPassAttachmentBeginInfoKHR |
callocStack()
Returns a new
VkRenderPassAttachmentBeginInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkRenderPassAttachmentBeginInfoKHR.Buffer |
callocStack(int capacity)
Returns a new
VkRenderPassAttachmentBeginInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkRenderPassAttachmentBeginInfoKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkRenderPassAttachmentBeginInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkRenderPassAttachmentBeginInfoKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkRenderPassAttachmentBeginInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkRenderPassAttachmentBeginInfoKHR |
create()
Returns a new
VkRenderPassAttachmentBeginInfoKHR instance allocated with BufferUtils. |
static VkRenderPassAttachmentBeginInfoKHR.Buffer |
create(int capacity)
Returns a new
VkRenderPassAttachmentBeginInfoKHR.Buffer instance allocated with BufferUtils. |
static VkRenderPassAttachmentBeginInfoKHR |
create(long address)
Returns a new
VkRenderPassAttachmentBeginInfoKHR instance for the specified memory address. |
static VkRenderPassAttachmentBeginInfoKHR.Buffer |
create(long address,
int capacity)
Create a
VkRenderPassAttachmentBeginInfoKHR.Buffer instance at the specified memory. |
static VkRenderPassAttachmentBeginInfoKHR |
createSafe(long address)
|
static VkRenderPassAttachmentBeginInfoKHR.Buffer |
createSafe(long address,
int capacity)
|
static VkRenderPassAttachmentBeginInfoKHR |
malloc()
Returns a new
VkRenderPassAttachmentBeginInfoKHR instance allocated with memAlloc. |
static VkRenderPassAttachmentBeginInfoKHR.Buffer |
malloc(int capacity)
Returns a new
VkRenderPassAttachmentBeginInfoKHR.Buffer instance allocated with memAlloc. |
static VkRenderPassAttachmentBeginInfoKHR |
mallocStack()
Returns a new
VkRenderPassAttachmentBeginInfoKHR instance allocated on the thread-local MemoryStack. |
static VkRenderPassAttachmentBeginInfoKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkRenderPassAttachmentBeginInfoKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkRenderPassAttachmentBeginInfoKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkRenderPassAttachmentBeginInfoKHR.Buffer instance allocated on the specified MemoryStack. |
static VkRenderPassAttachmentBeginInfoKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkRenderPassAttachmentBeginInfoKHR instance allocated on the specified MemoryStack. |
static int |
nattachmentCount(long struct)
Unsafe version of
attachmentCount(). |
static void |
nattachmentCount(long struct,
int value)
Sets the specified value to the
attachmentCount field of the specified struct. |
static java.nio.LongBuffer |
npAttachments(long struct)
Unsafe version of
pAttachments. |
static void |
npAttachments(long struct,
java.nio.LongBuffer value)
Unsafe version of
pAttachments. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
java.nio.LongBuffer |
pAttachments()
Returns a
LongBuffer view of the data pointed to by the pAttachments field. |
VkRenderPassAttachmentBeginInfoKHR |
pAttachments(java.nio.LongBuffer value)
Sets the address of the specified
LongBuffer to the pAttachments field. |
long |
pNext()
Returns the value of the
pNext field. |
VkRenderPassAttachmentBeginInfoKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkRenderPassAttachmentBeginInfoKHR |
set(int sType,
long pNext,
java.nio.LongBuffer pAttachments)
Initializes this struct with the specified values.
|
VkRenderPassAttachmentBeginInfoKHR |
set(VkRenderPassAttachmentBeginInfoKHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkRenderPassAttachmentBeginInfoKHR |
sType(int value)
Sets the specified value to the
sType field. |
static void |
validate(long struct)
Validates pointer members that should not be
NULL. |
static void |
validate(long array,
int count)
Calls
validate(long) for each struct contained in the specified struct array. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int ATTACHMENTCOUNT
public static final int PATTACHMENTS
public VkRenderPassAttachmentBeginInfoKHR(java.nio.ByteBuffer container)
VkRenderPassAttachmentBeginInfoKHR instance at the current position of the specified ByteBuffer 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public int attachmentCount()
attachmentCount field.@Nullable public java.nio.LongBuffer pAttachments()
LongBuffer view of the data pointed to by the pAttachments field.public VkRenderPassAttachmentBeginInfoKHR sType(int value)
sType field.public VkRenderPassAttachmentBeginInfoKHR pNext(long value)
pNext field.public VkRenderPassAttachmentBeginInfoKHR pAttachments(@Nullable java.nio.LongBuffer value)
LongBuffer to the pAttachments field.public VkRenderPassAttachmentBeginInfoKHR set(int sType, long pNext, @Nullable java.nio.LongBuffer pAttachments)
public VkRenderPassAttachmentBeginInfoKHR set(VkRenderPassAttachmentBeginInfoKHR src)
src - the source structpublic static VkRenderPassAttachmentBeginInfoKHR malloc()
VkRenderPassAttachmentBeginInfoKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkRenderPassAttachmentBeginInfoKHR calloc()
VkRenderPassAttachmentBeginInfoKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkRenderPassAttachmentBeginInfoKHR create()
VkRenderPassAttachmentBeginInfoKHR instance allocated with BufferUtils.public static VkRenderPassAttachmentBeginInfoKHR create(long address)
VkRenderPassAttachmentBeginInfoKHR instance for the specified memory address.@Nullable public static VkRenderPassAttachmentBeginInfoKHR createSafe(long address)
public static VkRenderPassAttachmentBeginInfoKHR.Buffer malloc(int capacity)
VkRenderPassAttachmentBeginInfoKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkRenderPassAttachmentBeginInfoKHR.Buffer calloc(int capacity)
VkRenderPassAttachmentBeginInfoKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkRenderPassAttachmentBeginInfoKHR.Buffer create(int capacity)
VkRenderPassAttachmentBeginInfoKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkRenderPassAttachmentBeginInfoKHR.Buffer create(long address, int capacity)
VkRenderPassAttachmentBeginInfoKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkRenderPassAttachmentBeginInfoKHR.Buffer createSafe(long address, int capacity)
public static VkRenderPassAttachmentBeginInfoKHR mallocStack()
VkRenderPassAttachmentBeginInfoKHR instance allocated on the thread-local MemoryStack.public static VkRenderPassAttachmentBeginInfoKHR callocStack()
VkRenderPassAttachmentBeginInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkRenderPassAttachmentBeginInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkRenderPassAttachmentBeginInfoKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkRenderPassAttachmentBeginInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkRenderPassAttachmentBeginInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkRenderPassAttachmentBeginInfoKHR.Buffer mallocStack(int capacity)
VkRenderPassAttachmentBeginInfoKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkRenderPassAttachmentBeginInfoKHR.Buffer callocStack(int capacity)
VkRenderPassAttachmentBeginInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkRenderPassAttachmentBeginInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkRenderPassAttachmentBeginInfoKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkRenderPassAttachmentBeginInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkRenderPassAttachmentBeginInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int nattachmentCount(long struct)
attachmentCount().@Nullable public static java.nio.LongBuffer npAttachments(long struct)
pAttachments.public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nattachmentCount(long struct,
int value)
attachmentCount field of the specified struct.public static void npAttachments(long struct,
@Nullable
java.nio.LongBuffer value)
pAttachments.public static void validate(long struct)
NULL.struct - the struct to validatepublic static void validate(long array,
int count)
validate(long) for each struct contained in the specified struct array.array - the struct array to validatecount - the number of structs in arrayCopyright LWJGL. All Rights Reserved. License terms.