public class VkFramebufferAttachmentsCreateInfoKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFO_KHRattachmentImageInfoCount is not 0, pAttachmentImageInfos must be a valid pointer to an array of attachmentImageInfoCount valid VkFramebufferAttachmentImageInfoKHR structuresVkFramebufferAttachmentImageInfoKHR
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.attachmentImageInfoCount – the number of attachments being described.pAttachmentImageInfos – a pointer to an array of VkFramebufferAttachmentImageInfoKHR instances, each of which describes a number of parameters of the corresponding attachment in a render pass instance.
struct VkFramebufferAttachmentsCreateInfoKHR {
VkStructureType sType;
void const * pNext;
uint32_t attachmentImageInfoCount;
VkFramebufferAttachmentImageInfoKHR const * pAttachmentImageInfos;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkFramebufferAttachmentsCreateInfoKHR.Buffer
An array of
VkFramebufferAttachmentsCreateInfoKHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
ATTACHMENTIMAGEINFOCOUNT
The struct member offsets.
|
static int |
PATTACHMENTIMAGEINFOS
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 |
|---|
VkFramebufferAttachmentsCreateInfoKHR(java.nio.ByteBuffer container)
Creates a
VkFramebufferAttachmentsCreateInfoKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
int |
attachmentImageInfoCount()
Returns the value of the
attachmentImageInfoCount field. |
static VkFramebufferAttachmentsCreateInfoKHR |
calloc()
Returns a new
VkFramebufferAttachmentsCreateInfoKHR instance allocated with memCalloc. |
static VkFramebufferAttachmentsCreateInfoKHR.Buffer |
calloc(int capacity)
Returns a new
VkFramebufferAttachmentsCreateInfoKHR.Buffer instance allocated with memCalloc. |
static VkFramebufferAttachmentsCreateInfoKHR |
callocStack()
Returns a new
VkFramebufferAttachmentsCreateInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkFramebufferAttachmentsCreateInfoKHR.Buffer |
callocStack(int capacity)
Returns a new
VkFramebufferAttachmentsCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkFramebufferAttachmentsCreateInfoKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkFramebufferAttachmentsCreateInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkFramebufferAttachmentsCreateInfoKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkFramebufferAttachmentsCreateInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkFramebufferAttachmentsCreateInfoKHR |
create()
Returns a new
VkFramebufferAttachmentsCreateInfoKHR instance allocated with BufferUtils. |
static VkFramebufferAttachmentsCreateInfoKHR.Buffer |
create(int capacity)
Returns a new
VkFramebufferAttachmentsCreateInfoKHR.Buffer instance allocated with BufferUtils. |
static VkFramebufferAttachmentsCreateInfoKHR |
create(long address)
Returns a new
VkFramebufferAttachmentsCreateInfoKHR instance for the specified memory address. |
static VkFramebufferAttachmentsCreateInfoKHR.Buffer |
create(long address,
int capacity)
Create a
VkFramebufferAttachmentsCreateInfoKHR.Buffer instance at the specified memory. |
static VkFramebufferAttachmentsCreateInfoKHR |
createSafe(long address)
|
static VkFramebufferAttachmentsCreateInfoKHR.Buffer |
createSafe(long address,
int capacity)
|
static VkFramebufferAttachmentsCreateInfoKHR |
malloc()
Returns a new
VkFramebufferAttachmentsCreateInfoKHR instance allocated with memAlloc. |
static VkFramebufferAttachmentsCreateInfoKHR.Buffer |
malloc(int capacity)
Returns a new
VkFramebufferAttachmentsCreateInfoKHR.Buffer instance allocated with memAlloc. |
static VkFramebufferAttachmentsCreateInfoKHR |
mallocStack()
Returns a new
VkFramebufferAttachmentsCreateInfoKHR instance allocated on the thread-local MemoryStack. |
static VkFramebufferAttachmentsCreateInfoKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkFramebufferAttachmentsCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkFramebufferAttachmentsCreateInfoKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkFramebufferAttachmentsCreateInfoKHR.Buffer instance allocated on the specified MemoryStack. |
static VkFramebufferAttachmentsCreateInfoKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkFramebufferAttachmentsCreateInfoKHR instance allocated on the specified MemoryStack. |
static int |
nattachmentImageInfoCount(long struct)
Unsafe version of
attachmentImageInfoCount(). |
static void |
nattachmentImageInfoCount(long struct,
int value)
Sets the specified value to the
attachmentImageInfoCount field of the specified struct. |
static VkFramebufferAttachmentImageInfoKHR.Buffer |
npAttachmentImageInfos(long struct)
Unsafe version of
pAttachmentImageInfos(). |
static void |
npAttachmentImageInfos(long struct,
VkFramebufferAttachmentImageInfoKHR.Buffer value)
Unsafe version of
pAttachmentImageInfos. |
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. |
VkFramebufferAttachmentImageInfoKHR.Buffer |
pAttachmentImageInfos()
Returns a
VkFramebufferAttachmentImageInfoKHR.Buffer view of the struct array pointed to by the pAttachmentImageInfos field. |
VkFramebufferAttachmentsCreateInfoKHR |
pAttachmentImageInfos(VkFramebufferAttachmentImageInfoKHR.Buffer value)
Sets the address of the specified
VkFramebufferAttachmentImageInfoKHR.Buffer to the pAttachmentImageInfos field. |
long |
pNext()
Returns the value of the
pNext field. |
VkFramebufferAttachmentsCreateInfoKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkFramebufferAttachmentsCreateInfoKHR |
set(int sType,
long pNext,
VkFramebufferAttachmentImageInfoKHR.Buffer pAttachmentImageInfos)
Initializes this struct with the specified values.
|
VkFramebufferAttachmentsCreateInfoKHR |
set(VkFramebufferAttachmentsCreateInfoKHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkFramebufferAttachmentsCreateInfoKHR |
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 ATTACHMENTIMAGEINFOCOUNT
public static final int PATTACHMENTIMAGEINFOS
public VkFramebufferAttachmentsCreateInfoKHR(java.nio.ByteBuffer container)
VkFramebufferAttachmentsCreateInfoKHR 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 attachmentImageInfoCount()
attachmentImageInfoCount field.@Nullable public VkFramebufferAttachmentImageInfoKHR.Buffer pAttachmentImageInfos()
VkFramebufferAttachmentImageInfoKHR.Buffer view of the struct array pointed to by the pAttachmentImageInfos field.public VkFramebufferAttachmentsCreateInfoKHR sType(int value)
sType field.public VkFramebufferAttachmentsCreateInfoKHR pNext(long value)
pNext field.public VkFramebufferAttachmentsCreateInfoKHR pAttachmentImageInfos(@Nullable VkFramebufferAttachmentImageInfoKHR.Buffer value)
VkFramebufferAttachmentImageInfoKHR.Buffer to the pAttachmentImageInfos field.public VkFramebufferAttachmentsCreateInfoKHR set(int sType, long pNext, @Nullable VkFramebufferAttachmentImageInfoKHR.Buffer pAttachmentImageInfos)
public VkFramebufferAttachmentsCreateInfoKHR set(VkFramebufferAttachmentsCreateInfoKHR src)
src - the source structpublic static VkFramebufferAttachmentsCreateInfoKHR malloc()
VkFramebufferAttachmentsCreateInfoKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkFramebufferAttachmentsCreateInfoKHR calloc()
VkFramebufferAttachmentsCreateInfoKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkFramebufferAttachmentsCreateInfoKHR create()
VkFramebufferAttachmentsCreateInfoKHR instance allocated with BufferUtils.public static VkFramebufferAttachmentsCreateInfoKHR create(long address)
VkFramebufferAttachmentsCreateInfoKHR instance for the specified memory address.@Nullable public static VkFramebufferAttachmentsCreateInfoKHR createSafe(long address)
public static VkFramebufferAttachmentsCreateInfoKHR.Buffer malloc(int capacity)
VkFramebufferAttachmentsCreateInfoKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkFramebufferAttachmentsCreateInfoKHR.Buffer calloc(int capacity)
VkFramebufferAttachmentsCreateInfoKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkFramebufferAttachmentsCreateInfoKHR.Buffer create(int capacity)
VkFramebufferAttachmentsCreateInfoKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkFramebufferAttachmentsCreateInfoKHR.Buffer create(long address, int capacity)
VkFramebufferAttachmentsCreateInfoKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkFramebufferAttachmentsCreateInfoKHR.Buffer createSafe(long address, int capacity)
public static VkFramebufferAttachmentsCreateInfoKHR mallocStack()
VkFramebufferAttachmentsCreateInfoKHR instance allocated on the thread-local MemoryStack.public static VkFramebufferAttachmentsCreateInfoKHR callocStack()
VkFramebufferAttachmentsCreateInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkFramebufferAttachmentsCreateInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkFramebufferAttachmentsCreateInfoKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkFramebufferAttachmentsCreateInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkFramebufferAttachmentsCreateInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkFramebufferAttachmentsCreateInfoKHR.Buffer mallocStack(int capacity)
VkFramebufferAttachmentsCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkFramebufferAttachmentsCreateInfoKHR.Buffer callocStack(int capacity)
VkFramebufferAttachmentsCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkFramebufferAttachmentsCreateInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkFramebufferAttachmentsCreateInfoKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkFramebufferAttachmentsCreateInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkFramebufferAttachmentsCreateInfoKHR.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 nattachmentImageInfoCount(long struct)
attachmentImageInfoCount().@Nullable public static VkFramebufferAttachmentImageInfoKHR.Buffer npAttachmentImageInfos(long struct)
pAttachmentImageInfos().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nattachmentImageInfoCount(long struct,
int value)
attachmentImageInfoCount field of the specified struct.public static void npAttachmentImageInfos(long struct,
@Nullable
VkFramebufferAttachmentImageInfoKHR.Buffer value)
pAttachmentImageInfos.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.