public class VkHeadlessSurfaceCreateInfoEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_HEADLESS_SURFACE_CREATE_INFO_EXTpNext must be NULLflags must be 0sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.flags – reserved for future use.
struct VkHeadlessSurfaceCreateInfoEXT {
VkStructureType sType;
void const * pNext;
VkHeadlessSurfaceCreateFlagsEXT flags;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkHeadlessSurfaceCreateInfoEXT.Buffer
An array of
VkHeadlessSurfaceCreateInfoEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
FLAGS
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 |
|---|
VkHeadlessSurfaceCreateInfoEXT(java.nio.ByteBuffer container)
Creates a
VkHeadlessSurfaceCreateInfoEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkHeadlessSurfaceCreateInfoEXT |
calloc()
Returns a new
VkHeadlessSurfaceCreateInfoEXT instance allocated with memCalloc. |
static VkHeadlessSurfaceCreateInfoEXT.Buffer |
calloc(int capacity)
Returns a new
VkHeadlessSurfaceCreateInfoEXT.Buffer instance allocated with memCalloc. |
static VkHeadlessSurfaceCreateInfoEXT |
callocStack()
Returns a new
VkHeadlessSurfaceCreateInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkHeadlessSurfaceCreateInfoEXT.Buffer |
callocStack(int capacity)
Returns a new
VkHeadlessSurfaceCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkHeadlessSurfaceCreateInfoEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkHeadlessSurfaceCreateInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkHeadlessSurfaceCreateInfoEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkHeadlessSurfaceCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkHeadlessSurfaceCreateInfoEXT |
create()
Returns a new
VkHeadlessSurfaceCreateInfoEXT instance allocated with BufferUtils. |
static VkHeadlessSurfaceCreateInfoEXT.Buffer |
create(int capacity)
Returns a new
VkHeadlessSurfaceCreateInfoEXT.Buffer instance allocated with BufferUtils. |
static VkHeadlessSurfaceCreateInfoEXT |
create(long address)
Returns a new
VkHeadlessSurfaceCreateInfoEXT instance for the specified memory address. |
static VkHeadlessSurfaceCreateInfoEXT.Buffer |
create(long address,
int capacity)
Create a
VkHeadlessSurfaceCreateInfoEXT.Buffer instance at the specified memory. |
static VkHeadlessSurfaceCreateInfoEXT |
createSafe(long address)
|
static VkHeadlessSurfaceCreateInfoEXT.Buffer |
createSafe(long address,
int capacity)
|
int |
flags()
Returns the value of the
flags field. |
VkHeadlessSurfaceCreateInfoEXT |
flags(int value)
Sets the specified value to the
flags field. |
static VkHeadlessSurfaceCreateInfoEXT |
malloc()
Returns a new
VkHeadlessSurfaceCreateInfoEXT instance allocated with memAlloc. |
static VkHeadlessSurfaceCreateInfoEXT.Buffer |
malloc(int capacity)
Returns a new
VkHeadlessSurfaceCreateInfoEXT.Buffer instance allocated with memAlloc. |
static VkHeadlessSurfaceCreateInfoEXT |
mallocStack()
Returns a new
VkHeadlessSurfaceCreateInfoEXT instance allocated on the thread-local MemoryStack. |
static VkHeadlessSurfaceCreateInfoEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkHeadlessSurfaceCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkHeadlessSurfaceCreateInfoEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkHeadlessSurfaceCreateInfoEXT.Buffer instance allocated on the specified MemoryStack. |
static VkHeadlessSurfaceCreateInfoEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkHeadlessSurfaceCreateInfoEXT instance allocated on the specified MemoryStack. |
static int |
nflags(long struct)
Unsafe version of
flags(). |
static void |
nflags(long struct,
int value)
Unsafe version of
flags. |
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. |
VkHeadlessSurfaceCreateInfoEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkHeadlessSurfaceCreateInfoEXT |
set(int sType,
long pNext,
int flags)
Initializes this struct with the specified values.
|
VkHeadlessSurfaceCreateInfoEXT |
set(VkHeadlessSurfaceCreateInfoEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkHeadlessSurfaceCreateInfoEXT |
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 FLAGS
public VkHeadlessSurfaceCreateInfoEXT(java.nio.ByteBuffer container)
VkHeadlessSurfaceCreateInfoEXT 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 flags()
flags field.public VkHeadlessSurfaceCreateInfoEXT sType(int value)
sType field.public VkHeadlessSurfaceCreateInfoEXT pNext(long value)
pNext field.public VkHeadlessSurfaceCreateInfoEXT flags(int value)
flags field.public VkHeadlessSurfaceCreateInfoEXT set(int sType, long pNext, int flags)
public VkHeadlessSurfaceCreateInfoEXT set(VkHeadlessSurfaceCreateInfoEXT src)
src - the source structpublic static VkHeadlessSurfaceCreateInfoEXT malloc()
VkHeadlessSurfaceCreateInfoEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkHeadlessSurfaceCreateInfoEXT calloc()
VkHeadlessSurfaceCreateInfoEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkHeadlessSurfaceCreateInfoEXT create()
VkHeadlessSurfaceCreateInfoEXT instance allocated with BufferUtils.public static VkHeadlessSurfaceCreateInfoEXT create(long address)
VkHeadlessSurfaceCreateInfoEXT instance for the specified memory address.@Nullable public static VkHeadlessSurfaceCreateInfoEXT createSafe(long address)
public static VkHeadlessSurfaceCreateInfoEXT.Buffer malloc(int capacity)
VkHeadlessSurfaceCreateInfoEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkHeadlessSurfaceCreateInfoEXT.Buffer calloc(int capacity)
VkHeadlessSurfaceCreateInfoEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkHeadlessSurfaceCreateInfoEXT.Buffer create(int capacity)
VkHeadlessSurfaceCreateInfoEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkHeadlessSurfaceCreateInfoEXT.Buffer create(long address, int capacity)
VkHeadlessSurfaceCreateInfoEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkHeadlessSurfaceCreateInfoEXT.Buffer createSafe(long address, int capacity)
public static VkHeadlessSurfaceCreateInfoEXT mallocStack()
VkHeadlessSurfaceCreateInfoEXT instance allocated on the thread-local MemoryStack.public static VkHeadlessSurfaceCreateInfoEXT callocStack()
VkHeadlessSurfaceCreateInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkHeadlessSurfaceCreateInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkHeadlessSurfaceCreateInfoEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkHeadlessSurfaceCreateInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkHeadlessSurfaceCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkHeadlessSurfaceCreateInfoEXT.Buffer mallocStack(int capacity)
VkHeadlessSurfaceCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkHeadlessSurfaceCreateInfoEXT.Buffer callocStack(int capacity)
VkHeadlessSurfaceCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkHeadlessSurfaceCreateInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkHeadlessSurfaceCreateInfoEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkHeadlessSurfaceCreateInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkHeadlessSurfaceCreateInfoEXT.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 nflags(long struct)
flags().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nflags(long struct,
int value)
flags.Copyright LWJGL. All Rights Reserved. License terms.