public class VkProtectedSubmitInfo
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
protectedSubmit must not be TRUE.protectedSubmit is TRUE, then each element of the pCommandBuffers array must be a protected command buffer.protectedSubmit is FALSE, then each element of the pCommandBuffers array must be an unprotected command buffer.VkSubmitInfo::pNext chain does not include a VkProtectedSubmitInfo structure, then each element of the command buffer of the pCommandBuffers array must be an unprotected command buffer.sType must be STRUCTURE_TYPE_PROTECTED_SUBMIT_INFOprotectedSubmit – specifies whether the batch is protected. If protectedSubmit is TRUE, the batch is protected. If protectedSubmit is FALSE, the batch is unprotected. If the VkSubmitInfo::pNext chain does not include this structure, the batch is unprotected.
struct VkProtectedSubmitInfo {
VkStructureType sType;
void const * pNext;
VkBool32 protectedSubmit;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkProtectedSubmitInfo.Buffer
An array of
VkProtectedSubmitInfo structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PNEXT
The struct member offsets.
|
static int |
PROTECTEDSUBMIT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkProtectedSubmitInfo(java.nio.ByteBuffer container)
Creates a
VkProtectedSubmitInfo instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkProtectedSubmitInfo |
calloc()
Returns a new
VkProtectedSubmitInfo instance allocated with memCalloc. |
static VkProtectedSubmitInfo.Buffer |
calloc(int capacity)
Returns a new
VkProtectedSubmitInfo.Buffer instance allocated with memCalloc. |
static VkProtectedSubmitInfo |
callocStack()
Returns a new
VkProtectedSubmitInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkProtectedSubmitInfo.Buffer |
callocStack(int capacity)
Returns a new
VkProtectedSubmitInfo.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkProtectedSubmitInfo.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkProtectedSubmitInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkProtectedSubmitInfo |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkProtectedSubmitInfo instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkProtectedSubmitInfo |
create()
Returns a new
VkProtectedSubmitInfo instance allocated with BufferUtils. |
static VkProtectedSubmitInfo.Buffer |
create(int capacity)
Returns a new
VkProtectedSubmitInfo.Buffer instance allocated with BufferUtils. |
static VkProtectedSubmitInfo |
create(long address)
Returns a new
VkProtectedSubmitInfo instance for the specified memory address. |
static VkProtectedSubmitInfo.Buffer |
create(long address,
int capacity)
Create a
VkProtectedSubmitInfo.Buffer instance at the specified memory. |
static VkProtectedSubmitInfo |
createSafe(long address)
|
static VkProtectedSubmitInfo.Buffer |
createSafe(long address,
int capacity)
|
static VkProtectedSubmitInfo |
malloc()
Returns a new
VkProtectedSubmitInfo instance allocated with memAlloc. |
static VkProtectedSubmitInfo.Buffer |
malloc(int capacity)
Returns a new
VkProtectedSubmitInfo.Buffer instance allocated with memAlloc. |
static VkProtectedSubmitInfo |
mallocStack()
Returns a new
VkProtectedSubmitInfo instance allocated on the thread-local MemoryStack. |
static VkProtectedSubmitInfo.Buffer |
mallocStack(int capacity)
Returns a new
VkProtectedSubmitInfo.Buffer instance allocated on the thread-local MemoryStack. |
static VkProtectedSubmitInfo.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkProtectedSubmitInfo.Buffer instance allocated on the specified MemoryStack. |
static VkProtectedSubmitInfo |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkProtectedSubmitInfo instance allocated on the specified MemoryStack. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nprotectedSubmit(long struct)
Unsafe version of
protectedSubmit(). |
static void |
nprotectedSubmit(long struct,
int value)
Unsafe version of
protectedSubmit. |
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. |
VkProtectedSubmitInfo |
pNext(long value)
Sets the specified value to the
pNext field. |
boolean |
protectedSubmit()
Returns the value of the
protectedSubmit field. |
VkProtectedSubmitInfo |
protectedSubmit(boolean value)
Sets the specified value to the
protectedSubmit field. |
VkProtectedSubmitInfo |
set(int sType,
long pNext,
boolean protectedSubmit)
Initializes this struct with the specified values.
|
VkProtectedSubmitInfo |
set(VkProtectedSubmitInfo src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkProtectedSubmitInfo |
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 PROTECTEDSUBMIT
public VkProtectedSubmitInfo(java.nio.ByteBuffer container)
VkProtectedSubmitInfo 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 boolean protectedSubmit()
protectedSubmit field.public VkProtectedSubmitInfo sType(int value)
sType field.public VkProtectedSubmitInfo pNext(long value)
pNext field.public VkProtectedSubmitInfo protectedSubmit(boolean value)
protectedSubmit field.public VkProtectedSubmitInfo set(int sType, long pNext, boolean protectedSubmit)
public VkProtectedSubmitInfo set(VkProtectedSubmitInfo src)
src - the source structpublic static VkProtectedSubmitInfo malloc()
VkProtectedSubmitInfo instance allocated with memAlloc. The instance must be explicitly freed.public static VkProtectedSubmitInfo calloc()
VkProtectedSubmitInfo instance allocated with memCalloc. The instance must be explicitly freed.public static VkProtectedSubmitInfo create()
VkProtectedSubmitInfo instance allocated with BufferUtils.public static VkProtectedSubmitInfo create(long address)
VkProtectedSubmitInfo instance for the specified memory address.@Nullable public static VkProtectedSubmitInfo createSafe(long address)
public static VkProtectedSubmitInfo.Buffer malloc(int capacity)
VkProtectedSubmitInfo.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkProtectedSubmitInfo.Buffer calloc(int capacity)
VkProtectedSubmitInfo.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkProtectedSubmitInfo.Buffer create(int capacity)
VkProtectedSubmitInfo.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkProtectedSubmitInfo.Buffer create(long address, int capacity)
VkProtectedSubmitInfo.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkProtectedSubmitInfo.Buffer createSafe(long address, int capacity)
public static VkProtectedSubmitInfo mallocStack()
VkProtectedSubmitInfo instance allocated on the thread-local MemoryStack.public static VkProtectedSubmitInfo callocStack()
VkProtectedSubmitInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkProtectedSubmitInfo mallocStack(org.lwjgl.system.MemoryStack stack)
VkProtectedSubmitInfo instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkProtectedSubmitInfo callocStack(org.lwjgl.system.MemoryStack stack)
VkProtectedSubmitInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkProtectedSubmitInfo.Buffer mallocStack(int capacity)
VkProtectedSubmitInfo.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkProtectedSubmitInfo.Buffer callocStack(int capacity)
VkProtectedSubmitInfo.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkProtectedSubmitInfo.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkProtectedSubmitInfo.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkProtectedSubmitInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkProtectedSubmitInfo.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 nprotectedSubmit(long struct)
protectedSubmit().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nprotectedSubmit(long struct,
int value)
protectedSubmit.Copyright LWJGL. All Rights Reserved. License terms.