Package org.lwjgl.vulkan
Class VkSubpassEndInfo
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkSubpassEndInfo
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkSubpassEndInfoKHR
public class VkSubpassEndInfo extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying subpass end information.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_SUBPASS_END_INFOpNextmust beNULLor a pointer to a valid instance ofVkSubpassFragmentDensityMapOffsetEndInfoQCOM- The
sTypevalue of each struct in thepNextchain must be unique
See Also
CmdEndRenderPass2,CmdEndRenderPass2KHR,CmdNextSubpass2,CmdNextSubpass2KHRLayout
struct VkSubpassEndInfo { VkStructureTypesType(); void const *pNext(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkSubpassEndInfo.BufferAn array ofVkSubpassEndInfostructs.
-
Constructor Summary
Constructors Constructor Description VkSubpassEndInfo(java.nio.ByteBuffer container)Creates aVkSubpassEndInfoinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkSubpassEndInfocalloc()Returns a newVkSubpassEndInfoinstance allocated withmemCalloc.static VkSubpassEndInfo.Buffercalloc(int capacity)Returns a newVkSubpassEndInfo.Bufferinstance allocated withmemCalloc.static VkSubpassEndInfo.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSubpassEndInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSubpassEndInfocalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkSubpassEndInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSubpassEndInfocreate()Returns a newVkSubpassEndInfoinstance allocated withBufferUtils.static VkSubpassEndInfo.Buffercreate(int capacity)Returns a newVkSubpassEndInfo.Bufferinstance allocated withBufferUtils.static VkSubpassEndInfocreate(long address)Returns a newVkSubpassEndInfoinstance for the specified memory address.static VkSubpassEndInfo.Buffercreate(long address, int capacity)Create aVkSubpassEndInfo.Bufferinstance at the specified memory.static VkSubpassEndInfocreateSafe(long address)static VkSubpassEndInfo.BuffercreateSafe(long address, int capacity)static VkSubpassEndInfomalloc()Returns a newVkSubpassEndInfoinstance allocated withmemAlloc.static VkSubpassEndInfo.Buffermalloc(int capacity)Returns a newVkSubpassEndInfo.Bufferinstance allocated withmemAlloc.static VkSubpassEndInfo.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSubpassEndInfo.Bufferinstance allocated on the specifiedMemoryStack.static VkSubpassEndInfomalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkSubpassEndInfoinstance allocated on the specifiedMemoryStack.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.longpNext()NULLor a pointer to a structure extending this structure.VkSubpassEndInfopNext(long value)Sets the specified value to thepNext()field.VkSubpassEndInfopNext(VkSubpassFragmentDensityMapOffsetEndInfoQCOM value)Prepends the specifiedVkSubpassFragmentDensityMapOffsetEndInfoQCOMvalue to thepNextchain.VkSubpassEndInfoset(int sType, long pNext)Initializes this struct with the specified values.VkSubpassEndInfoset(VkSubpassEndInfo src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkSubpassEndInfosType(int value)Sets the specified value to thesType()field.VkSubpassEndInfosType$Default()Sets theSTRUCTURE_TYPE_SUBPASS_END_INFOvalue to thesType()field.
-
-
-
Constructor Detail
-
VkSubpassEndInfo
public VkSubpassEndInfo(java.nio.ByteBuffer container)
Creates aVkSubpassEndInfoinstance 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()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
sType
public VkSubpassEndInfo sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkSubpassEndInfo sType$Default()
Sets theSTRUCTURE_TYPE_SUBPASS_END_INFOvalue to thesType()field.
-
pNext
public VkSubpassEndInfo pNext(long value)
Sets the specified value to thepNext()field.
-
pNext
public VkSubpassEndInfo pNext(VkSubpassFragmentDensityMapOffsetEndInfoQCOM value)
Prepends the specifiedVkSubpassFragmentDensityMapOffsetEndInfoQCOMvalue to thepNextchain.
-
set
public VkSubpassEndInfo set(int sType, long pNext)
Initializes this struct with the specified values.
-
set
public VkSubpassEndInfo set(VkSubpassEndInfo src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkSubpassEndInfo malloc()
Returns a newVkSubpassEndInfoinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkSubpassEndInfo calloc()
Returns a newVkSubpassEndInfoinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkSubpassEndInfo create()
Returns a newVkSubpassEndInfoinstance allocated withBufferUtils.
-
create
public static VkSubpassEndInfo create(long address)
Returns a newVkSubpassEndInfoinstance for the specified memory address.
-
createSafe
@Nullable public static VkSubpassEndInfo createSafe(long address)
-
malloc
public static VkSubpassEndInfo.Buffer malloc(int capacity)
Returns a newVkSubpassEndInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkSubpassEndInfo.Buffer calloc(int capacity)
Returns a newVkSubpassEndInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkSubpassEndInfo.Buffer create(int capacity)
Returns a newVkSubpassEndInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkSubpassEndInfo.Buffer create(long address, int capacity)
Create aVkSubpassEndInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkSubpassEndInfo.Buffer createSafe(long address, int capacity)
-
malloc
public static VkSubpassEndInfo malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkSubpassEndInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkSubpassEndInfo calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkSubpassEndInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkSubpassEndInfo.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSubpassEndInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkSubpassEndInfo.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSubpassEndInfo.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().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
-