Package org.lwjgl.vulkan
Class VkSubpassBeginInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkSubpassBeginInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkSubpassBeginInfoKHR extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying subpass begin info.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_SUBPASS_BEGIN_INFO_KHRpNextmust beNULLcontentsmust be a validVkSubpassContentsvalue
See Also
CmdBeginRenderPass2KHR,CmdNextSubpass2KHRMember documentation
sType– the type of this structure.pNext–NULLor a pointer to an extension-specific structure.contents– aVkSubpassContentsvalue specifying how the commands in the next subpass will be provided.
Layout
struct VkSubpassBeginInfoKHR { VkStructureType sType; void const * pNext; VkSubpassContents contents; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkSubpassBeginInfoKHR.BufferAn array ofVkSubpassBeginInfoKHRstructs.
-
Constructor Summary
Constructors Constructor Description VkSubpassBeginInfoKHR(java.nio.ByteBuffer container)Creates aVkSubpassBeginInfoKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkSubpassBeginInfoKHRcalloc()Returns a newVkSubpassBeginInfoKHRinstance allocated withmemCalloc.static VkSubpassBeginInfoKHR.Buffercalloc(int capacity)Returns a newVkSubpassBeginInfoKHR.Bufferinstance allocated withmemCalloc.static VkSubpassBeginInfoKHRcallocStack()Returns a newVkSubpassBeginInfoKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkSubpassBeginInfoKHR.BuffercallocStack(int capacity)Returns a newVkSubpassBeginInfoKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkSubpassBeginInfoKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSubpassBeginInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSubpassBeginInfoKHRcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkSubpassBeginInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.intcontents()Returns the value of thecontentsfield.VkSubpassBeginInfoKHRcontents(int value)Sets the specified value to thecontentsfield.static VkSubpassBeginInfoKHRcreate()Returns a newVkSubpassBeginInfoKHRinstance allocated withBufferUtils.static VkSubpassBeginInfoKHR.Buffercreate(int capacity)Returns a newVkSubpassBeginInfoKHR.Bufferinstance allocated withBufferUtils.static VkSubpassBeginInfoKHRcreate(long address)Returns a newVkSubpassBeginInfoKHRinstance for the specified memory address.static VkSubpassBeginInfoKHR.Buffercreate(long address, int capacity)Create aVkSubpassBeginInfoKHR.Bufferinstance at the specified memory.static VkSubpassBeginInfoKHRcreateSafe(long address)static VkSubpassBeginInfoKHR.BuffercreateSafe(long address, int capacity)static VkSubpassBeginInfoKHRmalloc()Returns a newVkSubpassBeginInfoKHRinstance allocated withmemAlloc.static VkSubpassBeginInfoKHR.Buffermalloc(int capacity)Returns a newVkSubpassBeginInfoKHR.Bufferinstance allocated withmemAlloc.static VkSubpassBeginInfoKHRmallocStack()Returns a newVkSubpassBeginInfoKHRinstance allocated on the thread-localMemoryStack.static VkSubpassBeginInfoKHR.BuffermallocStack(int capacity)Returns a newVkSubpassBeginInfoKHR.Bufferinstance allocated on the thread-localMemoryStack.static VkSubpassBeginInfoKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSubpassBeginInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkSubpassBeginInfoKHRmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkSubpassBeginInfoKHRinstance allocated on the specifiedMemoryStack.static intncontents(long struct)Unsafe version ofcontents().static voidncontents(long struct, int value)Unsafe version ofcontents.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.VkSubpassBeginInfoKHRpNext(long value)Sets the specified value to thepNextfield.VkSubpassBeginInfoKHRset(int sType, long pNext, int contents)Initializes this struct with the specified values.VkSubpassBeginInfoKHRset(VkSubpassBeginInfoKHR src)Copies the specified struct data to this struct.intsizeof()intsType()Returns the value of thesTypefield.VkSubpassBeginInfoKHRsType(int value)Sets the specified value to thesTypefield.
-
-
-
Constructor Detail
-
VkSubpassBeginInfoKHR
public VkSubpassBeginInfoKHR(java.nio.ByteBuffer container)
Creates aVkSubpassBeginInfoKHRinstance 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.
-
contents
public int contents()
Returns the value of thecontentsfield.
-
sType
public VkSubpassBeginInfoKHR sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkSubpassBeginInfoKHR pNext(long value)
Sets the specified value to thepNextfield.
-
contents
public VkSubpassBeginInfoKHR contents(int value)
Sets the specified value to thecontentsfield.
-
set
public VkSubpassBeginInfoKHR set(int sType, long pNext, int contents)
Initializes this struct with the specified values.
-
set
public VkSubpassBeginInfoKHR set(VkSubpassBeginInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkSubpassBeginInfoKHR malloc()
Returns a newVkSubpassBeginInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkSubpassBeginInfoKHR calloc()
Returns a newVkSubpassBeginInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkSubpassBeginInfoKHR create()
Returns a newVkSubpassBeginInfoKHRinstance allocated withBufferUtils.
-
create
public static VkSubpassBeginInfoKHR create(long address)
Returns a newVkSubpassBeginInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkSubpassBeginInfoKHR createSafe(long address)
-
malloc
public static VkSubpassBeginInfoKHR.Buffer malloc(int capacity)
Returns a newVkSubpassBeginInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkSubpassBeginInfoKHR.Buffer calloc(int capacity)
Returns a newVkSubpassBeginInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkSubpassBeginInfoKHR.Buffer create(int capacity)
Returns a newVkSubpassBeginInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkSubpassBeginInfoKHR.Buffer create(long address, int capacity)
Create aVkSubpassBeginInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkSubpassBeginInfoKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkSubpassBeginInfoKHR mallocStack()
Returns a newVkSubpassBeginInfoKHRinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkSubpassBeginInfoKHR callocStack()
Returns a newVkSubpassBeginInfoKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkSubpassBeginInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkSubpassBeginInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkSubpassBeginInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkSubpassBeginInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkSubpassBeginInfoKHR.Buffer mallocStack(int capacity)
Returns a newVkSubpassBeginInfoKHR.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkSubpassBeginInfoKHR.Buffer callocStack(int capacity)
Returns a newVkSubpassBeginInfoKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkSubpassBeginInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSubpassBeginInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkSubpassBeginInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSubpassBeginInfoKHR.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().
-
ncontents
public static int ncontents(long struct)
Unsafe version ofcontents().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
ncontents
public static void ncontents(long struct, int value)Unsafe version ofcontents.
-
-