public class VkSurfaceFullScreenExclusiveWin32InfoEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If hmonitor is invalidated (e.g. the monitor is unplugged) during the lifetime of a swapchain created with this structure, operations on that swapchain will return ERROR_OUT_OF_DATE_KHR.
It's the responsibility of the application to change the display settings of the targeted Win32 display using the appropriate platform APIs. Such changes may alter the surface capabilities reported for the created surface.
hmonitor must be a valid HMONITORsType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.hmonitor – the Win32 HMONITOR handle identifying the display to create the surface with.
struct VkSurfaceFullScreenExclusiveWin32InfoEXT {
VkStructureType sType;
void const * pNext;
HMONITOR hmonitor;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer
An array of
VkSurfaceFullScreenExclusiveWin32InfoEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
HMONITOR
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 |
|---|
VkSurfaceFullScreenExclusiveWin32InfoEXT(java.nio.ByteBuffer container)
Creates a
VkSurfaceFullScreenExclusiveWin32InfoEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkSurfaceFullScreenExclusiveWin32InfoEXT |
calloc()
Returns a new
VkSurfaceFullScreenExclusiveWin32InfoEXT instance allocated with memCalloc. |
static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer |
calloc(int capacity)
Returns a new
VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer instance allocated with memCalloc. |
static VkSurfaceFullScreenExclusiveWin32InfoEXT |
callocStack()
Returns a new
VkSurfaceFullScreenExclusiveWin32InfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer |
callocStack(int capacity)
Returns a new
VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkSurfaceFullScreenExclusiveWin32InfoEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkSurfaceFullScreenExclusiveWin32InfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkSurfaceFullScreenExclusiveWin32InfoEXT |
create()
Returns a new
VkSurfaceFullScreenExclusiveWin32InfoEXT instance allocated with BufferUtils. |
static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer |
create(int capacity)
Returns a new
VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer instance allocated with BufferUtils. |
static VkSurfaceFullScreenExclusiveWin32InfoEXT |
create(long address)
Returns a new
VkSurfaceFullScreenExclusiveWin32InfoEXT instance for the specified memory address. |
static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer |
create(long address,
int capacity)
Create a
VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer instance at the specified memory. |
static VkSurfaceFullScreenExclusiveWin32InfoEXT |
createSafe(long address)
|
static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer |
createSafe(long address,
int capacity)
|
long |
hmonitor()
Returns the value of the
hmonitor field. |
VkSurfaceFullScreenExclusiveWin32InfoEXT |
hmonitor(long value)
Sets the specified value to the
hmonitor field. |
static VkSurfaceFullScreenExclusiveWin32InfoEXT |
malloc()
Returns a new
VkSurfaceFullScreenExclusiveWin32InfoEXT instance allocated with memAlloc. |
static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer |
malloc(int capacity)
Returns a new
VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer instance allocated with memAlloc. |
static VkSurfaceFullScreenExclusiveWin32InfoEXT |
mallocStack()
Returns a new
VkSurfaceFullScreenExclusiveWin32InfoEXT instance allocated on the thread-local MemoryStack. |
static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer instance allocated on the specified MemoryStack. |
static VkSurfaceFullScreenExclusiveWin32InfoEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkSurfaceFullScreenExclusiveWin32InfoEXT instance allocated on the specified MemoryStack. |
static long |
nhmonitor(long struct)
Unsafe version of
hmonitor(). |
static void |
nhmonitor(long struct,
long value)
Unsafe version of
hmonitor. |
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. |
VkSurfaceFullScreenExclusiveWin32InfoEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkSurfaceFullScreenExclusiveWin32InfoEXT |
set(int sType,
long pNext,
long hmonitor)
Initializes this struct with the specified values.
|
VkSurfaceFullScreenExclusiveWin32InfoEXT |
set(VkSurfaceFullScreenExclusiveWin32InfoEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkSurfaceFullScreenExclusiveWin32InfoEXT |
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. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int HMONITOR
public VkSurfaceFullScreenExclusiveWin32InfoEXT(java.nio.ByteBuffer container)
VkSurfaceFullScreenExclusiveWin32InfoEXT 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 long hmonitor()
hmonitor field.public VkSurfaceFullScreenExclusiveWin32InfoEXT sType(int value)
sType field.public VkSurfaceFullScreenExclusiveWin32InfoEXT pNext(long value)
pNext field.public VkSurfaceFullScreenExclusiveWin32InfoEXT hmonitor(long value)
hmonitor field.public VkSurfaceFullScreenExclusiveWin32InfoEXT set(int sType, long pNext, long hmonitor)
public VkSurfaceFullScreenExclusiveWin32InfoEXT set(VkSurfaceFullScreenExclusiveWin32InfoEXT src)
src - the source structpublic static VkSurfaceFullScreenExclusiveWin32InfoEXT malloc()
VkSurfaceFullScreenExclusiveWin32InfoEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkSurfaceFullScreenExclusiveWin32InfoEXT calloc()
VkSurfaceFullScreenExclusiveWin32InfoEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkSurfaceFullScreenExclusiveWin32InfoEXT create()
VkSurfaceFullScreenExclusiveWin32InfoEXT instance allocated with BufferUtils.public static VkSurfaceFullScreenExclusiveWin32InfoEXT create(long address)
VkSurfaceFullScreenExclusiveWin32InfoEXT instance for the specified memory address.@Nullable public static VkSurfaceFullScreenExclusiveWin32InfoEXT createSafe(long address)
public static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer malloc(int capacity)
VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer calloc(int capacity)
VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer create(int capacity)
VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer create(long address, int capacity)
VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer createSafe(long address, int capacity)
public static VkSurfaceFullScreenExclusiveWin32InfoEXT mallocStack()
VkSurfaceFullScreenExclusiveWin32InfoEXT instance allocated on the thread-local MemoryStack.public static VkSurfaceFullScreenExclusiveWin32InfoEXT callocStack()
VkSurfaceFullScreenExclusiveWin32InfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkSurfaceFullScreenExclusiveWin32InfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkSurfaceFullScreenExclusiveWin32InfoEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkSurfaceFullScreenExclusiveWin32InfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkSurfaceFullScreenExclusiveWin32InfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer mallocStack(int capacity)
VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer callocStack(int capacity)
VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkSurfaceFullScreenExclusiveWin32InfoEXT.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 long nhmonitor(long struct)
hmonitor().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nhmonitor(long struct,
long value)
hmonitor.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.