public class VkRenderPassInputAttachmentAspectCreateInfo
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFOpAspectReferences must be a valid pointer to an array of aspectReferenceCount valid VkInputAttachmentAspectReference structuresaspectReferenceCount must be greater than 0VkInputAttachmentAspectReference
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.aspectReferenceCount – the number of elements in the pAspectReferences array.pAspectReferences – a pointer to an array of aspectReferenceCount VkInputAttachmentAspectReference structures describing which aspect(s) can be accessed for a given input attachment within a given subpass.
struct VkRenderPassInputAttachmentAspectCreateInfo {
VkStructureType sType;
void const * pNext;
uint32_t aspectReferenceCount;
VkInputAttachmentAspectReference const * pAspectReferences;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkRenderPassInputAttachmentAspectCreateInfo.Buffer
An array of
VkRenderPassInputAttachmentAspectCreateInfo structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
ASPECTREFERENCECOUNT
The struct member offsets.
|
static int |
PASPECTREFERENCES
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 |
|---|
VkRenderPassInputAttachmentAspectCreateInfo(java.nio.ByteBuffer container)
Creates a
VkRenderPassInputAttachmentAspectCreateInfo instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
int |
aspectReferenceCount()
Returns the value of the
aspectReferenceCount field. |
static VkRenderPassInputAttachmentAspectCreateInfo |
calloc()
Returns a new
VkRenderPassInputAttachmentAspectCreateInfo instance allocated with memCalloc. |
static VkRenderPassInputAttachmentAspectCreateInfo.Buffer |
calloc(int capacity)
Returns a new
VkRenderPassInputAttachmentAspectCreateInfo.Buffer instance allocated with memCalloc. |
static VkRenderPassInputAttachmentAspectCreateInfo |
callocStack()
Returns a new
VkRenderPassInputAttachmentAspectCreateInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkRenderPassInputAttachmentAspectCreateInfo.Buffer |
callocStack(int capacity)
Returns a new
VkRenderPassInputAttachmentAspectCreateInfo.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkRenderPassInputAttachmentAspectCreateInfo.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkRenderPassInputAttachmentAspectCreateInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkRenderPassInputAttachmentAspectCreateInfo |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkRenderPassInputAttachmentAspectCreateInfo instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkRenderPassInputAttachmentAspectCreateInfo |
create()
Returns a new
VkRenderPassInputAttachmentAspectCreateInfo instance allocated with BufferUtils. |
static VkRenderPassInputAttachmentAspectCreateInfo.Buffer |
create(int capacity)
Returns a new
VkRenderPassInputAttachmentAspectCreateInfo.Buffer instance allocated with BufferUtils. |
static VkRenderPassInputAttachmentAspectCreateInfo |
create(long address)
Returns a new
VkRenderPassInputAttachmentAspectCreateInfo instance for the specified memory address. |
static VkRenderPassInputAttachmentAspectCreateInfo.Buffer |
create(long address,
int capacity)
Create a
VkRenderPassInputAttachmentAspectCreateInfo.Buffer instance at the specified memory. |
static VkRenderPassInputAttachmentAspectCreateInfo |
createSafe(long address)
|
static VkRenderPassInputAttachmentAspectCreateInfo.Buffer |
createSafe(long address,
int capacity)
|
static VkRenderPassInputAttachmentAspectCreateInfo |
malloc()
Returns a new
VkRenderPassInputAttachmentAspectCreateInfo instance allocated with memAlloc. |
static VkRenderPassInputAttachmentAspectCreateInfo.Buffer |
malloc(int capacity)
Returns a new
VkRenderPassInputAttachmentAspectCreateInfo.Buffer instance allocated with memAlloc. |
static VkRenderPassInputAttachmentAspectCreateInfo |
mallocStack()
Returns a new
VkRenderPassInputAttachmentAspectCreateInfo instance allocated on the thread-local MemoryStack. |
static VkRenderPassInputAttachmentAspectCreateInfo.Buffer |
mallocStack(int capacity)
Returns a new
VkRenderPassInputAttachmentAspectCreateInfo.Buffer instance allocated on the thread-local MemoryStack. |
static VkRenderPassInputAttachmentAspectCreateInfo.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkRenderPassInputAttachmentAspectCreateInfo.Buffer instance allocated on the specified MemoryStack. |
static VkRenderPassInputAttachmentAspectCreateInfo |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkRenderPassInputAttachmentAspectCreateInfo instance allocated on the specified MemoryStack. |
static int |
naspectReferenceCount(long struct)
Unsafe version of
aspectReferenceCount(). |
static void |
naspectReferenceCount(long struct,
int value)
Sets the specified value to the
aspectReferenceCount field of the specified struct. |
static VkInputAttachmentAspectReference.Buffer |
npAspectReferences(long struct)
Unsafe version of
pAspectReferences(). |
static void |
npAspectReferences(long struct,
VkInputAttachmentAspectReference.Buffer value)
Unsafe version of
pAspectReferences. |
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. |
VkInputAttachmentAspectReference.Buffer |
pAspectReferences()
Returns a
VkInputAttachmentAspectReference.Buffer view of the struct array pointed to by the pAspectReferences field. |
VkRenderPassInputAttachmentAspectCreateInfo |
pAspectReferences(VkInputAttachmentAspectReference.Buffer value)
Sets the address of the specified
VkInputAttachmentAspectReference.Buffer to the pAspectReferences field. |
long |
pNext()
Returns the value of the
pNext field. |
VkRenderPassInputAttachmentAspectCreateInfo |
pNext(long value)
Sets the specified value to the
pNext field. |
VkRenderPassInputAttachmentAspectCreateInfo |
set(int sType,
long pNext,
VkInputAttachmentAspectReference.Buffer pAspectReferences)
Initializes this struct with the specified values.
|
VkRenderPassInputAttachmentAspectCreateInfo |
set(VkRenderPassInputAttachmentAspectCreateInfo src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkRenderPassInputAttachmentAspectCreateInfo |
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 ASPECTREFERENCECOUNT
public static final int PASPECTREFERENCES
public VkRenderPassInputAttachmentAspectCreateInfo(java.nio.ByteBuffer container)
VkRenderPassInputAttachmentAspectCreateInfo 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 aspectReferenceCount()
aspectReferenceCount field.public VkInputAttachmentAspectReference.Buffer pAspectReferences()
VkInputAttachmentAspectReference.Buffer view of the struct array pointed to by the pAspectReferences field.public VkRenderPassInputAttachmentAspectCreateInfo sType(int value)
sType field.public VkRenderPassInputAttachmentAspectCreateInfo pNext(long value)
pNext field.public VkRenderPassInputAttachmentAspectCreateInfo pAspectReferences(VkInputAttachmentAspectReference.Buffer value)
VkInputAttachmentAspectReference.Buffer to the pAspectReferences field.public VkRenderPassInputAttachmentAspectCreateInfo set(int sType, long pNext, VkInputAttachmentAspectReference.Buffer pAspectReferences)
public VkRenderPassInputAttachmentAspectCreateInfo set(VkRenderPassInputAttachmentAspectCreateInfo src)
src - the source structpublic static VkRenderPassInputAttachmentAspectCreateInfo malloc()
VkRenderPassInputAttachmentAspectCreateInfo instance allocated with memAlloc. The instance must be explicitly freed.public static VkRenderPassInputAttachmentAspectCreateInfo calloc()
VkRenderPassInputAttachmentAspectCreateInfo instance allocated with memCalloc. The instance must be explicitly freed.public static VkRenderPassInputAttachmentAspectCreateInfo create()
VkRenderPassInputAttachmentAspectCreateInfo instance allocated with BufferUtils.public static VkRenderPassInputAttachmentAspectCreateInfo create(long address)
VkRenderPassInputAttachmentAspectCreateInfo instance for the specified memory address.@Nullable public static VkRenderPassInputAttachmentAspectCreateInfo createSafe(long address)
public static VkRenderPassInputAttachmentAspectCreateInfo.Buffer malloc(int capacity)
VkRenderPassInputAttachmentAspectCreateInfo.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkRenderPassInputAttachmentAspectCreateInfo.Buffer calloc(int capacity)
VkRenderPassInputAttachmentAspectCreateInfo.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkRenderPassInputAttachmentAspectCreateInfo.Buffer create(int capacity)
VkRenderPassInputAttachmentAspectCreateInfo.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkRenderPassInputAttachmentAspectCreateInfo.Buffer create(long address, int capacity)
VkRenderPassInputAttachmentAspectCreateInfo.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkRenderPassInputAttachmentAspectCreateInfo.Buffer createSafe(long address, int capacity)
public static VkRenderPassInputAttachmentAspectCreateInfo mallocStack()
VkRenderPassInputAttachmentAspectCreateInfo instance allocated on the thread-local MemoryStack.public static VkRenderPassInputAttachmentAspectCreateInfo callocStack()
VkRenderPassInputAttachmentAspectCreateInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkRenderPassInputAttachmentAspectCreateInfo mallocStack(org.lwjgl.system.MemoryStack stack)
VkRenderPassInputAttachmentAspectCreateInfo instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkRenderPassInputAttachmentAspectCreateInfo callocStack(org.lwjgl.system.MemoryStack stack)
VkRenderPassInputAttachmentAspectCreateInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkRenderPassInputAttachmentAspectCreateInfo.Buffer mallocStack(int capacity)
VkRenderPassInputAttachmentAspectCreateInfo.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkRenderPassInputAttachmentAspectCreateInfo.Buffer callocStack(int capacity)
VkRenderPassInputAttachmentAspectCreateInfo.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkRenderPassInputAttachmentAspectCreateInfo.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkRenderPassInputAttachmentAspectCreateInfo.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkRenderPassInputAttachmentAspectCreateInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkRenderPassInputAttachmentAspectCreateInfo.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 naspectReferenceCount(long struct)
aspectReferenceCount().public static VkInputAttachmentAspectReference.Buffer npAspectReferences(long struct)
pAspectReferences().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void naspectReferenceCount(long struct,
int value)
aspectReferenceCount field of the specified struct.public static void npAspectReferences(long struct,
VkInputAttachmentAspectReference.Buffer value)
pAspectReferences.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.