Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkSurfaceCapabilitiesKHR

extends Struct<VkSurfaceCapabilitiesKHR>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Structure describing capabilities of a surface.
Description
Note

Supported usage flags of a presentable image when using PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR or PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR presentation mode are provided by VkSharedPresentSurfaceCapabilitiesKHR::sharedPresentSupportedUsageFlags.

Note

Formulas such as min(N, maxImageCount) are not correct, since maxImageCount may be zero.

See Also

VkExtent2D, VkSurfaceCapabilities2KHR, GetPhysicalDeviceSurfaceCapabilitiesKHR

Layout


struct VkSurfaceCapabilitiesKHR {
    uint32_t minImageCount;
    uint32_t maxImageCount;
    VkExtent2D currentExtent;
    VkExtent2D minImageExtent;
    VkExtent2D maxImageExtent;
    uint32_t maxImageArrayLayers;
    VkSurfaceTransformFlagsKHR supportedTransforms;
    VkSurfaceTransformFlagBitsKHR currentTransform;
    VkCompositeAlphaFlagsKHR supportedCompositeAlpha;
    VkImageUsageFlags supportedUsageFlags;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField 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
SIZEOF

The struct size in bytes.

public static final int
SUPPORTEDCOMPOSITEALPHA

The struct member offsets.

public static final int
SUPPORTEDTRANSFORMS

The struct member offsets.

public static final int
SUPPORTEDUSAGEFLAGS

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
VkSurfaceCapabilitiesKHR(long address, ByteBuffer container)

public
VkSurfaceCapabilitiesKHR(ByteBuffer container)

Creates a VkSurfaceCapabilitiesKHR instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static VkSurfaceCapabilitiesKHR
calloc()

Returns a new VkSurfaceCapabilitiesKHR instance allocated with memCalloc.

public static VkSurfaceCapabilitiesKHR.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VkSurfaceCapabilitiesKHR.Buffer instance allocated with memCalloc.

public static VkSurfaceCapabilitiesKHR
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkSurfaceCapabilitiesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkSurfaceCapabilitiesKHR.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkSurfaceCapabilitiesKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkSurfaceCapabilitiesKHR
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkSurfaceCapabilitiesKHR
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkSurfaceCapabilitiesKHR.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkSurfaceCapabilitiesKHR.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
protected VkSurfaceCapabilitiesKHR
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkSurfaceCapabilitiesKHR
create()

Returns a new VkSurfaceCapabilitiesKHR instance allocated with BufferUtils.

public static VkSurfaceCapabilitiesKHR
create(long address)

Returns a new VkSurfaceCapabilitiesKHR instance for the specified memory address.

public static VkSurfaceCapabilitiesKHR.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VkSurfaceCapabilitiesKHR.Buffer instance allocated with BufferUtils.

public static VkSurfaceCapabilitiesKHR.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VkSurfaceCapabilitiesKHR.Buffer instance at the specified memory.

public static VkSurfaceCapabilitiesKHR
createSafe(long address)

Like create, but returns null if address is NULL.

public static VkSurfaceCapabilitiesKHR.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public VkExtent2D
currentExtent()

the current width and height of the surface, or the special value (0xFFFFFFFF, 0xFFFFFFFF) indicating that the surface size will be determined by the extent of a swapchain targeting the surface.

public int
currentTransform()

VkSurfaceTransformFlagBitsKHR value indicating the surface’s current transform relative to the presentation engine’s natural orientation.

public static VkSurfaceCapabilitiesKHR
malloc()

Returns a new VkSurfaceCapabilitiesKHR instance allocated with memAlloc.

public static VkSurfaceCapabilitiesKHR.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VkSurfaceCapabilitiesKHR.Buffer instance allocated with memAlloc.

public static VkSurfaceCapabilitiesKHR
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkSurfaceCapabilitiesKHR instance allocated on the specified MemoryStack.

public static VkSurfaceCapabilitiesKHR.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkSurfaceCapabilitiesKHR.Buffer instance allocated on the specified MemoryStack.

public static VkSurfaceCapabilitiesKHR
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkSurfaceCapabilitiesKHR
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkSurfaceCapabilitiesKHR.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkSurfaceCapabilitiesKHR.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
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 minImageCount.

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
ncurrentExtent(long struct)

Unsafe version of currentExtent.

public static int
ncurrentTransform(long struct)

Unsafe version of currentTransform.

public static int
nmaxImageArrayLayers(long struct)

Unsafe version of maxImageArrayLayers.

public static int
nmaxImageCount(long struct)

Unsafe version of maxImageCount.

public static VkExtent2D
nmaxImageExtent(long struct)

Unsafe version of maxImageExtent.

public static int
nminImageCount(long struct)

Unsafe version of minImageCount.

public static VkExtent2D
nminImageExtent(long struct)

Unsafe version of minImageExtent.

public static int
nsupportedCompositeAlpha(long struct)

Unsafe version of supportedCompositeAlpha.

public static int
nsupportedTransforms(long struct)

Unsafe version of supportedTransforms.

public static int
nsupportedUsageFlags(long struct)

Unsafe version of supportedUsageFlags.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public int
supportedCompositeAlpha()

a bitmask of VkCompositeAlphaFlagBitsKHR, representing the alpha compositing modes supported by the presentation engine for the surface on the specified device, and at least one bit will be set.

public int
supportedTransforms()

a bitmask of VkSurfaceTransformFlagBitsKHR indicating the presentation transforms supported for the surface on the specified device.

public int
supportedUsageFlags()

a bitmask of VkImageUsageFlagBits representing the ways the application can use the presentable images of a swapchain created with VkPresentModeKHR set to PRESENT_MODE_IMMEDIATE_KHR, PRESENT_MODE_MAILBOX_KHR, PRESENT_MODE_FIFO_KHR or PRESENT_MODE_FIFO_RELAXED_KHR for the surface on the specified device.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

CURRENTEXTENTback to summary
public static final int CURRENTEXTENT

The struct member offsets.

CURRENTTRANSFORMback to summary
public static final int CURRENTTRANSFORM

The struct member offsets.

MAXIMAGEARRAYLAYERSback to summary
public static final int MAXIMAGEARRAYLAYERS

The struct member offsets.

MAXIMAGECOUNTback to summary
public static final int MAXIMAGECOUNT

The struct member offsets.

MAXIMAGEEXTENTback to summary
public static final int MAXIMAGEEXTENT

The struct member offsets.

MINIMAGECOUNTback to summary
public static final int MINIMAGECOUNT

The struct member offsets.

MINIMAGEEXTENTback to summary
public static final int MINIMAGEEXTENT

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

SUPPORTEDCOMPOSITEALPHAback to summary
public static final int SUPPORTEDCOMPOSITEALPHA

The struct member offsets.

SUPPORTEDTRANSFORMSback to summary
public static final int SUPPORTEDTRANSFORMS

The struct member offsets.

SUPPORTEDUSAGEFLAGSback to summary
public static final int SUPPORTEDUSAGEFLAGS

The struct member offsets.

Constructor Detail

VkSurfaceCapabilitiesKHRback to summary
protected VkSurfaceCapabilitiesKHR(long address, ByteBuffer container)
VkSurfaceCapabilitiesKHRback to summary
public VkSurfaceCapabilitiesKHR(ByteBuffer container)

Creates a VkSurfaceCapabilitiesKHR 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.

Method Detail

callocback to summary
public static VkSurfaceCapabilitiesKHR calloc()

Returns a new VkSurfaceCapabilitiesKHR instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static VkSurfaceCapabilitiesKHR.Buffer calloc(int capacity)

Returns a new VkSurfaceCapabilitiesKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static VkSurfaceCapabilitiesKHR calloc(MemoryStack stack)

Returns a new VkSurfaceCapabilitiesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static VkSurfaceCapabilitiesKHR.Buffer calloc(int capacity, MemoryStack stack)

Returns a new VkSurfaceCapabilitiesKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

callocStackback to summary
public static VkSurfaceCapabilitiesKHR callocStack()

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VkSurfaceCapabilitiesKHR callocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VkSurfaceCapabilitiesKHR.Buffer callocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VkSurfaceCapabilitiesKHR.Buffer callocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
createback to summary
protected VkSurfaceCapabilitiesKHR create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static VkSurfaceCapabilitiesKHR create()

Returns a new VkSurfaceCapabilitiesKHR instance allocated with BufferUtils.

createback to summary
public static VkSurfaceCapabilitiesKHR create(long address)

Returns a new VkSurfaceCapabilitiesKHR instance for the specified memory address.

createback to summary
public static VkSurfaceCapabilitiesKHR.Buffer create(int capacity)

Returns a new VkSurfaceCapabilitiesKHR.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

createback to summary
public static VkSurfaceCapabilitiesKHR.Buffer create(long address, int capacity)

Create a VkSurfaceCapabilitiesKHR.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static VkSurfaceCapabilitiesKHR createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static VkSurfaceCapabilitiesKHR.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
currentExtentback to summary
public VkExtent2D currentExtent()

the current width and height of the surface, or the special value (0xFFFFFFFF, 0xFFFFFFFF) indicating that the surface size will be determined by the extent of a swapchain targeting the surface.

currentTransformback to summary
public int currentTransform()

VkSurfaceTransformFlagBitsKHR value indicating the surface’s current transform relative to the presentation engine’s natural orientation.

Annotations
@NativeType:VkSurfaceTransformFlagBitsKHR
mallocback to summary
public static VkSurfaceCapabilitiesKHR malloc()

Returns a new VkSurfaceCapabilitiesKHR instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static VkSurfaceCapabilitiesKHR.Buffer malloc(int capacity)

Returns a new VkSurfaceCapabilitiesKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static VkSurfaceCapabilitiesKHR malloc(MemoryStack stack)

Returns a new VkSurfaceCapabilitiesKHR instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static VkSurfaceCapabilitiesKHR.Buffer malloc(int capacity, MemoryStack stack)

Returns a new VkSurfaceCapabilitiesKHR.Buffer instance allocated on the specified MemoryStack.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

mallocStackback to summary
public static VkSurfaceCapabilitiesKHR mallocStack()

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VkSurfaceCapabilitiesKHR mallocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VkSurfaceCapabilitiesKHR.Buffer mallocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VkSurfaceCapabilitiesKHR.Buffer mallocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
maxImageArrayLayersback 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.

Annotations
@NativeType:uint32_t
maxImageCountback 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 minImageCount. A value of 0 means that there is no limit on the number of images, though there may be limits related to the total amount of memory used by presentable images.

Annotations
@NativeType:uint32_t
maxImageExtentback to summary
public VkExtent2D maxImageExtent()

contains the largest valid swapchain extent for the surface on the specified device. The width and height of the extent will each be greater than or equal to the corresponding width and height of minImageExtent. The width and height of the extent will each be greater than or equal to the corresponding width and height of currentExtent, unless currentExtent has the special value described above.

minImageCountback 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.

Annotations
@NativeType:uint32_t
minImageExtentback to summary
public VkExtent2D minImageExtent()

contains the smallest valid swapchain extent for the surface on the specified device. The width and height of the extent will each be less than or equal to the corresponding width and height of currentExtent, unless currentExtent has the special value described above.

ncurrentExtentback to summary
public static VkExtent2D ncurrentExtent(long struct)

Unsafe version of currentExtent.

ncurrentTransformback to summary
public static int ncurrentTransform(long struct)

Unsafe version of currentTransform.

nmaxImageArrayLayersback to summary
public static int nmaxImageArrayLayers(long struct)

Unsafe version of maxImageArrayLayers.

nmaxImageCountback to summary
public static int nmaxImageCount(long struct)

Unsafe version of maxImageCount.

nmaxImageExtentback to summary
public static VkExtent2D nmaxImageExtent(long struct)

Unsafe version of maxImageExtent.

nminImageCountback to summary
public static int nminImageCount(long struct)

Unsafe version of minImageCount.

nminImageExtentback to summary
public static VkExtent2D nminImageExtent(long struct)

Unsafe version of minImageExtent.

nsupportedCompositeAlphaback to summary
public static int nsupportedCompositeAlpha(long struct)

Unsafe version of supportedCompositeAlpha.

nsupportedTransformsback to summary
public static int nsupportedTransforms(long struct)

Unsafe version of supportedTransforms.

nsupportedUsageFlagsback to summary
public static int nsupportedUsageFlags(long struct)

Unsafe version of supportedUsageFlags.

sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
supportedCompositeAlphaback to summary
public int supportedCompositeAlpha()

a bitmask of VkCompositeAlphaFlagBitsKHR, representing the alpha compositing modes supported by the presentation engine for the surface on the specified device, and at least one bit will be set. Opaque composition can be achieved in any alpha compositing mode by either using an image format that has no alpha component, or by ensuring that all pixels in the presentable images have an alpha value of 1.0.

Annotations
@NativeType:VkCompositeAlphaFlagsKHR
supportedTransformsback to summary
public int supportedTransforms()

a bitmask of VkSurfaceTransformFlagBitsKHR indicating the presentation transforms supported for the surface on the specified device. At least one bit will be set.

Annotations
@NativeType:VkSurfaceTransformFlagsKHR
supportedUsageFlagsback to summary
public int supportedUsageFlags()

a bitmask of VkImageUsageFlagBits representing the ways the application can use the presentable images of a swapchain created with VkPresentModeKHR set to PRESENT_MODE_IMMEDIATE_KHR, PRESENT_MODE_MAILBOX_KHR, PRESENT_MODE_FIFO_KHR or PRESENT_MODE_FIFO_RELAXED_KHR for the surface on the specified device. IMAGE_USAGE_COLOR_ATTACHMENT_BIT must be included in the set. Implementations may support additional usages.

Annotations
@NativeType:VkImageUsageFlags
org.lwjgl.vulkan back to summary

public Class VkSurfaceCapabilitiesKHR.Buffer

extends StructBuffer<VkSurfaceCapabilitiesKHR, VkSurfaceCapabilitiesKHR.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of VkSurfaceCapabilitiesKHR structs.

Field Summary

Modifier and TypeField and Description
private static final VkSurfaceCapabilitiesKHR

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new VkSurfaceCapabilitiesKHR.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public VkExtent2D
public int
protected VkSurfaceCapabilitiesKHR
public int
public int

Returns:

the value of the VkSurfaceCapabilitiesKHR#maxImageCount field.
maxImageCount
()

public VkExtent2D
public int

Returns:

the value of the VkSurfaceCapabilitiesKHR#minImageCount field.
minImageCount
()

public VkExtent2D
protected VkSurfaceCapabilitiesKHR.Buffer
public int
public int
public int
Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final VkSurfaceCapabilitiesKHR ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new VkSurfaceCapabilitiesKHR.Buffer instance backed by the specified container.

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 VkSurfaceCapabilitiesKHR#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

currentExtentback to summary
public VkExtent2D currentExtent()
Returns:VkExtent2D

a VkExtent2D view of the VkSurfaceCapabilitiesKHR#currentExtent field.

currentTransformback to summary
public int currentTransform()
Returns:int

the value of the VkSurfaceCapabilitiesKHR#currentTransform field.

Annotations
@NativeType:VkSurfaceTransformFlagBitsKHR
getElementFactoryback to summary
protected VkSurfaceCapabilitiesKHR getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
maxImageArrayLayersback to summary
public int maxImageArrayLayers()
Returns:int

the value of the VkSurfaceCapabilitiesKHR#maxImageArrayLayers field.

Annotations
@NativeType:uint32_t
maxImageCountback to summary
public int maxImageCount()
Returns:int

the value of the VkSurfaceCapabilitiesKHR#maxImageCount field.

Annotations
@NativeType:uint32_t
maxImageExtentback to summary
public VkExtent2D maxImageExtent()
Returns:VkExtent2D

a VkExtent2D view of the VkSurfaceCapabilitiesKHR#maxImageExtent field.

minImageCountback to summary
public int minImageCount()
Returns:int

the value of the VkSurfaceCapabilitiesKHR#minImageCount field.

Annotations
@NativeType:uint32_t
minImageExtentback to summary
public VkExtent2D minImageExtent()
Returns:VkExtent2D

a VkExtent2D view of the VkSurfaceCapabilitiesKHR#minImageExtent field.

selfback to summary
protected VkSurfaceCapabilitiesKHR.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override
supportedCompositeAlphaback to summary
public int supportedCompositeAlpha()
Returns:int

the value of the VkSurfaceCapabilitiesKHR#supportedCompositeAlpha field.

Annotations
@NativeType:VkCompositeAlphaFlagsKHR
supportedTransformsback to summary
public int supportedTransforms()
Returns:int

the value of the VkSurfaceCapabilitiesKHR#supportedTransforms field.

Annotations
@NativeType:VkSurfaceTransformFlagsKHR
supportedUsageFlagsback to summary
public int supportedUsageFlags()
Returns:int

the value of the VkSurfaceCapabilitiesKHR#supportedUsageFlags field.

Annotations
@NativeType:VkImageUsageFlags