Package org.lwjgl.vulkan
Class VkSubpassBeginInfoKHR
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkSubpassBeginInfo>
org.lwjgl.vulkan.VkSubpassBeginInfo
org.lwjgl.vulkan.VkSubpassBeginInfoKHR
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
struct VkSubpassBeginInfoKHR {
VkStructureType sType;
void const * pNext;
VkSubpassContents contents;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
Fields inherited from class org.lwjgl.vulkan.VkSubpassBeginInfo
ALIGNOF, CONTENTS, PNEXT, SIZEOF, STYPEFields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionVkSubpassBeginInfoKHR(ByteBuffer container) Creates aVkSubpassBeginInfoKHRinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkSubpassBeginInfoKHRcalloc()Returns a newVkSubpassBeginInfoKHRinstance allocated withmemCalloc.static VkSubpassBeginInfoKHR.Buffercalloc(int capacity) Returns a newVkSubpassBeginInfoKHR.Bufferinstance allocated withmemCalloc.static VkSubpassBeginInfoKHR.Buffercalloc(int capacity, MemoryStack stack) Returns a newVkSubpassBeginInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSubpassBeginInfoKHRcalloc(MemoryStack stack) Returns a newVkSubpassBeginInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSubpassBeginInfoKHRDeprecated.static VkSubpassBeginInfoKHR.BuffercallocStack(int capacity) Deprecated.static VkSubpassBeginInfoKHR.BuffercallocStack(int capacity, MemoryStack stack) Deprecated.static VkSubpassBeginInfoKHRcallocStack(MemoryStack stack) Deprecated.contents(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 @Nullable VkSubpassBeginInfoKHRcreateSafe(long address) static @Nullable 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 VkSubpassBeginInfoKHR.Buffermalloc(int capacity, MemoryStack stack) Returns a newVkSubpassBeginInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkSubpassBeginInfoKHRmalloc(MemoryStack stack) Returns a newVkSubpassBeginInfoKHRinstance allocated on the specifiedMemoryStack.static VkSubpassBeginInfoKHRDeprecated.static VkSubpassBeginInfoKHR.BuffermallocStack(int capacity) Deprecated.static VkSubpassBeginInfoKHR.BuffermallocStack(int capacity, MemoryStack stack) Deprecated.static VkSubpassBeginInfoKHRmallocStack(MemoryStack stack) Deprecated.pNext(long value) Sets the specified value to thepNextfield.set(int sType, long pNext, int contents) Initializes this struct with the specified values.set(VkSubpassBeginInfoKHR src) Copies the specified struct data to this struct.sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_SUBPASS_BEGIN_INFOvalue to thesTypefield.Methods inherited from class org.lwjgl.vulkan.VkSubpassBeginInfo
contents, ncontents, ncontents, npNext, npNext, nsType, nsType, pNext, set, sizeof, sTypeMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
VkSubpassBeginInfoKHR
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 Details
-
sType
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkSubpassBeginInfo
-
sType$Default
Sets theSTRUCTURE_TYPE_SUBPASS_BEGIN_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkSubpassBeginInfo
-
pNext
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkSubpassBeginInfo
-
contents
Sets the specified value to thecontentsfield.- Overrides:
contentsin classVkSubpassBeginInfo
-
set
Initializes this struct with the specified values.- Overrides:
setin classVkSubpassBeginInfo
-
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkSubpassBeginInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkSubpassBeginInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkSubpassBeginInfoKHRinstance allocated withBufferUtils. -
create
Returns a newVkSubpassBeginInfoKHRinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkSubpassBeginInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkSubpassBeginInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkSubpassBeginInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkSubpassBeginInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead. -
malloc
Returns a newVkSubpassBeginInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkSubpassBeginInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newVkSubpassBeginInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newVkSubpassBeginInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-