public class VkSurfaceCapabilities2EXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
supportedSurfaceCounters must not include SURFACE_COUNTER_VBLANK_EXT unless the surface queried is a display surface.sType must be STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_EXTpNext must be NULLVkExtent2D, GetPhysicalDeviceSurfaceCapabilities2EXT
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.supportedSurfaceCounters – a bitmask of VkSurfaceCounterFlagBitsEXT indicating the supported surface counter types.
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 |
|---|---|
static class |
VkSurfaceCapabilities2EXT.Buffer
An array of
VkSurfaceCapabilities2EXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
CURRENTEXTENT
The struct member offsets.
|
static int |
CURRENTTRANSFORM
The struct member offsets.
|
static int |
MAXIMAGEARRAYLAYERS
The struct member offsets.
|
static int |
MAXIMAGECOUNT
The struct member offsets.
|
static int |
MAXIMAGEEXTENT
The struct member offsets.
|
static int |
MINIMAGECOUNT
The struct member offsets.
|
static int |
MINIMAGEEXTENT
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
static int |
SUPPORTEDCOMPOSITEALPHA
The struct member offsets.
|
static int |
SUPPORTEDSURFACECOUNTERS
The struct member offsets.
|
static int |
SUPPORTEDTRANSFORMS
The struct member offsets.
|
static int |
SUPPORTEDUSAGEFLAGS
The struct member offsets.
|
| Constructor and Description |
|---|
VkSurfaceCapabilities2EXT(java.nio.ByteBuffer container)
Creates a
VkSurfaceCapabilities2EXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkSurfaceCapabilities2EXT |
calloc()
Returns a new
VkSurfaceCapabilities2EXT instance allocated with memCalloc. |
static VkSurfaceCapabilities2EXT.Buffer |
calloc(int capacity)
Returns a new
VkSurfaceCapabilities2EXT.Buffer instance allocated with memCalloc. |
static VkSurfaceCapabilities2EXT |
callocStack()
Returns a new
VkSurfaceCapabilities2EXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkSurfaceCapabilities2EXT.Buffer |
callocStack(int capacity)
Returns a new
VkSurfaceCapabilities2EXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkSurfaceCapabilities2EXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkSurfaceCapabilities2EXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkSurfaceCapabilities2EXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkSurfaceCapabilities2EXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkSurfaceCapabilities2EXT |
create()
Returns a new
VkSurfaceCapabilities2EXT instance allocated with BufferUtils. |
static VkSurfaceCapabilities2EXT.Buffer |
create(int capacity)
Returns a new
VkSurfaceCapabilities2EXT.Buffer instance allocated with BufferUtils. |
static VkSurfaceCapabilities2EXT |
create(long address)
Returns a new
VkSurfaceCapabilities2EXT instance for the specified memory address. |
static VkSurfaceCapabilities2EXT.Buffer |
create(long address,
int capacity)
Create a
VkSurfaceCapabilities2EXT.Buffer instance at the specified memory. |
static VkSurfaceCapabilities2EXT |
createSafe(long address)
|
static VkSurfaceCapabilities2EXT.Buffer |
createSafe(long address,
int capacity)
|
VkExtent2D |
currentExtent()
Returns a
VkExtent2D view of the currentExtent field. |
int |
currentTransform()
Returns the value of the
currentTransform field. |
static VkSurfaceCapabilities2EXT |
malloc()
Returns a new
VkSurfaceCapabilities2EXT instance allocated with memAlloc. |
static VkSurfaceCapabilities2EXT.Buffer |
malloc(int capacity)
Returns a new
VkSurfaceCapabilities2EXT.Buffer instance allocated with memAlloc. |
static VkSurfaceCapabilities2EXT |
mallocStack()
Returns a new
VkSurfaceCapabilities2EXT instance allocated on the thread-local MemoryStack. |
static VkSurfaceCapabilities2EXT.Buffer |
mallocStack(int capacity)
Returns a new
VkSurfaceCapabilities2EXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkSurfaceCapabilities2EXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkSurfaceCapabilities2EXT.Buffer instance allocated on the specified MemoryStack. |
static VkSurfaceCapabilities2EXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkSurfaceCapabilities2EXT instance allocated on the specified MemoryStack. |
int |
maxImageArrayLayers()
Returns the value of the
maxImageArrayLayers field. |
int |
maxImageCount()
Returns the value of the
maxImageCount field. |
VkExtent2D |
maxImageExtent()
Returns a
VkExtent2D view of the maxImageExtent field. |
int |
minImageCount()
Returns the value of the
minImageCount field. |
VkExtent2D |
minImageExtent()
Returns a
VkExtent2D view of the minImageExtent field. |
static VkExtent2D |
ncurrentExtent(long struct)
Unsafe version of
currentExtent(). |
static int |
ncurrentTransform(long struct)
Unsafe version of
currentTransform(). |
static int |
nmaxImageArrayLayers(long struct)
Unsafe version of
maxImageArrayLayers(). |
static int |
nmaxImageCount(long struct)
Unsafe version of
maxImageCount(). |
static VkExtent2D |
nmaxImageExtent(long struct)
Unsafe version of
maxImageExtent(). |
static int |
nminImageCount(long struct)
Unsafe version of
minImageCount(). |
static VkExtent2D |
nminImageExtent(long struct)
Unsafe version of
minImageExtent(). |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
static int |
nsupportedCompositeAlpha(long struct)
Unsafe version of
supportedCompositeAlpha(). |
static int |
nsupportedSurfaceCounters(long struct)
Unsafe version of
supportedSurfaceCounters(). |
static int |
nsupportedTransforms(long struct)
Unsafe version of
supportedTransforms(). |
static int |
nsupportedUsageFlags(long struct)
Unsafe version of
supportedUsageFlags(). |
long |
pNext()
Returns the value of the
pNext field. |
VkSurfaceCapabilities2EXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkSurfaceCapabilities2EXT |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkSurfaceCapabilities2EXT |
set(VkSurfaceCapabilities2EXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkSurfaceCapabilities2EXT |
sType(int value)
Sets the specified value to the
sType field. |
int |
supportedCompositeAlpha()
Returns the value of the
supportedCompositeAlpha field. |
int |
supportedSurfaceCounters()
Returns the value of the
supportedSurfaceCounters field. |
int |
supportedTransforms()
Returns the value of the
supportedTransforms field. |
int |
supportedUsageFlags()
Returns the value of the
supportedUsageFlags field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int MINIMAGECOUNT
public static final int MAXIMAGECOUNT
public static final int CURRENTEXTENT
public static final int MINIMAGEEXTENT
public static final int MAXIMAGEEXTENT
public static final int MAXIMAGEARRAYLAYERS
public static final int SUPPORTEDTRANSFORMS
public static final int CURRENTTRANSFORM
public static final int SUPPORTEDCOMPOSITEALPHA
public static final int SUPPORTEDUSAGEFLAGS
public static final int SUPPORTEDSURFACECOUNTERS
public VkSurfaceCapabilities2EXT(java.nio.ByteBuffer container)
VkSurfaceCapabilities2EXT instance at the current position of the specified ByteBuffer container. 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public int minImageCount()
minImageCount field.public int maxImageCount()
maxImageCount field.public VkExtent2D currentExtent()
VkExtent2D view of the currentExtent field.public VkExtent2D minImageExtent()
VkExtent2D view of the minImageExtent field.public VkExtent2D maxImageExtent()
VkExtent2D view of the maxImageExtent field.public int maxImageArrayLayers()
maxImageArrayLayers field.public int supportedTransforms()
supportedTransforms field.public int currentTransform()
currentTransform field.public int supportedCompositeAlpha()
supportedCompositeAlpha field.public int supportedUsageFlags()
supportedUsageFlags field.public int supportedSurfaceCounters()
supportedSurfaceCounters field.public VkSurfaceCapabilities2EXT sType(int value)
sType field.public VkSurfaceCapabilities2EXT pNext(long value)
pNext field.public VkSurfaceCapabilities2EXT set(int sType, long pNext)
public VkSurfaceCapabilities2EXT set(VkSurfaceCapabilities2EXT src)
src - the source structpublic static VkSurfaceCapabilities2EXT malloc()
VkSurfaceCapabilities2EXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkSurfaceCapabilities2EXT calloc()
VkSurfaceCapabilities2EXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkSurfaceCapabilities2EXT create()
VkSurfaceCapabilities2EXT instance allocated with BufferUtils.public static VkSurfaceCapabilities2EXT create(long address)
VkSurfaceCapabilities2EXT instance for the specified memory address.@Nullable public static VkSurfaceCapabilities2EXT createSafe(long address)
public static VkSurfaceCapabilities2EXT.Buffer malloc(int capacity)
VkSurfaceCapabilities2EXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkSurfaceCapabilities2EXT.Buffer calloc(int capacity)
VkSurfaceCapabilities2EXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkSurfaceCapabilities2EXT.Buffer create(int capacity)
VkSurfaceCapabilities2EXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkSurfaceCapabilities2EXT.Buffer create(long address, int capacity)
VkSurfaceCapabilities2EXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkSurfaceCapabilities2EXT.Buffer createSafe(long address, int capacity)
public static VkSurfaceCapabilities2EXT mallocStack()
VkSurfaceCapabilities2EXT instance allocated on the thread-local MemoryStack.public static VkSurfaceCapabilities2EXT callocStack()
VkSurfaceCapabilities2EXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkSurfaceCapabilities2EXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkSurfaceCapabilities2EXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkSurfaceCapabilities2EXT callocStack(org.lwjgl.system.MemoryStack stack)
VkSurfaceCapabilities2EXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkSurfaceCapabilities2EXT.Buffer mallocStack(int capacity)
VkSurfaceCapabilities2EXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkSurfaceCapabilities2EXT.Buffer callocStack(int capacity)
VkSurfaceCapabilities2EXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkSurfaceCapabilities2EXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkSurfaceCapabilities2EXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkSurfaceCapabilities2EXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkSurfaceCapabilities2EXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int nminImageCount(long struct)
minImageCount().public static int nmaxImageCount(long struct)
maxImageCount().public static VkExtent2D ncurrentExtent(long struct)
currentExtent().public static VkExtent2D nminImageExtent(long struct)
minImageExtent().public static VkExtent2D nmaxImageExtent(long struct)
maxImageExtent().public static int nmaxImageArrayLayers(long struct)
maxImageArrayLayers().public static int nsupportedTransforms(long struct)
supportedTransforms().public static int ncurrentTransform(long struct)
currentTransform().public static int nsupportedCompositeAlpha(long struct)
supportedCompositeAlpha().public static int nsupportedUsageFlags(long struct)
supportedUsageFlags().public static int nsupportedSurfaceCounters(long struct)
supportedSurfaceCounters().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.Copyright LWJGL. All Rights Reserved. License terms.