Package org.lwjgl.vulkan
Class VkInputAttachmentAspectReferenceKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkInputAttachmentAspectReference
-
- org.lwjgl.vulkan.VkInputAttachmentAspectReferenceKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class VkInputAttachmentAspectReferenceKHR extends VkInputAttachmentAspectReference
SeeVkInputAttachmentAspectReference
.Layout
struct VkInputAttachmentAspectReferenceKHR { uint32_t subpass; uint32_t inputAttachmentIndex; VkImageAspectFlags aspectMask; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkInputAttachmentAspectReferenceKHR.Buffer
An array ofVkInputAttachmentAspectReferenceKHR
structs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VkInputAttachmentAspectReference
ALIGNOF, ASPECTMASK, INPUTATTACHMENTINDEX, SIZEOF, SUBPASS
-
-
Constructor Summary
Constructors Constructor Description VkInputAttachmentAspectReferenceKHR(java.nio.ByteBuffer container)
Creates aVkInputAttachmentAspectReferenceKHR
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VkInputAttachmentAspectReferenceKHR
aspectMask(int value)
Sets the specified value to theaspectMask
field.static VkInputAttachmentAspectReferenceKHR
calloc()
Returns a newVkInputAttachmentAspectReferenceKHR
instance allocated withmemCalloc
.static VkInputAttachmentAspectReferenceKHR.Buffer
calloc(int capacity)
Returns a newVkInputAttachmentAspectReferenceKHR.Buffer
instance allocated withmemCalloc
.static VkInputAttachmentAspectReferenceKHR
callocStack()
Returns a newVkInputAttachmentAspectReferenceKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkInputAttachmentAspectReferenceKHR.Buffer
callocStack(int capacity)
Returns a newVkInputAttachmentAspectReferenceKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkInputAttachmentAspectReferenceKHR.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkInputAttachmentAspectReferenceKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkInputAttachmentAspectReferenceKHR
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkInputAttachmentAspectReferenceKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkInputAttachmentAspectReferenceKHR
create()
Returns a newVkInputAttachmentAspectReferenceKHR
instance allocated withBufferUtils
.static VkInputAttachmentAspectReferenceKHR.Buffer
create(int capacity)
Returns a newVkInputAttachmentAspectReferenceKHR.Buffer
instance allocated withBufferUtils
.static VkInputAttachmentAspectReferenceKHR
create(long address)
Returns a newVkInputAttachmentAspectReferenceKHR
instance for the specified memory address.static VkInputAttachmentAspectReferenceKHR.Buffer
create(long address, int capacity)
Create aVkInputAttachmentAspectReferenceKHR.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 theinputAttachmentIndex
field.static VkInputAttachmentAspectReferenceKHR
malloc()
Returns a newVkInputAttachmentAspectReferenceKHR
instance allocated withmemAlloc
.static VkInputAttachmentAspectReferenceKHR.Buffer
malloc(int capacity)
Returns a newVkInputAttachmentAspectReferenceKHR.Buffer
instance allocated withmemAlloc
.static VkInputAttachmentAspectReferenceKHR
mallocStack()
Returns a newVkInputAttachmentAspectReferenceKHR
instance allocated on the thread-localMemoryStack
.static VkInputAttachmentAspectReferenceKHR.Buffer
mallocStack(int capacity)
Returns a newVkInputAttachmentAspectReferenceKHR.Buffer
instance allocated on the thread-localMemoryStack
.static VkInputAttachmentAspectReferenceKHR.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkInputAttachmentAspectReferenceKHR.Buffer
instance allocated on the specifiedMemoryStack
.static VkInputAttachmentAspectReferenceKHR
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkInputAttachmentAspectReferenceKHR
instance allocated on the specifiedMemoryStack
.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 thesubpass
field.-
Methods inherited from class org.lwjgl.vulkan.VkInputAttachmentAspectReference
aspectMask, inputAttachmentIndex, naspectMask, naspectMask, ninputAttachmentIndex, ninputAttachmentIndex, nsubpass, nsubpass, set, sizeof, subpass
-
-
-
-
Constructor Detail
-
VkInputAttachmentAspectReferenceKHR
public VkInputAttachmentAspectReferenceKHR(java.nio.ByteBuffer container)
Creates aVkInputAttachmentAspectReferenceKHR
instance at the current position of the specifiedByteBuffer
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.
-
-
Method Detail
-
subpass
public VkInputAttachmentAspectReferenceKHR subpass(int value)
Sets the specified value to thesubpass
field.- Overrides:
subpass
in classVkInputAttachmentAspectReference
-
inputAttachmentIndex
public VkInputAttachmentAspectReferenceKHR inputAttachmentIndex(int value)
Sets the specified value to theinputAttachmentIndex
field.- Overrides:
inputAttachmentIndex
in classVkInputAttachmentAspectReference
-
aspectMask
public VkInputAttachmentAspectReferenceKHR aspectMask(int value)
Sets the specified value to theaspectMask
field.- Overrides:
aspectMask
in classVkInputAttachmentAspectReference
-
set
public VkInputAttachmentAspectReferenceKHR set(int subpass, int inputAttachmentIndex, int aspectMask)
Initializes this struct with the specified values.- Overrides:
set
in classVkInputAttachmentAspectReference
-
set
public VkInputAttachmentAspectReferenceKHR set(VkInputAttachmentAspectReferenceKHR src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static VkInputAttachmentAspectReferenceKHR malloc()
Returns a newVkInputAttachmentAspectReferenceKHR
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkInputAttachmentAspectReferenceKHR calloc()
Returns a newVkInputAttachmentAspectReferenceKHR
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkInputAttachmentAspectReferenceKHR create()
Returns a newVkInputAttachmentAspectReferenceKHR
instance allocated withBufferUtils
.
-
create
public static VkInputAttachmentAspectReferenceKHR create(long address)
Returns a newVkInputAttachmentAspectReferenceKHR
instance for the specified memory address.
-
createSafe
@Nullable public static VkInputAttachmentAspectReferenceKHR createSafe(long address)
-
malloc
public static VkInputAttachmentAspectReferenceKHR.Buffer malloc(int capacity)
Returns a newVkInputAttachmentAspectReferenceKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkInputAttachmentAspectReferenceKHR.Buffer calloc(int capacity)
Returns a newVkInputAttachmentAspectReferenceKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkInputAttachmentAspectReferenceKHR.Buffer create(int capacity)
Returns a newVkInputAttachmentAspectReferenceKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkInputAttachmentAspectReferenceKHR.Buffer create(long address, int capacity)
Create aVkInputAttachmentAspectReferenceKHR.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkInputAttachmentAspectReferenceKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkInputAttachmentAspectReferenceKHR mallocStack()
Returns a newVkInputAttachmentAspectReferenceKHR
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkInputAttachmentAspectReferenceKHR callocStack()
Returns a newVkInputAttachmentAspectReferenceKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkInputAttachmentAspectReferenceKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkInputAttachmentAspectReferenceKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkInputAttachmentAspectReferenceKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkInputAttachmentAspectReferenceKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static VkInputAttachmentAspectReferenceKHR.Buffer mallocStack(int capacity)
Returns a newVkInputAttachmentAspectReferenceKHR.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkInputAttachmentAspectReferenceKHR.Buffer callocStack(int capacity)
Returns a newVkInputAttachmentAspectReferenceKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkInputAttachmentAspectReferenceKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkInputAttachmentAspectReferenceKHR.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static VkInputAttachmentAspectReferenceKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkInputAttachmentAspectReferenceKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
-