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 is 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)
Layout
struct VkSurfaceFullScreenExclusiveWin32InfoEXT { VkStructureTypesType(); void const *pNext(); HMONITORhmonitor(); }
-
-
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 Deprecated 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 VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSurfaceFullScreenExclusiveWin32InfoEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSurfaceFullScreenExclusiveWin32InfoEXTcallocStack()Deprecated.static VkSurfaceFullScreenExclusiveWin32InfoEXT.BuffercallocStack(int capacity)Deprecated.static VkSurfaceFullScreenExclusiveWin32InfoEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkSurfaceFullScreenExclusiveWin32InfoEXTcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.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()the Win32HMONITORhandle identifying the display to create the surface with.VkSurfaceFullScreenExclusiveWin32InfoEXThmonitor(long value)Sets the specified value to thehmonitor()field.static VkSurfaceFullScreenExclusiveWin32InfoEXTmalloc()Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXTinstance allocated withmemAlloc.static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffermalloc(int capacity)Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXT.Bufferinstance allocated withmemAlloc.static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkSurfaceFullScreenExclusiveWin32InfoEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXTinstance allocated on the specifiedMemoryStack.static VkSurfaceFullScreenExclusiveWin32InfoEXTmallocStack()Deprecated.static VkSurfaceFullScreenExclusiveWin32InfoEXT.BuffermallocStack(int capacity)Deprecated.static VkSurfaceFullScreenExclusiveWin32InfoEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkSurfaceFullScreenExclusiveWin32InfoEXTmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.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()NULLor a pointer to a structure extending this structure.VkSurfaceFullScreenExclusiveWin32InfoEXTpNext(long value)Sets the specified value to thepNext()field.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()the type of this structure.VkSurfaceFullScreenExclusiveWin32InfoEXTsType(int value)Sets the specified value to thesType()field.VkSurfaceFullScreenExclusiveWin32InfoEXTsType$Default()Sets theSTRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_WIN32_INFO_EXTvalue to thesType()field.static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
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()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
hmonitor
public long hmonitor()
the Win32HMONITORhandle identifying the display to create the surface with.
-
sType
public VkSurfaceFullScreenExclusiveWin32InfoEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkSurfaceFullScreenExclusiveWin32InfoEXT sType$Default()
Sets theSTRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_WIN32_INFO_EXTvalue to thesType()field.
-
pNext
public VkSurfaceFullScreenExclusiveWin32InfoEXT pNext(long value)
Sets the specified value to thepNext()field.
-
hmonitor
public VkSurfaceFullScreenExclusiveWin32InfoEXT hmonitor(long value)
Sets the specified value to thehmonitor()field.
-
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
@Deprecated public static VkSurfaceFullScreenExclusiveWin32InfoEXT mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkSurfaceFullScreenExclusiveWin32InfoEXT callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkSurfaceFullScreenExclusiveWin32InfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkSurfaceFullScreenExclusiveWin32InfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkSurfaceFullScreenExclusiveWin32InfoEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkSurfaceFullScreenExclusiveWin32InfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkSurfaceFullScreenExclusiveWin32InfoEXT calloc(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
-
malloc
public static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer malloc(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
-
calloc
public static VkSurfaceFullScreenExclusiveWin32InfoEXT.Buffer calloc(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
-
-