public class VkWaylandSurfaceCreateInfoKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
display must point to a valid Wayland wl_display.surface must point to a valid Wayland wl_surface.sType must be STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHRpNext 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.display – display and surface are pointers to the Wayland wl_display and wl_surface to associate the surface with.surface – see display
struct VkWaylandSurfaceCreateInfoKHR {
VkStructureType sType;
void const * pNext;
VkWaylandSurfaceCreateFlagsKHR flags;
struct wl_display * display;
struct wl_surface * surface;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkWaylandSurfaceCreateInfoKHR.Buffer
An array of
VkWaylandSurfaceCreateInfoKHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DISPLAY
The struct member offsets.
|
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.
|
static int |
SURFACE
The struct member offsets.
|
| Constructor and Description |
|---|
VkWaylandSurfaceCreateInfoKHR(java.nio.ByteBuffer container)
Creates a
VkWaylandSurfaceCreateInfoKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkWaylandSurfaceCreateInfoKHR |
calloc()
Returns a new
VkWaylandSurfaceCreateInfoKHR instance allocated with memCalloc. |
static VkWaylandSurfaceCreateInfoKHR.Buffer |
calloc(int capacity)
Returns a new
VkWaylandSurfaceCreateInfoKHR.Buffer instance allocated with memCalloc. |
static VkWaylandSurfaceCreateInfoKHR |
callocStack()
Returns a new
VkWaylandSurfaceCreateInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkWaylandSurfaceCreateInfoKHR.Buffer |
callocStack(int capacity)
Returns a new
VkWaylandSurfaceCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkWaylandSurfaceCreateInfoKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkWaylandSurfaceCreateInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkWaylandSurfaceCreateInfoKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkWaylandSurfaceCreateInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkWaylandSurfaceCreateInfoKHR |
create()
Returns a new
VkWaylandSurfaceCreateInfoKHR instance allocated with BufferUtils. |
static VkWaylandSurfaceCreateInfoKHR.Buffer |
create(int capacity)
Returns a new
VkWaylandSurfaceCreateInfoKHR.Buffer instance allocated with BufferUtils. |
static VkWaylandSurfaceCreateInfoKHR |
create(long address)
Returns a new
VkWaylandSurfaceCreateInfoKHR instance for the specified memory address. |
static VkWaylandSurfaceCreateInfoKHR.Buffer |
create(long address,
int capacity)
Create a
VkWaylandSurfaceCreateInfoKHR.Buffer instance at the specified memory. |
static VkWaylandSurfaceCreateInfoKHR |
createSafe(long address)
|
static VkWaylandSurfaceCreateInfoKHR.Buffer |
createSafe(long address,
int capacity)
|
long |
display()
Returns the value of the
display field. |
VkWaylandSurfaceCreateInfoKHR |
display(long value)
Sets the specified value to the
display field. |
int |
flags()
Returns the value of the
flags field. |
VkWaylandSurfaceCreateInfoKHR |
flags(int value)
Sets the specified value to the
flags field. |
static VkWaylandSurfaceCreateInfoKHR |
malloc()
Returns a new
VkWaylandSurfaceCreateInfoKHR instance allocated with memAlloc. |
static VkWaylandSurfaceCreateInfoKHR.Buffer |
malloc(int capacity)
Returns a new
VkWaylandSurfaceCreateInfoKHR.Buffer instance allocated with memAlloc. |
static VkWaylandSurfaceCreateInfoKHR |
mallocStack()
Returns a new
VkWaylandSurfaceCreateInfoKHR instance allocated on the thread-local MemoryStack. |
static VkWaylandSurfaceCreateInfoKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkWaylandSurfaceCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkWaylandSurfaceCreateInfoKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkWaylandSurfaceCreateInfoKHR.Buffer instance allocated on the specified MemoryStack. |
static VkWaylandSurfaceCreateInfoKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkWaylandSurfaceCreateInfoKHR instance allocated on the specified MemoryStack. |
static long |
ndisplay(long struct)
Unsafe version of
display(). |
static void |
ndisplay(long struct,
long value)
Unsafe version of
display. |
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. |
static long |
nsurface(long struct)
Unsafe version of
surface(). |
static void |
nsurface(long struct,
long value)
Unsafe version of
surface. |
long |
pNext()
Returns the value of the
pNext field. |
VkWaylandSurfaceCreateInfoKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkWaylandSurfaceCreateInfoKHR |
set(int sType,
long pNext,
int flags,
long display,
long surface)
Initializes this struct with the specified values.
|
VkWaylandSurfaceCreateInfoKHR |
set(VkWaylandSurfaceCreateInfoKHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkWaylandSurfaceCreateInfoKHR |
sType(int value)
Sets the specified value to the
sType field. |
long |
surface()
Returns the value of the
surface field. |
VkWaylandSurfaceCreateInfoKHR |
surface(long value)
Sets the specified value to the
surface field. |
static void |
validate(long struct)
Validates pointer members that should not be
NULL. |
static void |
validate(long array,
int count)
Calls
validate(long) for each struct contained in the specified struct array. |
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 static final int DISPLAY
public static final int SURFACE
public VkWaylandSurfaceCreateInfoKHR(java.nio.ByteBuffer container)
VkWaylandSurfaceCreateInfoKHR 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 long display()
display field.public long surface()
surface field.public VkWaylandSurfaceCreateInfoKHR sType(int value)
sType field.public VkWaylandSurfaceCreateInfoKHR pNext(long value)
pNext field.public VkWaylandSurfaceCreateInfoKHR flags(int value)
flags field.public VkWaylandSurfaceCreateInfoKHR display(long value)
display field.public VkWaylandSurfaceCreateInfoKHR surface(long value)
surface field.public VkWaylandSurfaceCreateInfoKHR set(int sType, long pNext, int flags, long display, long surface)
public VkWaylandSurfaceCreateInfoKHR set(VkWaylandSurfaceCreateInfoKHR src)
src - the source structpublic static VkWaylandSurfaceCreateInfoKHR malloc()
VkWaylandSurfaceCreateInfoKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkWaylandSurfaceCreateInfoKHR calloc()
VkWaylandSurfaceCreateInfoKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkWaylandSurfaceCreateInfoKHR create()
VkWaylandSurfaceCreateInfoKHR instance allocated with BufferUtils.public static VkWaylandSurfaceCreateInfoKHR create(long address)
VkWaylandSurfaceCreateInfoKHR instance for the specified memory address.@Nullable public static VkWaylandSurfaceCreateInfoKHR createSafe(long address)
public static VkWaylandSurfaceCreateInfoKHR.Buffer malloc(int capacity)
VkWaylandSurfaceCreateInfoKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkWaylandSurfaceCreateInfoKHR.Buffer calloc(int capacity)
VkWaylandSurfaceCreateInfoKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkWaylandSurfaceCreateInfoKHR.Buffer create(int capacity)
VkWaylandSurfaceCreateInfoKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkWaylandSurfaceCreateInfoKHR.Buffer create(long address, int capacity)
VkWaylandSurfaceCreateInfoKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkWaylandSurfaceCreateInfoKHR.Buffer createSafe(long address, int capacity)
public static VkWaylandSurfaceCreateInfoKHR mallocStack()
VkWaylandSurfaceCreateInfoKHR instance allocated on the thread-local MemoryStack.public static VkWaylandSurfaceCreateInfoKHR callocStack()
VkWaylandSurfaceCreateInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkWaylandSurfaceCreateInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkWaylandSurfaceCreateInfoKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkWaylandSurfaceCreateInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkWaylandSurfaceCreateInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkWaylandSurfaceCreateInfoKHR.Buffer mallocStack(int capacity)
VkWaylandSurfaceCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkWaylandSurfaceCreateInfoKHR.Buffer callocStack(int capacity)
VkWaylandSurfaceCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkWaylandSurfaceCreateInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkWaylandSurfaceCreateInfoKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkWaylandSurfaceCreateInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkWaylandSurfaceCreateInfoKHR.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 long ndisplay(long struct)
display().public static long nsurface(long struct)
surface().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.public static void ndisplay(long struct,
long value)
display.public static void nsurface(long struct,
long value)
surface.public static void validate(long struct)
NULL.struct - the struct to validatepublic static void validate(long array,
int count)
validate(long) for each struct contained in the specified struct array.array - the struct array to validatecount - the number of structs in arrayCopyright LWJGL. All Rights Reserved. License terms.