public class VkSubpassBeginInfoKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_SUBPASS_BEGIN_INFO_KHRpNext must be NULLcontents must be a valid VkSubpassContents valueCmdBeginRenderPass2KHR, CmdNextSubpass2KHR
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.contents – a VkSubpassContents value specifying how the commands in the next subpass will be provided.
struct VkSubpassBeginInfoKHR {
VkStructureType sType;
void const * pNext;
VkSubpassContents contents;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkSubpassBeginInfoKHR.Buffer
An array of
VkSubpassBeginInfoKHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
CONTENTS
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkSubpassBeginInfoKHR(java.nio.ByteBuffer container)
Creates a
VkSubpassBeginInfoKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkSubpassBeginInfoKHR |
calloc()
Returns a new
VkSubpassBeginInfoKHR instance allocated with memCalloc. |
static VkSubpassBeginInfoKHR.Buffer |
calloc(int capacity)
Returns a new
VkSubpassBeginInfoKHR.Buffer instance allocated with memCalloc. |
static VkSubpassBeginInfoKHR |
callocStack()
Returns a new
VkSubpassBeginInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkSubpassBeginInfoKHR.Buffer |
callocStack(int capacity)
Returns a new
VkSubpassBeginInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkSubpassBeginInfoKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkSubpassBeginInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkSubpassBeginInfoKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkSubpassBeginInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
int |
contents()
Returns the value of the
contents field. |
VkSubpassBeginInfoKHR |
contents(int value)
Sets the specified value to the
contents field. |
static VkSubpassBeginInfoKHR |
create()
Returns a new
VkSubpassBeginInfoKHR instance allocated with BufferUtils. |
static VkSubpassBeginInfoKHR.Buffer |
create(int capacity)
Returns a new
VkSubpassBeginInfoKHR.Buffer instance allocated with BufferUtils. |
static VkSubpassBeginInfoKHR |
create(long address)
Returns a new
VkSubpassBeginInfoKHR instance for the specified memory address. |
static VkSubpassBeginInfoKHR.Buffer |
create(long address,
int capacity)
Create a
VkSubpassBeginInfoKHR.Buffer instance at the specified memory. |
static VkSubpassBeginInfoKHR |
createSafe(long address)
|
static VkSubpassBeginInfoKHR.Buffer |
createSafe(long address,
int capacity)
|
static VkSubpassBeginInfoKHR |
malloc()
Returns a new
VkSubpassBeginInfoKHR instance allocated with memAlloc. |
static VkSubpassBeginInfoKHR.Buffer |
malloc(int capacity)
Returns a new
VkSubpassBeginInfoKHR.Buffer instance allocated with memAlloc. |
static VkSubpassBeginInfoKHR |
mallocStack()
Returns a new
VkSubpassBeginInfoKHR instance allocated on the thread-local MemoryStack. |
static VkSubpassBeginInfoKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkSubpassBeginInfoKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkSubpassBeginInfoKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkSubpassBeginInfoKHR.Buffer instance allocated on the specified MemoryStack. |
static VkSubpassBeginInfoKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkSubpassBeginInfoKHR instance allocated on the specified MemoryStack. |
static int |
ncontents(long struct)
Unsafe version of
contents(). |
static void |
ncontents(long struct,
int value)
Unsafe version of
contents. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkSubpassBeginInfoKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkSubpassBeginInfoKHR |
set(int sType,
long pNext,
int contents)
Initializes this struct with the specified values.
|
VkSubpassBeginInfoKHR |
set(VkSubpassBeginInfoKHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkSubpassBeginInfoKHR |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int CONTENTS
public VkSubpassBeginInfoKHR(java.nio.ByteBuffer container)
VkSubpassBeginInfoKHR instance at the current position of the specified ByteBuffer container. 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public int contents()
contents field.public VkSubpassBeginInfoKHR sType(int value)
sType field.public VkSubpassBeginInfoKHR pNext(long value)
pNext field.public VkSubpassBeginInfoKHR contents(int value)
contents field.public VkSubpassBeginInfoKHR set(int sType, long pNext, int contents)
public VkSubpassBeginInfoKHR set(VkSubpassBeginInfoKHR src)
src - the source structpublic static VkSubpassBeginInfoKHR malloc()
VkSubpassBeginInfoKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkSubpassBeginInfoKHR calloc()
VkSubpassBeginInfoKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkSubpassBeginInfoKHR create()
VkSubpassBeginInfoKHR instance allocated with BufferUtils.public static VkSubpassBeginInfoKHR create(long address)
VkSubpassBeginInfoKHR instance for the specified memory address.@Nullable public static VkSubpassBeginInfoKHR createSafe(long address)
public static VkSubpassBeginInfoKHR.Buffer malloc(int capacity)
VkSubpassBeginInfoKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkSubpassBeginInfoKHR.Buffer calloc(int capacity)
VkSubpassBeginInfoKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkSubpassBeginInfoKHR.Buffer create(int capacity)
VkSubpassBeginInfoKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkSubpassBeginInfoKHR.Buffer create(long address, int capacity)
VkSubpassBeginInfoKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkSubpassBeginInfoKHR.Buffer createSafe(long address, int capacity)
public static VkSubpassBeginInfoKHR mallocStack()
VkSubpassBeginInfoKHR instance allocated on the thread-local MemoryStack.public static VkSubpassBeginInfoKHR callocStack()
VkSubpassBeginInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkSubpassBeginInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkSubpassBeginInfoKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkSubpassBeginInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkSubpassBeginInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkSubpassBeginInfoKHR.Buffer mallocStack(int capacity)
VkSubpassBeginInfoKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkSubpassBeginInfoKHR.Buffer callocStack(int capacity)
VkSubpassBeginInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkSubpassBeginInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkSubpassBeginInfoKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkSubpassBeginInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkSubpassBeginInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int ncontents(long struct)
contents().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void ncontents(long struct,
int value)
contents.Copyright LWJGL. All Rights Reserved. License terms.