Package org.lwjgl.vulkan
Class VkSubpassEndInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkSubpassEndInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkSubpassEndInfoKHR extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying subpass end info.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_SUBPASS_END_INFO_KHRpNextmust beNULL
See Also
CmdEndRenderPass2KHR,CmdNextSubpass2KHRMember documentation
sType– the type of this structure.pNext–NULLor a pointer to an extension-specific structure.
Layout
struct VkSubpassEndInfoKHR { VkStructureType sType; void const * pNext; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkSubpassEndInfoKHR.BufferAn array ofVkSubpassEndInfoKHRstructs.
-
Constructor Summary
Constructors Constructor Description VkSubpassEndInfoKHR(java.nio.ByteBuffer container)Creates aVkSubpassEndInfoKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkSubpassEndInfoKHRcalloc()Returns a newVkSubpassEndInfoKHRinstance allocated withmemCalloc.static VkSubpassEndInfoKHR.Buffercalloc(int capacity)Returns a newVkSubpassEndInfoKHR.Bufferinstance allocated withmemCalloc.static VkSubpassEndInfoKHRcallocStack()Returns a newVkSubpassEndInfoKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkSubpassEndInfoKHR.BuffercallocStack(int capacity)Returns a newVkSubpassEndInfoKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkSubpassEndInfoKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSubpassEndInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSubpassEndInfoKHRcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkSubpassEndInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSubpassEndInfoKHRcreate()Returns a newVkSubpassEndInfoKHRinstance allocated withBufferUtils.static VkSubpassEndInfoKHR.Buffercreate(int capacity)Returns a newVkSubpassEndInfoKHR.Bufferinstance allocated withBufferUtils.static VkSubpassEndInfoKHRcreate(long address)Returns a newVkSubpassEndInfoKHRinstance for the specified memory address.static VkSubpassEndInfoKHR.Buffercreate(long address, int capacity)Create aVkSubpassEndInfoKHR.Bufferinstance at the specified memory.static VkSubpassEndInfoKHRcreateSafe(long address)static VkSubpassEndInfoKHR.BuffercreateSafe(long address, int capacity)static VkSubpassEndInfoKHRmalloc()Returns a newVkSubpassEndInfoKHRinstance allocated withmemAlloc.static VkSubpassEndInfoKHR.Buffermalloc(int capacity)Returns a newVkSubpassEndInfoKHR.Bufferinstance allocated withmemAlloc.static VkSubpassEndInfoKHRmallocStack()Returns a newVkSubpassEndInfoKHRinstance allocated on the thread-localMemoryStack.static VkSubpassEndInfoKHR.BuffermallocStack(int capacity)Returns a newVkSubpassEndInfoKHR.Bufferinstance allocated on the thread-localMemoryStack.static VkSubpassEndInfoKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSubpassEndInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkSubpassEndInfoKHRmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkSubpassEndInfoKHRinstance 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()Returns the value of thepNextfield.VkSubpassEndInfoKHRpNext(long value)Sets the specified value to thepNextfield.VkSubpassEndInfoKHRset(int sType, long pNext)Initializes this struct with the specified values.VkSubpassEndInfoKHRset(VkSubpassEndInfoKHR src)Copies the specified struct data to this struct.intsizeof()intsType()Returns the value of thesTypefield.VkSubpassEndInfoKHRsType(int value)Sets the specified value to thesTypefield.
-
-
-
Constructor Detail
-
VkSubpassEndInfoKHR
public VkSubpassEndInfoKHR(java.nio.ByteBuffer container)
Creates aVkSubpassEndInfoKHRinstance 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.
-
sType
public VkSubpassEndInfoKHR sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkSubpassEndInfoKHR pNext(long value)
Sets the specified value to thepNextfield.
-
set
public VkSubpassEndInfoKHR set(int sType, long pNext)
Initializes this struct with the specified values.
-
set
public VkSubpassEndInfoKHR set(VkSubpassEndInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkSubpassEndInfoKHR malloc()
Returns a newVkSubpassEndInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkSubpassEndInfoKHR calloc()
Returns a newVkSubpassEndInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkSubpassEndInfoKHR create()
Returns a newVkSubpassEndInfoKHRinstance allocated withBufferUtils.
-
create
public static VkSubpassEndInfoKHR create(long address)
Returns a newVkSubpassEndInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkSubpassEndInfoKHR createSafe(long address)
-
malloc
public static VkSubpassEndInfoKHR.Buffer malloc(int capacity)
Returns a newVkSubpassEndInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkSubpassEndInfoKHR.Buffer calloc(int capacity)
Returns a newVkSubpassEndInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkSubpassEndInfoKHR.Buffer create(int capacity)
Returns a newVkSubpassEndInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkSubpassEndInfoKHR.Buffer create(long address, int capacity)
Create aVkSubpassEndInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkSubpassEndInfoKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkSubpassEndInfoKHR mallocStack()
Returns a newVkSubpassEndInfoKHRinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkSubpassEndInfoKHR callocStack()
Returns a newVkSubpassEndInfoKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkSubpassEndInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkSubpassEndInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkSubpassEndInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkSubpassEndInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkSubpassEndInfoKHR.Buffer mallocStack(int capacity)
Returns a newVkSubpassEndInfoKHR.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkSubpassEndInfoKHR.Buffer callocStack(int capacity)
Returns a newVkSubpassEndInfoKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkSubpassEndInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSubpassEndInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkSubpassEndInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSubpassEndInfoKHR.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.
-
-