public class VkXlibSurfaceCreateInfoKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
dpy must point to a valid Xlib Display.window must be a valid Xlib Window.sType must be STRUCTURE_TYPE_XLIB_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.dpy – a pointer to an Xlib Display connection to the X server.window – an Xlib Window to associate the surface with.
struct VkXlibSurfaceCreateInfoKHR {
VkStructureType sType;
void const * pNext;
VkXlibSurfaceCreateFlagsKHR flags;
Display * dpy;
Window window;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkXlibSurfaceCreateInfoKHR.Buffer
An array of
VkXlibSurfaceCreateInfoKHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DPY
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 |
WINDOW
The struct member offsets.
|
| Constructor and Description |
|---|
VkXlibSurfaceCreateInfoKHR(java.nio.ByteBuffer container)
Creates a
VkXlibSurfaceCreateInfoKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkXlibSurfaceCreateInfoKHR |
calloc()
Returns a new
VkXlibSurfaceCreateInfoKHR instance allocated with memCalloc. |
static VkXlibSurfaceCreateInfoKHR.Buffer |
calloc(int capacity)
Returns a new
VkXlibSurfaceCreateInfoKHR.Buffer instance allocated with memCalloc. |
static VkXlibSurfaceCreateInfoKHR |
callocStack()
Returns a new
VkXlibSurfaceCreateInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkXlibSurfaceCreateInfoKHR.Buffer |
callocStack(int capacity)
Returns a new
VkXlibSurfaceCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkXlibSurfaceCreateInfoKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkXlibSurfaceCreateInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkXlibSurfaceCreateInfoKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkXlibSurfaceCreateInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkXlibSurfaceCreateInfoKHR |
create()
Returns a new
VkXlibSurfaceCreateInfoKHR instance allocated with BufferUtils. |
static VkXlibSurfaceCreateInfoKHR.Buffer |
create(int capacity)
Returns a new
VkXlibSurfaceCreateInfoKHR.Buffer instance allocated with BufferUtils. |
static VkXlibSurfaceCreateInfoKHR |
create(long address)
Returns a new
VkXlibSurfaceCreateInfoKHR instance for the specified memory address. |
static VkXlibSurfaceCreateInfoKHR.Buffer |
create(long address,
int capacity)
Create a
VkXlibSurfaceCreateInfoKHR.Buffer instance at the specified memory. |
static VkXlibSurfaceCreateInfoKHR |
createSafe(long address)
|
static VkXlibSurfaceCreateInfoKHR.Buffer |
createSafe(long address,
int capacity)
|
long |
dpy()
Returns the value of the
dpy field. |
VkXlibSurfaceCreateInfoKHR |
dpy(long value)
Sets the specified value to the
dpy field. |
int |
flags()
Returns the value of the
flags field. |
VkXlibSurfaceCreateInfoKHR |
flags(int value)
Sets the specified value to the
flags field. |
static VkXlibSurfaceCreateInfoKHR |
malloc()
Returns a new
VkXlibSurfaceCreateInfoKHR instance allocated with memAlloc. |
static VkXlibSurfaceCreateInfoKHR.Buffer |
malloc(int capacity)
Returns a new
VkXlibSurfaceCreateInfoKHR.Buffer instance allocated with memAlloc. |
static VkXlibSurfaceCreateInfoKHR |
mallocStack()
Returns a new
VkXlibSurfaceCreateInfoKHR instance allocated on the thread-local MemoryStack. |
static VkXlibSurfaceCreateInfoKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkXlibSurfaceCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkXlibSurfaceCreateInfoKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkXlibSurfaceCreateInfoKHR.Buffer instance allocated on the specified MemoryStack. |
static VkXlibSurfaceCreateInfoKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkXlibSurfaceCreateInfoKHR instance allocated on the specified MemoryStack. |
static long |
ndpy(long struct)
Unsafe version of
dpy(). |
static void |
ndpy(long struct,
long value)
Unsafe version of
dpy. |
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 |
nwindow(long struct)
Unsafe version of
window(). |
static void |
nwindow(long struct,
long value)
Unsafe version of
window. |
long |
pNext()
Returns the value of the
pNext field. |
VkXlibSurfaceCreateInfoKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkXlibSurfaceCreateInfoKHR |
set(int sType,
long pNext,
int flags,
long dpy,
long window)
Initializes this struct with the specified values.
|
VkXlibSurfaceCreateInfoKHR |
set(VkXlibSurfaceCreateInfoKHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkXlibSurfaceCreateInfoKHR |
sType(int value)
Sets the specified value to the
sType 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. |
long |
window()
Returns the value of the
window field. |
VkXlibSurfaceCreateInfoKHR |
window(long value)
Sets the specified value to the
window 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 static final int DPY
public static final int WINDOW
public VkXlibSurfaceCreateInfoKHR(java.nio.ByteBuffer container)
VkXlibSurfaceCreateInfoKHR 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 dpy()
dpy field.public long window()
window field.public VkXlibSurfaceCreateInfoKHR sType(int value)
sType field.public VkXlibSurfaceCreateInfoKHR pNext(long value)
pNext field.public VkXlibSurfaceCreateInfoKHR flags(int value)
flags field.public VkXlibSurfaceCreateInfoKHR dpy(long value)
dpy field.public VkXlibSurfaceCreateInfoKHR window(long value)
window field.public VkXlibSurfaceCreateInfoKHR set(int sType, long pNext, int flags, long dpy, long window)
public VkXlibSurfaceCreateInfoKHR set(VkXlibSurfaceCreateInfoKHR src)
src - the source structpublic static VkXlibSurfaceCreateInfoKHR malloc()
VkXlibSurfaceCreateInfoKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkXlibSurfaceCreateInfoKHR calloc()
VkXlibSurfaceCreateInfoKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkXlibSurfaceCreateInfoKHR create()
VkXlibSurfaceCreateInfoKHR instance allocated with BufferUtils.public static VkXlibSurfaceCreateInfoKHR create(long address)
VkXlibSurfaceCreateInfoKHR instance for the specified memory address.@Nullable public static VkXlibSurfaceCreateInfoKHR createSafe(long address)
public static VkXlibSurfaceCreateInfoKHR.Buffer malloc(int capacity)
VkXlibSurfaceCreateInfoKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkXlibSurfaceCreateInfoKHR.Buffer calloc(int capacity)
VkXlibSurfaceCreateInfoKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkXlibSurfaceCreateInfoKHR.Buffer create(int capacity)
VkXlibSurfaceCreateInfoKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkXlibSurfaceCreateInfoKHR.Buffer create(long address, int capacity)
VkXlibSurfaceCreateInfoKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkXlibSurfaceCreateInfoKHR.Buffer createSafe(long address, int capacity)
public static VkXlibSurfaceCreateInfoKHR mallocStack()
VkXlibSurfaceCreateInfoKHR instance allocated on the thread-local MemoryStack.public static VkXlibSurfaceCreateInfoKHR callocStack()
VkXlibSurfaceCreateInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkXlibSurfaceCreateInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkXlibSurfaceCreateInfoKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkXlibSurfaceCreateInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkXlibSurfaceCreateInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkXlibSurfaceCreateInfoKHR.Buffer mallocStack(int capacity)
VkXlibSurfaceCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkXlibSurfaceCreateInfoKHR.Buffer callocStack(int capacity)
VkXlibSurfaceCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkXlibSurfaceCreateInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkXlibSurfaceCreateInfoKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkXlibSurfaceCreateInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkXlibSurfaceCreateInfoKHR.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 ndpy(long struct)
dpy().public static long nwindow(long struct)
window().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 ndpy(long struct,
long value)
dpy.public static void nwindow(long struct,
long value)
window.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.