Package org.lwjgl.vulkan
Class VkSurfaceFullScreenExclusiveInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkSurfaceFullScreenExclusiveInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkSurfaceFullScreenExclusiveInfoEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying the preferred full-screen transition behavior.Description
If this structure is not present,
fullScreenExclusiveis considered to beFULL_SCREEN_EXCLUSIVE_DEFAULT_EXT.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_INFO_EXTfullScreenExclusivemust be a validVkFullScreenExclusiveEXTvalue
Member documentation
sType– the type of this structure.pNext–NULLor a pointer to an extension-specific structure.fullScreenExclusive– aVkFullScreenExclusiveEXTvalue specifying the preferred full-screen transition behavior.
Layout
struct VkSurfaceFullScreenExclusiveInfoEXT { VkStructureType sType; void * pNext; VkFullScreenExclusiveEXT fullScreenExclusive; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkSurfaceFullScreenExclusiveInfoEXT.BufferAn array ofVkSurfaceFullScreenExclusiveInfoEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intFULLSCREENEXCLUSIVE
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkSurfaceFullScreenExclusiveInfoEXT(java.nio.ByteBuffer container)Creates aVkSurfaceFullScreenExclusiveInfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkSurfaceFullScreenExclusiveInfoEXTcalloc()Returns a newVkSurfaceFullScreenExclusiveInfoEXTinstance allocated withmemCalloc.static VkSurfaceFullScreenExclusiveInfoEXT.Buffercalloc(int capacity)Returns a newVkSurfaceFullScreenExclusiveInfoEXT.Bufferinstance allocated withmemCalloc.static VkSurfaceFullScreenExclusiveInfoEXTcallocStack()Returns a newVkSurfaceFullScreenExclusiveInfoEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkSurfaceFullScreenExclusiveInfoEXT.BuffercallocStack(int capacity)Returns a newVkSurfaceFullScreenExclusiveInfoEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkSurfaceFullScreenExclusiveInfoEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSurfaceFullScreenExclusiveInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSurfaceFullScreenExclusiveInfoEXTcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkSurfaceFullScreenExclusiveInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSurfaceFullScreenExclusiveInfoEXTcreate()Returns a newVkSurfaceFullScreenExclusiveInfoEXTinstance allocated withBufferUtils.static VkSurfaceFullScreenExclusiveInfoEXT.Buffercreate(int capacity)Returns a newVkSurfaceFullScreenExclusiveInfoEXT.Bufferinstance allocated withBufferUtils.static VkSurfaceFullScreenExclusiveInfoEXTcreate(long address)Returns a newVkSurfaceFullScreenExclusiveInfoEXTinstance for the specified memory address.static VkSurfaceFullScreenExclusiveInfoEXT.Buffercreate(long address, int capacity)Create aVkSurfaceFullScreenExclusiveInfoEXT.Bufferinstance at the specified memory.static VkSurfaceFullScreenExclusiveInfoEXTcreateSafe(long address)static VkSurfaceFullScreenExclusiveInfoEXT.BuffercreateSafe(long address, int capacity)intfullScreenExclusive()Returns the value of thefullScreenExclusivefield.VkSurfaceFullScreenExclusiveInfoEXTfullScreenExclusive(int value)Sets the specified value to thefullScreenExclusivefield.static VkSurfaceFullScreenExclusiveInfoEXTmalloc()Returns a newVkSurfaceFullScreenExclusiveInfoEXTinstance allocated withmemAlloc.static VkSurfaceFullScreenExclusiveInfoEXT.Buffermalloc(int capacity)Returns a newVkSurfaceFullScreenExclusiveInfoEXT.Bufferinstance allocated withmemAlloc.static VkSurfaceFullScreenExclusiveInfoEXTmallocStack()Returns a newVkSurfaceFullScreenExclusiveInfoEXTinstance allocated on the thread-localMemoryStack.static VkSurfaceFullScreenExclusiveInfoEXT.BuffermallocStack(int capacity)Returns a newVkSurfaceFullScreenExclusiveInfoEXT.Bufferinstance allocated on the thread-localMemoryStack.static VkSurfaceFullScreenExclusiveInfoEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSurfaceFullScreenExclusiveInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkSurfaceFullScreenExclusiveInfoEXTmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkSurfaceFullScreenExclusiveInfoEXTinstance allocated on the specifiedMemoryStack.static intnfullScreenExclusive(long struct)Unsafe version offullScreenExclusive().static voidnfullScreenExclusive(long struct, int value)Unsafe version offullScreenExclusive.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.VkSurfaceFullScreenExclusiveInfoEXTpNext(long value)Sets the specified value to thepNextfield.VkSurfaceFullScreenExclusiveInfoEXTset(int sType, long pNext, int fullScreenExclusive)Initializes this struct with the specified values.VkSurfaceFullScreenExclusiveInfoEXTset(VkSurfaceFullScreenExclusiveInfoEXT src)Copies the specified struct data to this struct.intsizeof()intsType()Returns the value of thesTypefield.VkSurfaceFullScreenExclusiveInfoEXTsType(int value)Sets the specified value to thesTypefield.
-
-
-
Constructor Detail
-
VkSurfaceFullScreenExclusiveInfoEXT
public VkSurfaceFullScreenExclusiveInfoEXT(java.nio.ByteBuffer container)
Creates aVkSurfaceFullScreenExclusiveInfoEXTinstance 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.
-
fullScreenExclusive
public int fullScreenExclusive()
Returns the value of thefullScreenExclusivefield.
-
sType
public VkSurfaceFullScreenExclusiveInfoEXT sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkSurfaceFullScreenExclusiveInfoEXT pNext(long value)
Sets the specified value to thepNextfield.
-
fullScreenExclusive
public VkSurfaceFullScreenExclusiveInfoEXT fullScreenExclusive(int value)
Sets the specified value to thefullScreenExclusivefield.
-
set
public VkSurfaceFullScreenExclusiveInfoEXT set(int sType, long pNext, int fullScreenExclusive)
Initializes this struct with the specified values.
-
set
public VkSurfaceFullScreenExclusiveInfoEXT set(VkSurfaceFullScreenExclusiveInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkSurfaceFullScreenExclusiveInfoEXT malloc()
Returns a newVkSurfaceFullScreenExclusiveInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkSurfaceFullScreenExclusiveInfoEXT calloc()
Returns a newVkSurfaceFullScreenExclusiveInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkSurfaceFullScreenExclusiveInfoEXT create()
Returns a newVkSurfaceFullScreenExclusiveInfoEXTinstance allocated withBufferUtils.
-
create
public static VkSurfaceFullScreenExclusiveInfoEXT create(long address)
Returns a newVkSurfaceFullScreenExclusiveInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkSurfaceFullScreenExclusiveInfoEXT createSafe(long address)
-
malloc
public static VkSurfaceFullScreenExclusiveInfoEXT.Buffer malloc(int capacity)
Returns a newVkSurfaceFullScreenExclusiveInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkSurfaceFullScreenExclusiveInfoEXT.Buffer calloc(int capacity)
Returns a newVkSurfaceFullScreenExclusiveInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkSurfaceFullScreenExclusiveInfoEXT.Buffer create(int capacity)
Returns a newVkSurfaceFullScreenExclusiveInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkSurfaceFullScreenExclusiveInfoEXT.Buffer create(long address, int capacity)
Create aVkSurfaceFullScreenExclusiveInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkSurfaceFullScreenExclusiveInfoEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkSurfaceFullScreenExclusiveInfoEXT mallocStack()
Returns a newVkSurfaceFullScreenExclusiveInfoEXTinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkSurfaceFullScreenExclusiveInfoEXT callocStack()
Returns a newVkSurfaceFullScreenExclusiveInfoEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkSurfaceFullScreenExclusiveInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkSurfaceFullScreenExclusiveInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkSurfaceFullScreenExclusiveInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkSurfaceFullScreenExclusiveInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkSurfaceFullScreenExclusiveInfoEXT.Buffer mallocStack(int capacity)
Returns a newVkSurfaceFullScreenExclusiveInfoEXT.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkSurfaceFullScreenExclusiveInfoEXT.Buffer callocStack(int capacity)
Returns a newVkSurfaceFullScreenExclusiveInfoEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkSurfaceFullScreenExclusiveInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSurfaceFullScreenExclusiveInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkSurfaceFullScreenExclusiveInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSurfaceFullScreenExclusiveInfoEXT.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().
-
nfullScreenExclusive
public static int nfullScreenExclusive(long struct)
Unsafe version offullScreenExclusive().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nfullScreenExclusive
public static void nfullScreenExclusive(long struct, int value)Unsafe version offullScreenExclusive.
-
-