Package org.lwjgl.vulkan
Class VkRenderPassInputAttachmentAspectCreateInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkRenderPassInputAttachmentAspectCreateInfo
-
- org.lwjgl.vulkan.VkRenderPassInputAttachmentAspectCreateInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class VkRenderPassInputAttachmentAspectCreateInfoKHR extends VkRenderPassInputAttachmentAspectCreateInfo
SeeVkRenderPassInputAttachmentAspectCreateInfo
.Layout
struct VkRenderPassInputAttachmentAspectCreateInfoKHR { VkStructureType sType; void const * pNext; uint32_t aspectReferenceCount;
VkInputAttachmentAspectReference
const * pAspectReferences; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer
An array ofVkRenderPassInputAttachmentAspectCreateInfoKHR
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.VkRenderPassInputAttachmentAspectCreateInfo
ALIGNOF, ASPECTREFERENCECOUNT, PASPECTREFERENCES, PNEXT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkRenderPassInputAttachmentAspectCreateInfoKHR(java.nio.ByteBuffer container)
Creates aVkRenderPassInputAttachmentAspectCreateInfoKHR
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkRenderPassInputAttachmentAspectCreateInfoKHR
calloc()
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR
instance allocated withmemCalloc
.static VkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer
calloc(int capacity)
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer
instance allocated withmemCalloc
.static VkRenderPassInputAttachmentAspectCreateInfoKHR
callocStack()
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer
callocStack(int capacity)
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkRenderPassInputAttachmentAspectCreateInfoKHR
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkRenderPassInputAttachmentAspectCreateInfoKHR
create()
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR
instance allocated withBufferUtils
.static VkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer
create(int capacity)
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer
instance allocated withBufferUtils
.static VkRenderPassInputAttachmentAspectCreateInfoKHR
create(long address)
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR
instance for the specified memory address.static VkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer
create(long address, int capacity)
Create aVkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer
instance at the specified memory.static VkRenderPassInputAttachmentAspectCreateInfoKHR
createSafe(long address)
static VkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer
createSafe(long address, int capacity)
static VkRenderPassInputAttachmentAspectCreateInfoKHR
malloc()
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR
instance allocated withmemAlloc
.static VkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer
malloc(int capacity)
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer
instance allocated withmemAlloc
.static VkRenderPassInputAttachmentAspectCreateInfoKHR
mallocStack()
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR
instance allocated on the thread-localMemoryStack
.static VkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer
mallocStack(int capacity)
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
.static VkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
.static VkRenderPassInputAttachmentAspectCreateInfoKHR
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR
instance allocated on the specifiedMemoryStack
.VkRenderPassInputAttachmentAspectCreateInfoKHR
pAspectReferences(VkInputAttachmentAspectReference.Buffer value)
Sets the address of the specifiedVkInputAttachmentAspectReference.Buffer
to thepAspectReferences
field.VkRenderPassInputAttachmentAspectCreateInfoKHR
pNext(long value)
Sets the specified value to thepNext
field.VkRenderPassInputAttachmentAspectCreateInfoKHR
set(int sType, long pNext, VkInputAttachmentAspectReference.Buffer pAspectReferences)
Initializes this struct with the specified values.VkRenderPassInputAttachmentAspectCreateInfoKHR
set(VkRenderPassInputAttachmentAspectCreateInfoKHR src)
Copies the specified struct data to this struct.VkRenderPassInputAttachmentAspectCreateInfoKHR
sType(int value)
Sets the specified value to thesType
field.-
Methods inherited from class org.lwjgl.vulkan.VkRenderPassInputAttachmentAspectCreateInfo
aspectReferenceCount, naspectReferenceCount, naspectReferenceCount, npAspectReferences, npAspectReferences, npNext, npNext, nsType, nsType, pAspectReferences, pNext, set, sizeof, sType, validate, validate
-
-
-
-
Constructor Detail
-
VkRenderPassInputAttachmentAspectCreateInfoKHR
public VkRenderPassInputAttachmentAspectCreateInfoKHR(java.nio.ByteBuffer container)
Creates aVkRenderPassInputAttachmentAspectCreateInfoKHR
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
-
sType
public VkRenderPassInputAttachmentAspectCreateInfoKHR sType(int value)
Sets the specified value to thesType
field.- Overrides:
sType
in classVkRenderPassInputAttachmentAspectCreateInfo
-
pNext
public VkRenderPassInputAttachmentAspectCreateInfoKHR pNext(long value)
Sets the specified value to thepNext
field.- Overrides:
pNext
in classVkRenderPassInputAttachmentAspectCreateInfo
-
pAspectReferences
public VkRenderPassInputAttachmentAspectCreateInfoKHR pAspectReferences(VkInputAttachmentAspectReference.Buffer value)
Sets the address of the specifiedVkInputAttachmentAspectReference.Buffer
to thepAspectReferences
field.- Overrides:
pAspectReferences
in classVkRenderPassInputAttachmentAspectCreateInfo
-
set
public VkRenderPassInputAttachmentAspectCreateInfoKHR set(int sType, long pNext, VkInputAttachmentAspectReference.Buffer pAspectReferences)
Initializes this struct with the specified values.- Overrides:
set
in classVkRenderPassInputAttachmentAspectCreateInfo
-
set
public VkRenderPassInputAttachmentAspectCreateInfoKHR set(VkRenderPassInputAttachmentAspectCreateInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static VkRenderPassInputAttachmentAspectCreateInfoKHR malloc()
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkRenderPassInputAttachmentAspectCreateInfoKHR calloc()
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkRenderPassInputAttachmentAspectCreateInfoKHR create()
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR
instance allocated withBufferUtils
.
-
create
public static VkRenderPassInputAttachmentAspectCreateInfoKHR create(long address)
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR
instance for the specified memory address.
-
createSafe
@Nullable public static VkRenderPassInputAttachmentAspectCreateInfoKHR createSafe(long address)
-
malloc
public static VkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer malloc(int capacity)
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer calloc(int capacity)
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer create(int capacity)
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer create(long address, int capacity)
Create aVkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkRenderPassInputAttachmentAspectCreateInfoKHR mallocStack()
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkRenderPassInputAttachmentAspectCreateInfoKHR callocStack()
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkRenderPassInputAttachmentAspectCreateInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkRenderPassInputAttachmentAspectCreateInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static VkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer mallocStack(int capacity)
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer callocStack(int capacity)
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static VkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassInputAttachmentAspectCreateInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
-