The members of VkPhysicalDeviceSurfaceInfo2KHR correspond to the arguments to GetPhysicalDeviceSurfaceCapabilitiesKHR, with sType and pNext added for extensibility.
Additional capabilities of a surface may be available to swapchains created with different full-screen exclusive settings - particularly if exclusive full-screen access is application controlled. These additional capabilities can be queried by adding a VkSurfaceFullScreenExclusiveInfoEXT structure to the pNext chain of this structure when used to query surface properties. Additionally, for Win32 surfaces with application controlled exclusive full-screen access, chaining a VkSurfaceFullScreenExclusiveWin32InfoEXT structure may also report additional surface capabilities. These additional capabilities only apply to swapchains created with the same parameters included in the pNext chain of VkSwapchainCreateInfoKHR.
pNext chain includes a VkSurfaceFullScreenExclusiveInfoEXT structure with its fullScreenExclusive member set to FULL_SCREEN_EXCLUSIVE_APPLICATION_CONTROLLED_EXT, and surface was created using CreateWin32SurfaceKHR, a VkSurfaceFullScreenExclusiveWin32InfoEXT structure must be included in the pNext chainVK_GOOGLE_surfaceless_query extension is not enabled, surface must be a valid VkSurfaceKHR handlesType must be STRUCTURE_TYPE_PHYSICAL_DEVICE_SURFACE_INFO_2_KHRpNext member of any structure (including this one) in the pNext chain must be either NULL or a pointer to a valid instance of VkSurfaceFullScreenExclusiveInfoEXT, VkSurfaceFullScreenExclusiveWin32InfoEXT, or VkSurfacePresentModeEXTsType value of each struct in the pNext chain must be uniquesurface is not NULL_HANDLE, surface must be a valid VkSurfaceKHR handleGetDeviceGroupSurfacePresentModes2EXT, GetPhysicalDeviceSurfaceCapabilities2KHR, GetPhysicalDeviceSurfaceFormats2KHR, GetPhysicalDeviceSurfacePresentModes2EXT
struct VkPhysicalDeviceSurfaceInfo2KHR {
VkStructureType sType;
void const * pNext;
VkSurfaceKHR surface;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkPhysicalDeviceSurfaceInfo2KHR.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| public static final int | SURFACE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkPhysicalDeviceSurfaceInfo2KHR(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkPhysicalDeviceSurfaceInfo2KHR | |
| public static VkPhysicalDeviceSurfaceInfo2KHR. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceSurfaceInfo2KHR | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceSurfaceInfo2KHR. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceSurfaceInfo2KHR | |
| public static VkPhysicalDeviceSurfaceInfo2KHR | |
| public static VkPhysicalDeviceSurfaceInfo2KHR. | |
| public static VkPhysicalDeviceSurfaceInfo2KHR. | |
| protected VkPhysicalDeviceSurfaceInfo2KHR | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkPhysicalDeviceSurfaceInfo2KHR | |
| public static VkPhysicalDeviceSurfaceInfo2KHR | create(long address)
Returns a new |
| public static VkPhysicalDeviceSurfaceInfo2KHR. | create(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceSurfaceInfo2KHR. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkPhysicalDeviceSurfaceInfo2KHR | |
| public static VkPhysicalDeviceSurfaceInfo2KHR. | |
| public static VkPhysicalDeviceSurfaceInfo2KHR | |
| public static VkPhysicalDeviceSurfaceInfo2KHR. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceSurfaceInfo2KHR | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceSurfaceInfo2KHR. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceSurfaceInfo2KHR | |
| public static VkPhysicalDeviceSurfaceInfo2KHR | |
| public static VkPhysicalDeviceSurfaceInfo2KHR. | |
| public static VkPhysicalDeviceSurfaceInfo2KHR. | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public long | |
| public VkPhysicalDeviceSurfaceInfo2KHR | |
| public VkPhysicalDeviceSurfaceInfo2KHR | pNext(VkSurfaceFullScreenExclusiveInfoEXT value)
Prepends the specified |
| public VkPhysicalDeviceSurfaceInfo2KHR | pNext(VkSurfaceFullScreenExclusiveWin32InfoEXT value)
Prepends the specified |
| public VkPhysicalDeviceSurfaceInfo2KHR | pNext(VkSurfacePresentModeEXT value)
Prepends the specified |
| public VkPhysicalDeviceSurfaceInfo2KHR | |
| public VkPhysicalDeviceSurfaceInfo2KHR | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkPhysicalDeviceSurfaceInfo2KHR | |
| public VkPhysicalDeviceSurfaceInfo2KHR | |
| public long | |
| public VkPhysicalDeviceSurfaceInfo2KHR |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| SURFACE | back to summary |
|---|---|
| public static final int SURFACE The struct member offsets. | |
| VkPhysicalDeviceSurfaceInfo2KHR | back to summary |
|---|---|
| protected VkPhysicalDeviceSurfaceInfo2KHR(long address, ByteBuffer container) | |
| VkPhysicalDeviceSurfaceInfo2KHR | back to summary |
|---|---|
| public VkPhysicalDeviceSurfaceInfo2KHR(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkPhysicalDeviceSurfaceInfo2KHR calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkPhysicalDeviceSurfaceInfo2KHR. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkPhysicalDeviceSurfaceInfo2KHR calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkPhysicalDeviceSurfaceInfo2KHR. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkPhysicalDeviceSurfaceInfo2KHR callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkPhysicalDeviceSurfaceInfo2KHR callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkPhysicalDeviceSurfaceInfo2KHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkPhysicalDeviceSurfaceInfo2KHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkPhysicalDeviceSurfaceInfo2KHR create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkPhysicalDeviceSurfaceInfo2KHR create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkPhysicalDeviceSurfaceInfo2KHR create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkPhysicalDeviceSurfaceInfo2KHR. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkPhysicalDeviceSurfaceInfo2KHR. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkPhysicalDeviceSurfaceInfo2KHR createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkPhysicalDeviceSurfaceInfo2KHR. Like
| |
| malloc | back to summary |
|---|---|
| public static VkPhysicalDeviceSurfaceInfo2KHR malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkPhysicalDeviceSurfaceInfo2KHR. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkPhysicalDeviceSurfaceInfo2KHR malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkPhysicalDeviceSurfaceInfo2KHR. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkPhysicalDeviceSurfaceInfo2KHR mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkPhysicalDeviceSurfaceInfo2KHR mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkPhysicalDeviceSurfaceInfo2KHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkPhysicalDeviceSurfaceInfo2KHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| npNext | back to summary |
|---|---|
| public static long npNext(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static void npNext(long struct, long value) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static int nsType(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static void nsType(long struct, int value) Unsafe version of | |
| nsurface | back to summary |
|---|---|
| public static long nsurface(long struct) Unsafe version of | |
| nsurface | back to summary |
|---|---|
| public static void nsurface(long struct, long value) Unsafe version of | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkPhysicalDeviceSurfaceInfo2KHR pNext(long value) Sets the specified value to the | |
| pNext | back to summary |
|---|---|
| public VkPhysicalDeviceSurfaceInfo2KHR pNext(VkSurfaceFullScreenExclusiveInfoEXT value) Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkPhysicalDeviceSurfaceInfo2KHR pNext(VkSurfaceFullScreenExclusiveWin32InfoEXT value) Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkPhysicalDeviceSurfaceInfo2KHR pNext(VkSurfacePresentModeEXT value) Prepends the specified | |
| set | back to summary |
|---|---|
| public VkPhysicalDeviceSurfaceInfo2KHR set(int sType, long pNext, long surface) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkPhysicalDeviceSurfaceInfo2KHR set(VkPhysicalDeviceSurfaceInfo2KHR src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkPhysicalDeviceSurfaceInfo2KHR sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkPhysicalDeviceSurfaceInfo2KHR sType$Default() Sets the | |
| surface | back to summary |
|---|---|
| public long surface() the surface that will be associated with the swapchain.
| |
| surface | back to summary |
|---|---|
| public VkPhysicalDeviceSurfaceInfo2KHR surface(long value) Sets the specified value to the | |
VkPhysicalDeviceSurfaceInfo2KHR structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkPhysicalDeviceSurfaceInfo2KHR |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkPhysicalDeviceSurfaceInfo2KHR ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| getElementFactory | back to summary |
|---|---|
| protected VkPhysicalDeviceSurfaceInfo2KHR getElementFactory() Implements abstract org.
| |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkPhysicalDeviceSurfaceInfo2KHR. Sets the specified value to the | |
| pNext | back to summary |
|---|---|
| public VkPhysicalDeviceSurfaceInfo2KHR. Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkPhysicalDeviceSurfaceInfo2KHR. Prepends the specified | |
| pNext | back to summary |
|---|---|
| public VkPhysicalDeviceSurfaceInfo2KHR. Prepends the specified | |
| self | back to summary |
|---|---|
| protected VkPhysicalDeviceSurfaceInfo2KHR. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkPhysicalDeviceSurfaceInfo2KHR. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkPhysicalDeviceSurfaceInfo2KHR. Sets the | |
| surface | back to summary |
|---|---|
public long surface()
| |
| surface | back to summary |
|---|---|
| public VkPhysicalDeviceSurfaceInfo2KHR. Sets the specified value to the | |