Package org.lwjgl.vulkan
Class VkRenderPassInputAttachmentAspectCreateInfo
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkRenderPassInputAttachmentAspectCreateInfo
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkRenderPassInputAttachmentAspectCreateInfoKHR
public class VkRenderPassInputAttachmentAspectCreateInfo extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying, for a given subpass/input attachment pair, which aspect can be read.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFOpAspectReferencesmust be a valid pointer to an array ofaspectReferenceCountvalidVkInputAttachmentAspectReferencestructuresaspectReferenceCountmust be greater than 0
See Also
VkInputAttachmentAspectReferenceMember documentation
sType– the type of this structure.pNext–NULLor a pointer to an extension-specific structure.aspectReferenceCount– the number of elements in thepAspectReferencesarray.pAspectReferences– points to an array ofaspectReferenceCountnumber ofVkInputAttachmentAspectReferencestructures describing which aspect(s) can be accessed for a given input attachment within a given subpass.
Layout
struct VkRenderPassInputAttachmentAspectCreateInfo { VkStructureType sType; void const * pNext; uint32_t aspectReferenceCount;VkInputAttachmentAspectReferenceconst * pAspectReferences; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkRenderPassInputAttachmentAspectCreateInfo.BufferAn array ofVkRenderPassInputAttachmentAspectCreateInfostructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intASPECTREFERENCECOUNT
PASPECTREFERENCES
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkRenderPassInputAttachmentAspectCreateInfo(java.nio.ByteBuffer container)Creates aVkRenderPassInputAttachmentAspectCreateInfoinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intaspectReferenceCount()Returns the value of theaspectReferenceCountfield.static VkRenderPassInputAttachmentAspectCreateInfocalloc()Returns a newVkRenderPassInputAttachmentAspectCreateInfoinstance allocated withmemCalloc.static VkRenderPassInputAttachmentAspectCreateInfo.Buffercalloc(int capacity)Returns a newVkRenderPassInputAttachmentAspectCreateInfo.Bufferinstance allocated withmemCalloc.static VkRenderPassInputAttachmentAspectCreateInfocallocStack()Returns a newVkRenderPassInputAttachmentAspectCreateInfoinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkRenderPassInputAttachmentAspectCreateInfo.BuffercallocStack(int capacity)Returns a newVkRenderPassInputAttachmentAspectCreateInfo.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkRenderPassInputAttachmentAspectCreateInfo.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkRenderPassInputAttachmentAspectCreateInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkRenderPassInputAttachmentAspectCreateInfocallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkRenderPassInputAttachmentAspectCreateInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkRenderPassInputAttachmentAspectCreateInfocreate()Returns a newVkRenderPassInputAttachmentAspectCreateInfoinstance allocated withBufferUtils.static VkRenderPassInputAttachmentAspectCreateInfo.Buffercreate(int capacity)Returns a newVkRenderPassInputAttachmentAspectCreateInfo.Bufferinstance allocated withBufferUtils.static VkRenderPassInputAttachmentAspectCreateInfocreate(long address)Returns a newVkRenderPassInputAttachmentAspectCreateInfoinstance for the specified memory address.static VkRenderPassInputAttachmentAspectCreateInfo.Buffercreate(long address, int capacity)Create aVkRenderPassInputAttachmentAspectCreateInfo.Bufferinstance at the specified memory.static VkRenderPassInputAttachmentAspectCreateInfocreateSafe(long address)static VkRenderPassInputAttachmentAspectCreateInfo.BuffercreateSafe(long address, int capacity)static VkRenderPassInputAttachmentAspectCreateInfomalloc()Returns a newVkRenderPassInputAttachmentAspectCreateInfoinstance allocated withmemAlloc.static VkRenderPassInputAttachmentAspectCreateInfo.Buffermalloc(int capacity)Returns a newVkRenderPassInputAttachmentAspectCreateInfo.Bufferinstance allocated withmemAlloc.static VkRenderPassInputAttachmentAspectCreateInfomallocStack()Returns a newVkRenderPassInputAttachmentAspectCreateInfoinstance allocated on the thread-localMemoryStack.static VkRenderPassInputAttachmentAspectCreateInfo.BuffermallocStack(int capacity)Returns a newVkRenderPassInputAttachmentAspectCreateInfo.Bufferinstance allocated on the thread-localMemoryStack.static VkRenderPassInputAttachmentAspectCreateInfo.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkRenderPassInputAttachmentAspectCreateInfo.Bufferinstance allocated on the specifiedMemoryStack.static VkRenderPassInputAttachmentAspectCreateInfomallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkRenderPassInputAttachmentAspectCreateInfoinstance allocated on the specifiedMemoryStack.static intnaspectReferenceCount(long struct)Unsafe version ofaspectReferenceCount().static voidnaspectReferenceCount(long struct, int value)Sets the specified value to theaspectReferenceCountfield of the specifiedstruct.static VkInputAttachmentAspectReference.BuffernpAspectReferences(long struct)Unsafe version ofpAspectReferences().static voidnpAspectReferences(long struct, VkInputAttachmentAspectReference.Buffer value)Unsafe version ofpAspectReferences.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.VkInputAttachmentAspectReference.BufferpAspectReferences()Returns aVkInputAttachmentAspectReference.Bufferview of the struct array pointed to by thepAspectReferencesfield.VkRenderPassInputAttachmentAspectCreateInfopAspectReferences(VkInputAttachmentAspectReference.Buffer value)Sets the address of the specifiedVkInputAttachmentAspectReference.Bufferto thepAspectReferencesfield.longpNext()Returns the value of thepNextfield.VkRenderPassInputAttachmentAspectCreateInfopNext(long value)Sets the specified value to thepNextfield.VkRenderPassInputAttachmentAspectCreateInfoset(int sType, long pNext, VkInputAttachmentAspectReference.Buffer pAspectReferences)Initializes this struct with the specified values.VkRenderPassInputAttachmentAspectCreateInfoset(VkRenderPassInputAttachmentAspectCreateInfo src)Copies the specified struct data to this struct.intsizeof()intsType()Returns the value of thesTypefield.VkRenderPassInputAttachmentAspectCreateInfosType(int value)Sets the specified value to thesTypefield.static voidvalidate(long struct)Validates pointer members that should not beNULL.static voidvalidate(long array, int count)Callsvalidate(long)for each struct contained in the specified struct array.
-
-
-
Constructor Detail
-
VkRenderPassInputAttachmentAspectCreateInfo
public VkRenderPassInputAttachmentAspectCreateInfo(java.nio.ByteBuffer container)
Creates aVkRenderPassInputAttachmentAspectCreateInfoinstance 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
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
aspectReferenceCount
public int aspectReferenceCount()
Returns the value of theaspectReferenceCountfield.
-
pAspectReferences
public VkInputAttachmentAspectReference.Buffer pAspectReferences()
Returns aVkInputAttachmentAspectReference.Bufferview of the struct array pointed to by thepAspectReferencesfield.
-
sType
public VkRenderPassInputAttachmentAspectCreateInfo sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkRenderPassInputAttachmentAspectCreateInfo pNext(long value)
Sets the specified value to thepNextfield.
-
pAspectReferences
public VkRenderPassInputAttachmentAspectCreateInfo pAspectReferences(VkInputAttachmentAspectReference.Buffer value)
Sets the address of the specifiedVkInputAttachmentAspectReference.Bufferto thepAspectReferencesfield.
-
set
public VkRenderPassInputAttachmentAspectCreateInfo set(int sType, long pNext, VkInputAttachmentAspectReference.Buffer pAspectReferences)
Initializes this struct with the specified values.
-
set
public VkRenderPassInputAttachmentAspectCreateInfo set(VkRenderPassInputAttachmentAspectCreateInfo src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkRenderPassInputAttachmentAspectCreateInfo malloc()
Returns a newVkRenderPassInputAttachmentAspectCreateInfoinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkRenderPassInputAttachmentAspectCreateInfo calloc()
Returns a newVkRenderPassInputAttachmentAspectCreateInfoinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkRenderPassInputAttachmentAspectCreateInfo create()
Returns a newVkRenderPassInputAttachmentAspectCreateInfoinstance allocated withBufferUtils.
-
create
public static VkRenderPassInputAttachmentAspectCreateInfo create(long address)
Returns a newVkRenderPassInputAttachmentAspectCreateInfoinstance for the specified memory address.
-
createSafe
@Nullable public static VkRenderPassInputAttachmentAspectCreateInfo createSafe(long address)
-
malloc
public static VkRenderPassInputAttachmentAspectCreateInfo.Buffer malloc(int capacity)
Returns a newVkRenderPassInputAttachmentAspectCreateInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkRenderPassInputAttachmentAspectCreateInfo.Buffer calloc(int capacity)
Returns a newVkRenderPassInputAttachmentAspectCreateInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkRenderPassInputAttachmentAspectCreateInfo.Buffer create(int capacity)
Returns a newVkRenderPassInputAttachmentAspectCreateInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkRenderPassInputAttachmentAspectCreateInfo.Buffer create(long address, int capacity)
Create aVkRenderPassInputAttachmentAspectCreateInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkRenderPassInputAttachmentAspectCreateInfo.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkRenderPassInputAttachmentAspectCreateInfo mallocStack()
Returns a newVkRenderPassInputAttachmentAspectCreateInfoinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkRenderPassInputAttachmentAspectCreateInfo callocStack()
Returns a newVkRenderPassInputAttachmentAspectCreateInfoinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkRenderPassInputAttachmentAspectCreateInfo mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassInputAttachmentAspectCreateInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkRenderPassInputAttachmentAspectCreateInfo callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassInputAttachmentAspectCreateInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkRenderPassInputAttachmentAspectCreateInfo.Buffer mallocStack(int capacity)
Returns a newVkRenderPassInputAttachmentAspectCreateInfo.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkRenderPassInputAttachmentAspectCreateInfo.Buffer callocStack(int capacity)
Returns a newVkRenderPassInputAttachmentAspectCreateInfo.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkRenderPassInputAttachmentAspectCreateInfo.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassInputAttachmentAspectCreateInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkRenderPassInputAttachmentAspectCreateInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassInputAttachmentAspectCreateInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
naspectReferenceCount
public static int naspectReferenceCount(long struct)
Unsafe version ofaspectReferenceCount().
-
npAspectReferences
public static VkInputAttachmentAspectReference.Buffer npAspectReferences(long struct)
Unsafe version ofpAspectReferences().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
naspectReferenceCount
public static void naspectReferenceCount(long struct, int value)Sets the specified value to theaspectReferenceCountfield of the specifiedstruct.
-
npAspectReferences
public static void npAspectReferences(long struct, VkInputAttachmentAspectReference.Buffer value)Unsafe version ofpAspectReferences.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
validate
public static void validate(long array, int count)Callsvalidate(long)for each struct contained in the specified struct array.- Parameters:
array- the struct array to validatecount- the number of structs inarray
-
-