Package org.lwjgl.vulkan
Class VkSurfaceFullScreenExclusiveWin32InfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkSurfaceFullScreenExclusiveWin32InfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkSurfaceFullScreenExclusiveWin32InfoEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying additional creation parameters specific to Win32 fullscreen exclusive mode.Description
Note
If
hmonitoris invalidated (e.g. the monitor is unplugged) during the lifetime of a swapchain created with this structure, operations on that swapchain will returnERROR_OUT_OF_DATE_KHR.Note
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.
Valid Usage
hmonitormust be a validHMONITOR
Valid Usage (Implicit)
Member documentation
sType– the type of this structure.pNext–NULLor a pointer to an extension-specific structure.hmonitor– the Win32HMONITORhandle identifying the display to create the surface with.
Layout
struct VkSurfaceFullScreenExclusiveWin32InfoEXT { VkStructureType sType; void const * pNext; HMONITOR hmonitor; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkSurfaceFullScreenExclusiveWin32InfoEXT.BufferAn array ofVkSurfaceFullScreenExclusiveWin32InfoEXTstructs.
-
Constructor Summary
Constructors Constructor Description VkSurfaceFullScreenExclusiveWin32InfoEXT(java.nio.ByteBuffer container)Creates aVkSurfaceFullScreenExclusiveWin32InfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkSurfaceFullScreenExclusiveWin32InfoEXTcalloc()Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXTinstance allocated withmemCalloc.static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffercalloc(int capacity)Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXT.Bufferinstance allocated withmemCalloc.static VkSurfaceFullScreenExclusiveWin32InfoEXTcallocStack()Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkSurfaceFullScreenExclusiveWin32InfoEXT.BuffercallocStack(int capacity)Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkSurfaceFullScreenExclusiveWin32InfoEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSurfaceFullScreenExclusiveWin32InfoEXTcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSurfaceFullScreenExclusiveWin32InfoEXTcreate()Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXTinstance allocated withBufferUtils.static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffercreate(int capacity)Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXT.Bufferinstance allocated withBufferUtils.static VkSurfaceFullScreenExclusiveWin32InfoEXTcreate(long address)Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXTinstance for the specified memory address.static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffercreate(long address, int capacity)Create aVkSurfaceFullScreenExclusiveWin32InfoEXT.Bufferinstance at the specified memory.static VkSurfaceFullScreenExclusiveWin32InfoEXTcreateSafe(long address)static VkSurfaceFullScreenExclusiveWin32InfoEXT.BuffercreateSafe(long address, int capacity)longhmonitor()Returns the value of thehmonitorfield.VkSurfaceFullScreenExclusiveWin32InfoEXThmonitor(long value)Sets the specified value to thehmonitorfield.static VkSurfaceFullScreenExclusiveWin32InfoEXTmalloc()Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXTinstance allocated withmemAlloc.static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffermalloc(int capacity)Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXT.Bufferinstance allocated withmemAlloc.static VkSurfaceFullScreenExclusiveWin32InfoEXTmallocStack()Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXTinstance allocated on the thread-localMemoryStack.static VkSurfaceFullScreenExclusiveWin32InfoEXT.BuffermallocStack(int capacity)Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXT.Bufferinstance allocated on the thread-localMemoryStack.static VkSurfaceFullScreenExclusiveWin32InfoEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkSurfaceFullScreenExclusiveWin32InfoEXTmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXTinstance allocated on the specifiedMemoryStack.static longnhmonitor(long struct)Unsafe version ofhmonitor().static voidnhmonitor(long struct, long value)Unsafe version ofhmonitor.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()Returns the value of thepNextfield.VkSurfaceFullScreenExclusiveWin32InfoEXTpNext(long value)Sets the specified value to thepNextfield.VkSurfaceFullScreenExclusiveWin32InfoEXTset(int sType, long pNext, long hmonitor)Initializes this struct with the specified values.VkSurfaceFullScreenExclusiveWin32InfoEXTset(VkSurfaceFullScreenExclusiveWin32InfoEXT src)Copies the specified struct data to this struct.intsizeof()intsType()Returns the value of thesTypefield.VkSurfaceFullScreenExclusiveWin32InfoEXTsType(int value)Sets the specified value to thesTypefield.static voidvalidate(long struct)Validates pointer members that should not beNULL.static voidvalidate(long array, int count)Callsvalidate(long)for each struct contained in the specified struct array.
-
-
-
Constructor Detail
-
VkSurfaceFullScreenExclusiveWin32InfoEXT
public VkSurfaceFullScreenExclusiveWin32InfoEXT(java.nio.ByteBuffer container)
Creates aVkSurfaceFullScreenExclusiveWin32InfoEXTinstance at the current position of the specifiedByteBuffercontainer. 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.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
hmonitor
public long hmonitor()
Returns the value of thehmonitorfield.
-
sType
public VkSurfaceFullScreenExclusiveWin32InfoEXT sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkSurfaceFullScreenExclusiveWin32InfoEXT pNext(long value)
Sets the specified value to thepNextfield.
-
hmonitor
public VkSurfaceFullScreenExclusiveWin32InfoEXT hmonitor(long value)
Sets the specified value to thehmonitorfield.
-
set
public VkSurfaceFullScreenExclusiveWin32InfoEXT set(int sType, long pNext, long hmonitor)
Initializes this struct with the specified values.
-
set
public VkSurfaceFullScreenExclusiveWin32InfoEXT set(VkSurfaceFullScreenExclusiveWin32InfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkSurfaceFullScreenExclusiveWin32InfoEXT malloc()
Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkSurfaceFullScreenExclusiveWin32InfoEXT calloc()
Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkSurfaceFullScreenExclusiveWin32InfoEXT create()
Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXTinstance allocated withBufferUtils.
-
create
public static VkSurfaceFullScreenExclusiveWin32InfoEXT create(long address)
Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkSurfaceFullScreenExclusiveWin32InfoEXT createSafe(long address)
-
malloc
public static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer malloc(int capacity)
Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer calloc(int capacity)
Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer create(int capacity)
Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer create(long address, int capacity)
Create aVkSurfaceFullScreenExclusiveWin32InfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkSurfaceFullScreenExclusiveWin32InfoEXT mallocStack()
Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXTinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkSurfaceFullScreenExclusiveWin32InfoEXT callocStack()
Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkSurfaceFullScreenExclusiveWin32InfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkSurfaceFullScreenExclusiveWin32InfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer mallocStack(int capacity)
Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXT.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer callocStack(int capacity)
Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
nhmonitor
public static long nhmonitor(long struct)
Unsafe version ofhmonitor().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nhmonitor
public static void nhmonitor(long struct, long value)Unsafe version ofhmonitor.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
validate
public static void validate(long array, int count)Callsvalidate(long)for each struct contained in the specified struct array.- Parameters:
array- the struct array to validatecount- the number of structs inarray
-
-