supportedSurfaceCounters must not include SURFACE_COUNTER_VBLANK_BIT_EXT unless the surface queried is a display surfacesType must be STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_EXTpNext must be NULLVkExtent2D, GetPhysicalDeviceSurfaceCapabilities2EXT
struct VkSurfaceCapabilities2EXT {
VkStructureType sType;
void * pNext;
uint32_t minImageCount;
uint32_t maxImageCount;
VkExtent2D currentExtent;
VkExtent2D minImageExtent;
VkExtent2D maxImageExtent;
uint32_t maxImageArrayLayers;
VkSurfaceTransformFlagsKHR supportedTransforms;
VkSurfaceTransformFlagBitsKHR currentTransform;
VkCompositeAlphaFlagsKHR supportedCompositeAlpha;
VkImageUsageFlags supportedUsageFlags;
VkSurfaceCounterFlagsEXT supportedSurfaceCounters;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkSurfaceCapabilities2EXT.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | CURRENTEXTENT
The struct member offsets. |
| public static final int | CURRENTTRANSFORM
The struct member offsets. |
| public static final int | MAXIMAGEARRAYLAYERS
The struct member offsets. |
| public static final int | MAXIMAGECOUNT
The struct member offsets. |
| public static final int | MAXIMAGEEXTENT
The struct member offsets. |
| public static final int | MINIMAGECOUNT
The struct member offsets. |
| public static final int | MINIMAGEEXTENT
The struct member offsets. |
| 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 | SUPPORTEDCOMPOSITEALPHA
The struct member offsets. |
| public static final int | SUPPORTEDSURFACECOUNTERS
The struct member offsets. |
| public static final int | SUPPORTEDTRANSFORMS
The struct member offsets. |
| public static final int | SUPPORTEDUSAGEFLAGS
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkSurfaceCapabilities2EXT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkSurfaceCapabilities2EXT | |
| public static VkSurfaceCapabilities2EXT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkSurfaceCapabilities2EXT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkSurfaceCapabilities2EXT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkSurfaceCapabilities2EXT | |
| public static VkSurfaceCapabilities2EXT | |
| public static VkSurfaceCapabilities2EXT. | |
| public static VkSurfaceCapabilities2EXT. | |
| protected VkSurfaceCapabilities2EXT | 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 VkSurfaceCapabilities2EXT | |
| public static VkSurfaceCapabilities2EXT | create(long address)
Returns a new |
| public static VkSurfaceCapabilities2EXT. | create(int
the buffer capacity capacity)Returns a new |
| public static VkSurfaceCapabilities2EXT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkSurfaceCapabilities2EXT | |
| public static VkSurfaceCapabilities2EXT. | |
| public VkExtent2D | currentExtent()
the current width and height of the surface, or the special value |
| public int | currentTransform()
|
| public static VkSurfaceCapabilities2EXT | |
| public static VkSurfaceCapabilities2EXT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkSurfaceCapabilities2EXT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkSurfaceCapabilities2EXT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkSurfaceCapabilities2EXT | |
| public static VkSurfaceCapabilities2EXT | |
| public static VkSurfaceCapabilities2EXT. | |
| public static VkSurfaceCapabilities2EXT. | |
| public int | maxImageArrayLayers()
the maximum number of layers presentable images can have for a swapchain created for this device and surface, and will be at least one. |
| public int | maxImageCount()
the maximum number of images the specified device supports for a swapchain created for the surface, and will be either 0, or greater than or equal to |
| public VkExtent2D | maxImageExtent()
contains the largest valid swapchain extent for the surface on the specified device. |
| public int | minImageCount()
the minimum number of images the specified device supports for a swapchain created for the surface, and will be at least one. |
| public VkExtent2D | minImageExtent()
contains the smallest valid swapchain extent for the surface on the specified device. |
| public static VkExtent2D | |
| public static int | |
| public static int | |
| public static int | |
| public static VkExtent2D | |
| public static int | |
| public static VkExtent2D | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public long | |
| public VkSurfaceCapabilities2EXT | |
| public VkSurfaceCapabilities2EXT | |
| public VkSurfaceCapabilities2EXT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkSurfaceCapabilities2EXT | |
| public VkSurfaceCapabilities2EXT | |
| public int | supportedCompositeAlpha()
a bitmask of |
| public int | supportedSurfaceCounters()
a bitmask of |
| public int | supportedTransforms()
a bitmask of |
| public int | supportedUsageFlags()
a bitmask of |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| CURRENTEXTENT | back to summary |
|---|---|
| public static final int CURRENTEXTENT The struct member offsets. | |
| CURRENTTRANSFORM | back to summary |
|---|---|
| public static final int CURRENTTRANSFORM The struct member offsets. | |
| MAXIMAGEARRAYLAYERS | back to summary |
|---|---|
| public static final int MAXIMAGEARRAYLAYERS The struct member offsets. | |
| MAXIMAGECOUNT | back to summary |
|---|---|
| public static final int MAXIMAGECOUNT The struct member offsets. | |
| MAXIMAGEEXTENT | back to summary |
|---|---|
| public static final int MAXIMAGEEXTENT The struct member offsets. | |
| MINIMAGECOUNT | back to summary |
|---|---|
| public static final int MINIMAGECOUNT The struct member offsets. | |
| MINIMAGEEXTENT | back to summary |
|---|---|
| public static final int MINIMAGEEXTENT The struct member offsets. | |
| 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. | |
| SUPPORTEDCOMPOSITEALPHA | back to summary |
|---|---|
| public static final int SUPPORTEDCOMPOSITEALPHA The struct member offsets. | |
| SUPPORTEDSURFACECOUNTERS | back to summary |
|---|---|
| public static final int SUPPORTEDSURFACECOUNTERS The struct member offsets. | |
| SUPPORTEDTRANSFORMS | back to summary |
|---|---|
| public static final int SUPPORTEDTRANSFORMS The struct member offsets. | |
| SUPPORTEDUSAGEFLAGS | back to summary |
|---|---|
| public static final int SUPPORTEDUSAGEFLAGS The struct member offsets. | |
| VkSurfaceCapabilities2EXT | back to summary |
|---|---|
| protected VkSurfaceCapabilities2EXT(long address, ByteBuffer container) | |
| VkSurfaceCapabilities2EXT | back to summary |
|---|---|
| public VkSurfaceCapabilities2EXT(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkSurfaceCapabilities2EXT calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkSurfaceCapabilities2EXT. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkSurfaceCapabilities2EXT calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkSurfaceCapabilities2EXT. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkSurfaceCapabilities2EXT callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkSurfaceCapabilities2EXT callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkSurfaceCapabilities2EXT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkSurfaceCapabilities2EXT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkSurfaceCapabilities2EXT create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkSurfaceCapabilities2EXT create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkSurfaceCapabilities2EXT create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkSurfaceCapabilities2EXT. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkSurfaceCapabilities2EXT. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkSurfaceCapabilities2EXT createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkSurfaceCapabilities2EXT. Like
| |
| currentExtent | back to summary |
|---|---|
| public VkExtent2D currentExtent() the current width and height of the surface, or the special value | |
| currentTransform | back to summary |
|---|---|
| public int currentTransform()
| |
| malloc | back to summary |
|---|---|
| public static VkSurfaceCapabilities2EXT malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkSurfaceCapabilities2EXT. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkSurfaceCapabilities2EXT malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkSurfaceCapabilities2EXT. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkSurfaceCapabilities2EXT mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkSurfaceCapabilities2EXT mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkSurfaceCapabilities2EXT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkSurfaceCapabilities2EXT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| maxImageArrayLayers | back to summary |
|---|---|
| public int maxImageArrayLayers() the maximum number of layers presentable images can have for a swapchain created for this device and surface, and will be at least one.
| |
| maxImageCount | back to summary |
|---|---|
| public int maxImageCount() the maximum number of images the specified device supports for a swapchain created for the surface, and will be either 0, or greater than or equal to
| |
| maxImageExtent | back to summary |
|---|---|
| public VkExtent2D maxImageExtent() contains the largest valid swapchain extent for the surface on the specified device. The | |
| minImageCount | back to summary |
|---|---|
| public int minImageCount() the minimum number of images the specified device supports for a swapchain created for the surface, and will be at least one.
| |
| minImageExtent | back to summary |
|---|---|
| public VkExtent2D minImageExtent() contains the smallest valid swapchain extent for the surface on the specified device. The | |
| ncurrentExtent | back to summary |
|---|---|
| public static VkExtent2D ncurrentExtent(long struct) Unsafe version of | |
| ncurrentTransform | back to summary |
|---|---|
| public static int ncurrentTransform(long struct) Unsafe version of | |
| nmaxImageArrayLayers | back to summary |
|---|---|
| public static int nmaxImageArrayLayers(long struct) Unsafe version of | |
| nmaxImageCount | back to summary |
|---|---|
| public static int nmaxImageCount(long struct) Unsafe version of | |
| nmaxImageExtent | back to summary |
|---|---|
| public static VkExtent2D nmaxImageExtent(long struct) Unsafe version of | |
| nminImageCount | back to summary |
|---|---|
| public static int nminImageCount(long struct) Unsafe version of | |
| nminImageExtent | back to summary |
|---|---|
| public static VkExtent2D nminImageExtent(long struct) Unsafe version of | |
| 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 | |
| nsupportedCompositeAlpha | back to summary |
|---|---|
| public static int nsupportedCompositeAlpha(long struct) Unsafe version of | |
| nsupportedSurfaceCounters | back to summary |
|---|---|
| public static int nsupportedSurfaceCounters(long struct) Unsafe version of | |
| nsupportedTransforms | back to summary |
|---|---|
| public static int nsupportedTransforms(long struct) Unsafe version of | |
| nsupportedUsageFlags | back to summary |
|---|---|
| public static int nsupportedUsageFlags(long struct) Unsafe version of | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkSurfaceCapabilities2EXT pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkSurfaceCapabilities2EXT set(int sType, long pNext) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkSurfaceCapabilities2EXT set(VkSurfaceCapabilities2EXT 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 VkSurfaceCapabilities2EXT sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkSurfaceCapabilities2EXT sType$Default() Sets the | |
| supportedCompositeAlpha | back to summary |
|---|---|
| public int supportedCompositeAlpha() a bitmask of
| |
| supportedSurfaceCounters | back to summary |
|---|---|
| public int supportedSurfaceCounters() a bitmask of
| |
| supportedTransforms | back to summary |
|---|---|
| public int supportedTransforms() a bitmask of
| |
| supportedUsageFlags | back to summary |
|---|---|
| public int supportedUsageFlags() a bitmask of
| |
VkSurfaceCapabilities2EXT structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkSurfaceCapabilities2EXT |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public VkExtent2D | |
| public int | |
| protected VkSurfaceCapabilities2EXT | |
| public int | |
| public int | |
| public VkExtent2D | |
| public int | |
| public VkExtent2D | |
| public long | |
| public VkSurfaceCapabilities2EXT. | |
| protected VkSurfaceCapabilities2EXT. | |
| public int | |
| public VkSurfaceCapabilities2EXT. | |
| public VkSurfaceCapabilities2EXT. | sType$Default()
Sets the |
| public int | Returns: the value of theVkSurfaceCapabilities2EXT#supportedCompositeAlpha field.
|
| public int | Returns: the value of theVkSurfaceCapabilities2EXT#supportedSurfaceCounters field.
|
| public int | |
| public int |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkSurfaceCapabilities2EXT 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) | |
| currentExtent | back to summary |
|---|---|
public VkExtent2D currentExtent()
| |
| currentTransform | back to summary |
|---|---|
public int currentTransform()
| |
| getElementFactory | back to summary |
|---|---|
| protected VkSurfaceCapabilities2EXT getElementFactory() Implements abstract org.
| |
| maxImageArrayLayers | back to summary |
|---|---|
public int maxImageArrayLayers()
| |
| maxImageCount | back to summary |
|---|---|
public int maxImageCount()
| |
| maxImageExtent | back to summary |
|---|---|
public VkExtent2D maxImageExtent()
| |
| minImageCount | back to summary |
|---|---|
public int minImageCount()
| |
| minImageExtent | back to summary |
|---|---|
public VkExtent2D minImageExtent()
| |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkSurfaceCapabilities2EXT. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkSurfaceCapabilities2EXT. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkSurfaceCapabilities2EXT. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkSurfaceCapabilities2EXT. Sets the | |
| supportedCompositeAlpha | back to summary |
|---|---|
public int supportedCompositeAlpha()
| |
| supportedSurfaceCounters | back to summary |
|---|---|
public int supportedSurfaceCounters()
| |
| supportedTransforms | back to summary |
|---|---|
public int supportedTransforms()
| |
| supportedUsageFlags | back to summary |
|---|---|
public int supportedUsageFlags()
| |