Package org.lwjgl.vulkan
Class VkSubpassBeginInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkSubpassBeginInfo
-
- org.lwjgl.vulkan.VkSubpassBeginInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkSubpassBeginInfoKHR extends VkSubpassBeginInfo
SeeVkSubpassBeginInfo.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 Deprecated 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 VkSubpassBeginInfoKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSubpassBeginInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSubpassBeginInfoKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkSubpassBeginInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSubpassBeginInfoKHRcallocStack()Deprecated.static VkSubpassBeginInfoKHR.BuffercallocStack(int capacity)Deprecated.static VkSubpassBeginInfoKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkSubpassBeginInfoKHRcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.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 VkSubpassBeginInfoKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSubpassBeginInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkSubpassBeginInfoKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkSubpassBeginInfoKHRinstance allocated on the specifiedMemoryStack.static VkSubpassBeginInfoKHRmallocStack()Deprecated.static VkSubpassBeginInfoKHR.BuffermallocStack(int capacity)Deprecated.static VkSubpassBeginInfoKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkSubpassBeginInfoKHRmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.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.VkSubpassBeginInfoKHRsType(int value)Sets the specified value to thesTypefield.VkSubpassBeginInfoKHRsType$Default()Sets theSTRUCTURE_TYPE_SUBPASS_BEGIN_INFOvalue 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
-
sType
public VkSubpassBeginInfoKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkSubpassBeginInfo
-
sType$Default
public VkSubpassBeginInfoKHR sType$Default()
Sets theSTRUCTURE_TYPE_SUBPASS_BEGIN_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkSubpassBeginInfo
-
pNext
public VkSubpassBeginInfoKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkSubpassBeginInfo
-
contents
public VkSubpassBeginInfoKHR contents(int value)
Sets the specified value to thecontentsfield.- Overrides:
contentsin classVkSubpassBeginInfo
-
set
public VkSubpassBeginInfoKHR set(int sType, long pNext, int contents)
Initializes this struct with the specified values.- Overrides:
setin classVkSubpassBeginInfo
-
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
@Deprecated public static VkSubpassBeginInfoKHR mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkSubpassBeginInfoKHR callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkSubpassBeginInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkSubpassBeginInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkSubpassBeginInfoKHR.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkSubpassBeginInfoKHR.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkSubpassBeginInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkSubpassBeginInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkSubpassBeginInfoKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkSubpassBeginInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkSubpassBeginInfoKHR calloc(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
-
malloc
public static VkSubpassBeginInfoKHR.Buffer malloc(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
-
calloc
public static VkSubpassBeginInfoKHR.Buffer calloc(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
-
-