public class VkInputAttachmentAspectReferenceKHR extends VkInputAttachmentAspectReference
VkInputAttachmentAspectReference.
struct VkInputAttachmentAspectReferenceKHR {
uint32_t subpass;
uint32_t inputAttachmentIndex;
VkImageAspectFlags aspectMask;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkInputAttachmentAspectReferenceKHR.Buffer
An array of
VkInputAttachmentAspectReferenceKHR structs. |
ALIGNOF, ASPECTMASK, INPUTATTACHMENTINDEX, SIZEOF, SUBPASS| Constructor and Description |
|---|
VkInputAttachmentAspectReferenceKHR(java.nio.ByteBuffer container)
Creates a
VkInputAttachmentAspectReferenceKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
VkInputAttachmentAspectReferenceKHR |
aspectMask(int value)
Sets the specified value to the
aspectMask field. |
static VkInputAttachmentAspectReferenceKHR |
calloc()
Returns a new
VkInputAttachmentAspectReferenceKHR instance allocated with memCalloc. |
static VkInputAttachmentAspectReferenceKHR.Buffer |
calloc(int capacity)
Returns a new
VkInputAttachmentAspectReferenceKHR.Buffer instance allocated with memCalloc. |
static VkInputAttachmentAspectReferenceKHR |
callocStack()
Returns a new
VkInputAttachmentAspectReferenceKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkInputAttachmentAspectReferenceKHR.Buffer |
callocStack(int capacity)
Returns a new
VkInputAttachmentAspectReferenceKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkInputAttachmentAspectReferenceKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkInputAttachmentAspectReferenceKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkInputAttachmentAspectReferenceKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkInputAttachmentAspectReferenceKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkInputAttachmentAspectReferenceKHR |
create()
Returns a new
VkInputAttachmentAspectReferenceKHR instance allocated with BufferUtils. |
static VkInputAttachmentAspectReferenceKHR.Buffer |
create(int capacity)
Returns a new
VkInputAttachmentAspectReferenceKHR.Buffer instance allocated with BufferUtils. |
static VkInputAttachmentAspectReferenceKHR |
create(long address)
Returns a new
VkInputAttachmentAspectReferenceKHR instance for the specified memory address. |
static VkInputAttachmentAspectReferenceKHR.Buffer |
create(long address,
int capacity)
Create a
VkInputAttachmentAspectReferenceKHR.Buffer instance at the specified memory. |
static VkInputAttachmentAspectReferenceKHR |
createSafe(long address)
|
static VkInputAttachmentAspectReferenceKHR.Buffer |
createSafe(long address,
int capacity)
|
VkInputAttachmentAspectReferenceKHR |
inputAttachmentIndex(int value)
Sets the specified value to the
inputAttachmentIndex field. |
static VkInputAttachmentAspectReferenceKHR |
malloc()
Returns a new
VkInputAttachmentAspectReferenceKHR instance allocated with memAlloc. |
static VkInputAttachmentAspectReferenceKHR.Buffer |
malloc(int capacity)
Returns a new
VkInputAttachmentAspectReferenceKHR.Buffer instance allocated with memAlloc. |
static VkInputAttachmentAspectReferenceKHR |
mallocStack()
Returns a new
VkInputAttachmentAspectReferenceKHR instance allocated on the thread-local MemoryStack. |
static VkInputAttachmentAspectReferenceKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkInputAttachmentAspectReferenceKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkInputAttachmentAspectReferenceKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkInputAttachmentAspectReferenceKHR.Buffer instance allocated on the specified MemoryStack. |
static VkInputAttachmentAspectReferenceKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkInputAttachmentAspectReferenceKHR instance allocated on the specified MemoryStack. |
VkInputAttachmentAspectReferenceKHR |
set(int subpass,
int inputAttachmentIndex,
int aspectMask)
Initializes this struct with the specified values.
|
VkInputAttachmentAspectReferenceKHR |
set(VkInputAttachmentAspectReferenceKHR src)
Copies the specified struct data to this struct.
|
VkInputAttachmentAspectReferenceKHR |
subpass(int value)
Sets the specified value to the
subpass field. |
aspectMask, inputAttachmentIndex, naspectMask, naspectMask, ninputAttachmentIndex, ninputAttachmentIndex, nsubpass, nsubpass, set, sizeof, subpasspublic VkInputAttachmentAspectReferenceKHR(java.nio.ByteBuffer container)
VkInputAttachmentAspectReferenceKHR 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 VkInputAttachmentAspectReferenceKHR subpass(int value)
subpass field.subpass in class VkInputAttachmentAspectReferencepublic VkInputAttachmentAspectReferenceKHR inputAttachmentIndex(int value)
inputAttachmentIndex field.inputAttachmentIndex in class VkInputAttachmentAspectReferencepublic VkInputAttachmentAspectReferenceKHR aspectMask(int value)
aspectMask field.aspectMask in class VkInputAttachmentAspectReferencepublic VkInputAttachmentAspectReferenceKHR set(int subpass, int inputAttachmentIndex, int aspectMask)
set in class VkInputAttachmentAspectReferencepublic VkInputAttachmentAspectReferenceKHR set(VkInputAttachmentAspectReferenceKHR src)
src - the source structpublic static VkInputAttachmentAspectReferenceKHR malloc()
VkInputAttachmentAspectReferenceKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkInputAttachmentAspectReferenceKHR calloc()
VkInputAttachmentAspectReferenceKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkInputAttachmentAspectReferenceKHR create()
VkInputAttachmentAspectReferenceKHR instance allocated with BufferUtils.public static VkInputAttachmentAspectReferenceKHR create(long address)
VkInputAttachmentAspectReferenceKHR instance for the specified memory address.@Nullable public static VkInputAttachmentAspectReferenceKHR createSafe(long address)
public static VkInputAttachmentAspectReferenceKHR.Buffer malloc(int capacity)
VkInputAttachmentAspectReferenceKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkInputAttachmentAspectReferenceKHR.Buffer calloc(int capacity)
VkInputAttachmentAspectReferenceKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkInputAttachmentAspectReferenceKHR.Buffer create(int capacity)
VkInputAttachmentAspectReferenceKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkInputAttachmentAspectReferenceKHR.Buffer create(long address, int capacity)
VkInputAttachmentAspectReferenceKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkInputAttachmentAspectReferenceKHR.Buffer createSafe(long address, int capacity)
public static VkInputAttachmentAspectReferenceKHR mallocStack()
VkInputAttachmentAspectReferenceKHR instance allocated on the thread-local MemoryStack.public static VkInputAttachmentAspectReferenceKHR callocStack()
VkInputAttachmentAspectReferenceKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkInputAttachmentAspectReferenceKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkInputAttachmentAspectReferenceKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkInputAttachmentAspectReferenceKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkInputAttachmentAspectReferenceKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkInputAttachmentAspectReferenceKHR.Buffer mallocStack(int capacity)
VkInputAttachmentAspectReferenceKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkInputAttachmentAspectReferenceKHR.Buffer callocStack(int capacity)
VkInputAttachmentAspectReferenceKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkInputAttachmentAspectReferenceKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkInputAttachmentAspectReferenceKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkInputAttachmentAspectReferenceKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkInputAttachmentAspectReferenceKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacityCopyright LWJGL. All Rights Reserved. License terms.