public class VkInputAttachmentAspectReference
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
aspectMask must not include IMAGE_ASPECT_METADATA_BITaspectMask must not include VK_IMAGE_ASPECT_MEMORY_PLANE_i_BIT_EXT for any index i.aspectMask must be a valid combination of VkImageAspectFlagBits valuesaspectMask must not be 0VkRenderPassInputAttachmentAspectCreateInfo
subpass – an index into the pSubpasses array of the parent VkRenderPassCreateInfo structure.inputAttachmentIndex – an index into the pInputAttachments of the specified subpass.aspectMask – a mask of which aspect(s) can be accessed within the specified subpass.
struct VkInputAttachmentAspectReference {
uint32_t subpass;
uint32_t inputAttachmentIndex;
VkImageAspectFlags aspectMask;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkInputAttachmentAspectReference.Buffer
An array of
VkInputAttachmentAspectReference structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
ASPECTMASK
The struct member offsets.
|
static int |
INPUTATTACHMENTINDEX
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
SUBPASS
The struct member offsets.
|
| Constructor and Description |
|---|
VkInputAttachmentAspectReference(java.nio.ByteBuffer container)
Creates a
VkInputAttachmentAspectReference instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
int |
aspectMask()
Returns the value of the
aspectMask field. |
VkInputAttachmentAspectReference |
aspectMask(int value)
Sets the specified value to the
aspectMask field. |
static VkInputAttachmentAspectReference |
calloc()
Returns a new
VkInputAttachmentAspectReference instance allocated with memCalloc. |
static VkInputAttachmentAspectReference.Buffer |
calloc(int capacity)
Returns a new
VkInputAttachmentAspectReference.Buffer instance allocated with memCalloc. |
static VkInputAttachmentAspectReference |
callocStack()
Returns a new
VkInputAttachmentAspectReference instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkInputAttachmentAspectReference.Buffer |
callocStack(int capacity)
Returns a new
VkInputAttachmentAspectReference.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkInputAttachmentAspectReference.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkInputAttachmentAspectReference.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkInputAttachmentAspectReference |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkInputAttachmentAspectReference instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkInputAttachmentAspectReference |
create()
Returns a new
VkInputAttachmentAspectReference instance allocated with BufferUtils. |
static VkInputAttachmentAspectReference.Buffer |
create(int capacity)
Returns a new
VkInputAttachmentAspectReference.Buffer instance allocated with BufferUtils. |
static VkInputAttachmentAspectReference |
create(long address)
Returns a new
VkInputAttachmentAspectReference instance for the specified memory address. |
static VkInputAttachmentAspectReference.Buffer |
create(long address,
int capacity)
Create a
VkInputAttachmentAspectReference.Buffer instance at the specified memory. |
static VkInputAttachmentAspectReference |
createSafe(long address)
|
static VkInputAttachmentAspectReference.Buffer |
createSafe(long address,
int capacity)
|
int |
inputAttachmentIndex()
Returns the value of the
inputAttachmentIndex field. |
VkInputAttachmentAspectReference |
inputAttachmentIndex(int value)
Sets the specified value to the
inputAttachmentIndex field. |
static VkInputAttachmentAspectReference |
malloc()
Returns a new
VkInputAttachmentAspectReference instance allocated with memAlloc. |
static VkInputAttachmentAspectReference.Buffer |
malloc(int capacity)
Returns a new
VkInputAttachmentAspectReference.Buffer instance allocated with memAlloc. |
static VkInputAttachmentAspectReference |
mallocStack()
Returns a new
VkInputAttachmentAspectReference instance allocated on the thread-local MemoryStack. |
static VkInputAttachmentAspectReference.Buffer |
mallocStack(int capacity)
Returns a new
VkInputAttachmentAspectReference.Buffer instance allocated on the thread-local MemoryStack. |
static VkInputAttachmentAspectReference.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkInputAttachmentAspectReference.Buffer instance allocated on the specified MemoryStack. |
static VkInputAttachmentAspectReference |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkInputAttachmentAspectReference instance allocated on the specified MemoryStack. |
static int |
naspectMask(long struct)
Unsafe version of
aspectMask(). |
static void |
naspectMask(long struct,
int value)
Unsafe version of
aspectMask. |
static int |
ninputAttachmentIndex(long struct)
Unsafe version of
inputAttachmentIndex(). |
static void |
ninputAttachmentIndex(long struct,
int value)
Unsafe version of
inputAttachmentIndex. |
static int |
nsubpass(long struct)
Unsafe version of
subpass(). |
static void |
nsubpass(long struct,
int value)
Unsafe version of
subpass. |
VkInputAttachmentAspectReference |
set(int subpass,
int inputAttachmentIndex,
int aspectMask)
Initializes this struct with the specified values.
|
VkInputAttachmentAspectReference |
set(VkInputAttachmentAspectReference src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
subpass()
Returns the value of the
subpass field. |
VkInputAttachmentAspectReference |
subpass(int value)
Sets the specified value to the
subpass field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int SUBPASS
public static final int INPUTATTACHMENTINDEX
public static final int ASPECTMASK
public VkInputAttachmentAspectReference(java.nio.ByteBuffer container)
VkInputAttachmentAspectReference 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 subpass()
subpass field.public int inputAttachmentIndex()
inputAttachmentIndex field.public int aspectMask()
aspectMask field.public VkInputAttachmentAspectReference subpass(int value)
subpass field.public VkInputAttachmentAspectReference inputAttachmentIndex(int value)
inputAttachmentIndex field.public VkInputAttachmentAspectReference aspectMask(int value)
aspectMask field.public VkInputAttachmentAspectReference set(int subpass, int inputAttachmentIndex, int aspectMask)
public VkInputAttachmentAspectReference set(VkInputAttachmentAspectReference src)
src - the source structpublic static VkInputAttachmentAspectReference malloc()
VkInputAttachmentAspectReference instance allocated with memAlloc. The instance must be explicitly freed.public static VkInputAttachmentAspectReference calloc()
VkInputAttachmentAspectReference instance allocated with memCalloc. The instance must be explicitly freed.public static VkInputAttachmentAspectReference create()
VkInputAttachmentAspectReference instance allocated with BufferUtils.public static VkInputAttachmentAspectReference create(long address)
VkInputAttachmentAspectReference instance for the specified memory address.@Nullable public static VkInputAttachmentAspectReference createSafe(long address)
public static VkInputAttachmentAspectReference.Buffer malloc(int capacity)
VkInputAttachmentAspectReference.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkInputAttachmentAspectReference.Buffer calloc(int capacity)
VkInputAttachmentAspectReference.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkInputAttachmentAspectReference.Buffer create(int capacity)
VkInputAttachmentAspectReference.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkInputAttachmentAspectReference.Buffer create(long address, int capacity)
VkInputAttachmentAspectReference.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkInputAttachmentAspectReference.Buffer createSafe(long address, int capacity)
public static VkInputAttachmentAspectReference mallocStack()
VkInputAttachmentAspectReference instance allocated on the thread-local MemoryStack.public static VkInputAttachmentAspectReference callocStack()
VkInputAttachmentAspectReference instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkInputAttachmentAspectReference mallocStack(org.lwjgl.system.MemoryStack stack)
VkInputAttachmentAspectReference instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkInputAttachmentAspectReference callocStack(org.lwjgl.system.MemoryStack stack)
VkInputAttachmentAspectReference instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkInputAttachmentAspectReference.Buffer mallocStack(int capacity)
VkInputAttachmentAspectReference.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkInputAttachmentAspectReference.Buffer callocStack(int capacity)
VkInputAttachmentAspectReference.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkInputAttachmentAspectReference.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkInputAttachmentAspectReference.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkInputAttachmentAspectReference.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkInputAttachmentAspectReference.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 nsubpass(long struct)
subpass().public static int ninputAttachmentIndex(long struct)
inputAttachmentIndex().public static int naspectMask(long struct)
aspectMask().public static void nsubpass(long struct,
int value)
subpass.public static void ninputAttachmentIndex(long struct,
int value)
inputAttachmentIndex.public static void naspectMask(long struct,
int value)
aspectMask.Copyright LWJGL. All Rights Reserved. License terms.