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 classVkInputAttachmentAspectReferenceKHR.BufferAn array ofVkInputAttachmentAspectReferenceKHRstructs.
-
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 aVkInputAttachmentAspectReferenceKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VkInputAttachmentAspectReferenceKHRaspectMask(int value)Sets the specified value to theaspectMaskfield.static VkInputAttachmentAspectReferenceKHRcalloc()Returns a newVkInputAttachmentAspectReferenceKHRinstance allocated withmemCalloc.static VkInputAttachmentAspectReferenceKHR.Buffercalloc(int capacity)Returns a newVkInputAttachmentAspectReferenceKHR.Bufferinstance allocated withmemCalloc.static VkInputAttachmentAspectReferenceKHRcallocStack()Returns a newVkInputAttachmentAspectReferenceKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkInputAttachmentAspectReferenceKHR.BuffercallocStack(int capacity)Returns a newVkInputAttachmentAspectReferenceKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkInputAttachmentAspectReferenceKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkInputAttachmentAspectReferenceKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkInputAttachmentAspectReferenceKHRcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkInputAttachmentAspectReferenceKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkInputAttachmentAspectReferenceKHRcreate()Returns a newVkInputAttachmentAspectReferenceKHRinstance allocated withBufferUtils.static VkInputAttachmentAspectReferenceKHR.Buffercreate(int capacity)Returns a newVkInputAttachmentAspectReferenceKHR.Bufferinstance allocated withBufferUtils.static VkInputAttachmentAspectReferenceKHRcreate(long address)Returns a newVkInputAttachmentAspectReferenceKHRinstance for the specified memory address.static VkInputAttachmentAspectReferenceKHR.Buffercreate(long address, int capacity)Create aVkInputAttachmentAspectReferenceKHR.Bufferinstance at the specified memory.static VkInputAttachmentAspectReferenceKHRcreateSafe(long address)static VkInputAttachmentAspectReferenceKHR.BuffercreateSafe(long address, int capacity)VkInputAttachmentAspectReferenceKHRinputAttachmentIndex(int value)Sets the specified value to theinputAttachmentIndexfield.static VkInputAttachmentAspectReferenceKHRmalloc()Returns a newVkInputAttachmentAspectReferenceKHRinstance allocated withmemAlloc.static VkInputAttachmentAspectReferenceKHR.Buffermalloc(int capacity)Returns a newVkInputAttachmentAspectReferenceKHR.Bufferinstance allocated withmemAlloc.static VkInputAttachmentAspectReferenceKHRmallocStack()Returns a newVkInputAttachmentAspectReferenceKHRinstance allocated on the thread-localMemoryStack.static VkInputAttachmentAspectReferenceKHR.BuffermallocStack(int capacity)Returns a newVkInputAttachmentAspectReferenceKHR.Bufferinstance allocated on the thread-localMemoryStack.static VkInputAttachmentAspectReferenceKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkInputAttachmentAspectReferenceKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkInputAttachmentAspectReferenceKHRmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkInputAttachmentAspectReferenceKHRinstance allocated on the specifiedMemoryStack.VkInputAttachmentAspectReferenceKHRset(int subpass, int inputAttachmentIndex, int aspectMask)Initializes this struct with the specified values.VkInputAttachmentAspectReferenceKHRset(VkInputAttachmentAspectReferenceKHR src)Copies the specified struct data to this struct.VkInputAttachmentAspectReferenceKHRsubpass(int value)Sets the specified value to thesubpassfield.-
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 aVkInputAttachmentAspectReferenceKHRinstance at the current position of the specifiedByteBuffercontainer. 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 thesubpassfield.- Overrides:
subpassin classVkInputAttachmentAspectReference
-
inputAttachmentIndex
public VkInputAttachmentAspectReferenceKHR inputAttachmentIndex(int value)
Sets the specified value to theinputAttachmentIndexfield.- Overrides:
inputAttachmentIndexin classVkInputAttachmentAspectReference
-
aspectMask
public VkInputAttachmentAspectReferenceKHR aspectMask(int value)
Sets the specified value to theaspectMaskfield.- Overrides:
aspectMaskin classVkInputAttachmentAspectReference
-
set
public VkInputAttachmentAspectReferenceKHR set(int subpass, int inputAttachmentIndex, int aspectMask)
Initializes this struct with the specified values.- Overrides:
setin 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 newVkInputAttachmentAspectReferenceKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkInputAttachmentAspectReferenceKHR calloc()
Returns a newVkInputAttachmentAspectReferenceKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkInputAttachmentAspectReferenceKHR create()
Returns a newVkInputAttachmentAspectReferenceKHRinstance allocated withBufferUtils.
-
create
public static VkInputAttachmentAspectReferenceKHR create(long address)
Returns a newVkInputAttachmentAspectReferenceKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkInputAttachmentAspectReferenceKHR createSafe(long address)
-
malloc
public static VkInputAttachmentAspectReferenceKHR.Buffer malloc(int capacity)
Returns a newVkInputAttachmentAspectReferenceKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkInputAttachmentAspectReferenceKHR.Buffer calloc(int capacity)
Returns a newVkInputAttachmentAspectReferenceKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkInputAttachmentAspectReferenceKHR.Buffer create(int capacity)
Returns a newVkInputAttachmentAspectReferenceKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkInputAttachmentAspectReferenceKHR.Buffer create(long address, int capacity)
Create aVkInputAttachmentAspectReferenceKHR.Bufferinstance 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 newVkInputAttachmentAspectReferenceKHRinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkInputAttachmentAspectReferenceKHR callocStack()
Returns a newVkInputAttachmentAspectReferenceKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkInputAttachmentAspectReferenceKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkInputAttachmentAspectReferenceKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkInputAttachmentAspectReferenceKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkInputAttachmentAspectReferenceKHRinstance allocated on the specifiedMemoryStackand 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.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkInputAttachmentAspectReferenceKHR.Buffer callocStack(int capacity)
Returns a newVkInputAttachmentAspectReferenceKHR.Bufferinstance allocated on the thread-localMemoryStackand 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.Bufferinstance 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.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-