public class KHRDisplay
extends java.lang.Object
The example code for the VK_KHR_display and VK_KHR_display_swapchain extensions was removed from the appendix after revision 1.0.43. The display enumeration example code was ported to the cube demo that is shipped with the official Khronos SDK, and is being kept up-to-date in that location (see: https://github.com/KhronosGroup/Vulkan-Tools/blob/master/cube/cube.c).
VK_KHR_displayVK_KHR_surface| Modifier and Type | Field and Description |
|---|---|
static int |
VK_DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR
VkDisplayPlaneAlphaFlagBitsKHR - Alpha blending type
|
static int |
VK_DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR
VkDisplayPlaneAlphaFlagBitsKHR - Alpha blending type
|
static int |
VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR
VkDisplayPlaneAlphaFlagBitsKHR - Alpha blending type
|
static int |
VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_PREMULTIPLIED_BIT_KHR
VkDisplayPlaneAlphaFlagBitsKHR - Alpha blending type
|
static java.lang.String |
VK_KHR_DISPLAY_EXTENSION_NAME
The extension name.
|
static int |
VK_KHR_DISPLAY_SPEC_VERSION
The extension specification version.
|
static int |
VK_OBJECT_TYPE_DISPLAY_KHR
Extends
VkObjectType. |
static int |
VK_OBJECT_TYPE_DISPLAY_MODE_KHR
Extends
VkObjectType. |
static int |
VK_STRUCTURE_TYPE_DISPLAY_MODE_CREATE_INFO_KHR
Extends
VkStructureType. |
static int |
VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR
Extends
VkStructureType. |
| Modifier and Type | Method and Description |
|---|---|
static int |
nvkCreateDisplayModeKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long display,
long pCreateInfo,
long pAllocator,
long pMode)
Unsafe version of:
CreateDisplayModeKHR |
static int |
nvkCreateDisplayPlaneSurfaceKHR(org.lwjgl.vulkan.VkInstance instance,
long pCreateInfo,
long pAllocator,
long pSurface)
Unsafe version of:
CreateDisplayPlaneSurfaceKHR |
static int |
nvkGetDisplayModePropertiesKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long display,
long pPropertyCount,
long pProperties)
Unsafe version of:
GetDisplayModePropertiesKHR |
static int |
nvkGetDisplayPlaneCapabilitiesKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long mode,
int planeIndex,
long pCapabilities)
Unsafe version of:
GetDisplayPlaneCapabilitiesKHR |
static int |
nvkGetDisplayPlaneSupportedDisplaysKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
int planeIndex,
long pDisplayCount,
long pDisplays)
Unsafe version of:
GetDisplayPlaneSupportedDisplaysKHR |
static int |
nvkGetPhysicalDeviceDisplayPlanePropertiesKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long pPropertyCount,
long pProperties)
Unsafe version of:
GetPhysicalDeviceDisplayPlanePropertiesKHR |
static int |
nvkGetPhysicalDeviceDisplayPropertiesKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long pPropertyCount,
long pProperties)
Unsafe version of:
GetPhysicalDeviceDisplayPropertiesKHR |
static int |
vkCreateDisplayModeKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long display,
VkDisplayModeCreateInfoKHR pCreateInfo,
VkAllocationCallbacks pAllocator,
long[] pMode)
Array version of:
CreateDisplayModeKHR |
static int |
vkCreateDisplayModeKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long display,
VkDisplayModeCreateInfoKHR pCreateInfo,
VkAllocationCallbacks pAllocator,
java.nio.LongBuffer pMode)
Create a display mode.
|
static int |
vkCreateDisplayPlaneSurfaceKHR(org.lwjgl.vulkan.VkInstance instance,
VkDisplaySurfaceCreateInfoKHR pCreateInfo,
VkAllocationCallbacks pAllocator,
long[] pSurface)
Array version of:
CreateDisplayPlaneSurfaceKHR |
static int |
vkCreateDisplayPlaneSurfaceKHR(org.lwjgl.vulkan.VkInstance instance,
VkDisplaySurfaceCreateInfoKHR pCreateInfo,
VkAllocationCallbacks pAllocator,
java.nio.LongBuffer pSurface)
Create a
VkSurfaceKHR structure representing a display plane and mode. |
static int |
vkGetDisplayModePropertiesKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long display,
int[] pPropertyCount,
VkDisplayModePropertiesKHR.Buffer pProperties)
Array version of:
GetDisplayModePropertiesKHR |
static int |
vkGetDisplayModePropertiesKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long display,
java.nio.IntBuffer pPropertyCount,
VkDisplayModePropertiesKHR.Buffer pProperties)
Query the set of mode properties supported by the display.
|
static int |
vkGetDisplayPlaneCapabilitiesKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long mode,
int planeIndex,
VkDisplayPlaneCapabilitiesKHR pCapabilities)
Query capabilities of a mode and plane combination.
|
static int |
vkGetDisplayPlaneSupportedDisplaysKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
int planeIndex,
int[] pDisplayCount,
long[] pDisplays)
Array version of:
GetDisplayPlaneSupportedDisplaysKHR |
static int |
vkGetDisplayPlaneSupportedDisplaysKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
int planeIndex,
java.nio.IntBuffer pDisplayCount,
java.nio.LongBuffer pDisplays)
Query the list of displays a plane supports.
|
static int |
vkGetPhysicalDeviceDisplayPlanePropertiesKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
int[] pPropertyCount,
VkDisplayPlanePropertiesKHR.Buffer pProperties)
Array version of:
GetPhysicalDeviceDisplayPlanePropertiesKHR |
static int |
vkGetPhysicalDeviceDisplayPlanePropertiesKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
java.nio.IntBuffer pPropertyCount,
VkDisplayPlanePropertiesKHR.Buffer pProperties)
Query the plane properties.
|
static int |
vkGetPhysicalDeviceDisplayPropertiesKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
int[] pPropertyCount,
VkDisplayPropertiesKHR.Buffer pProperties)
Array version of:
GetPhysicalDeviceDisplayPropertiesKHR |
static int |
vkGetPhysicalDeviceDisplayPropertiesKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
java.nio.IntBuffer pPropertyCount,
VkDisplayPropertiesKHR.Buffer pProperties)
Query information about the available displays.
|
public static final int VK_KHR_DISPLAY_SPEC_VERSION
public static final java.lang.String VK_KHR_DISPLAY_EXTENSION_NAME
public static final int VK_STRUCTURE_TYPE_DISPLAY_MODE_CREATE_INFO_KHR
VkStructureType.
public static final int VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR
VkStructureType.
public static final int VK_OBJECT_TYPE_DISPLAY_KHR
public static final int VK_OBJECT_TYPE_DISPLAY_MODE_KHR
public static final int VK_DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR
DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR specifies that the source image will be treated as opaque.DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR specifies that a global alpha value must be specified that will be applied to all pixels in the source image.DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR specifies that the alpha value will be determined by the alpha channel of the source image’s pixels. If the source format contains no alpha values, no blending will be applied. The source alpha values are not premultiplied into the source image’s other color channels.DISPLAY_PLANE_ALPHA_PER_PIXEL_PREMULTIPLIED_BIT_KHR is equivalent to DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR, except the source alpha values are assumed to be premultiplied into the source image’s other color channels.VkDisplayPlaneAlphaFlagsKHR, VkDisplaySurfaceCreateInfoKHR
public static final int VK_DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR
DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR specifies that the source image will be treated as opaque.DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR specifies that a global alpha value must be specified that will be applied to all pixels in the source image.DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR specifies that the alpha value will be determined by the alpha channel of the source image’s pixels. If the source format contains no alpha values, no blending will be applied. The source alpha values are not premultiplied into the source image’s other color channels.DISPLAY_PLANE_ALPHA_PER_PIXEL_PREMULTIPLIED_BIT_KHR is equivalent to DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR, except the source alpha values are assumed to be premultiplied into the source image’s other color channels.VkDisplayPlaneAlphaFlagsKHR, VkDisplaySurfaceCreateInfoKHR
public static final int VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR
DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR specifies that the source image will be treated as opaque.DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR specifies that a global alpha value must be specified that will be applied to all pixels in the source image.DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR specifies that the alpha value will be determined by the alpha channel of the source image’s pixels. If the source format contains no alpha values, no blending will be applied. The source alpha values are not premultiplied into the source image’s other color channels.DISPLAY_PLANE_ALPHA_PER_PIXEL_PREMULTIPLIED_BIT_KHR is equivalent to DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR, except the source alpha values are assumed to be premultiplied into the source image’s other color channels.VkDisplayPlaneAlphaFlagsKHR, VkDisplaySurfaceCreateInfoKHR
public static final int VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_PREMULTIPLIED_BIT_KHR
DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR specifies that the source image will be treated as opaque.DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR specifies that a global alpha value must be specified that will be applied to all pixels in the source image.DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR specifies that the alpha value will be determined by the alpha channel of the source image’s pixels. If the source format contains no alpha values, no blending will be applied. The source alpha values are not premultiplied into the source image’s other color channels.DISPLAY_PLANE_ALPHA_PER_PIXEL_PREMULTIPLIED_BIT_KHR is equivalent to DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR, except the source alpha values are assumed to be premultiplied into the source image’s other color channels.VkDisplayPlaneAlphaFlagsKHR, VkDisplaySurfaceCreateInfoKHR
public static int nvkGetPhysicalDeviceDisplayPropertiesKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long pPropertyCount,
long pProperties)
GetPhysicalDeviceDisplayPropertiesKHRpPropertyCount - a pointer to an integer related to the number of display devices available or queried, as described below.public static int vkGetPhysicalDeviceDisplayPropertiesKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
java.nio.IntBuffer pPropertyCount,
@Nullable
VkDisplayPropertiesKHR.Buffer pProperties)
Various functions are provided for enumerating the available display devices present on a Vulkan physical device. To query information about the available displays, call:
VkResult vkGetPhysicalDeviceDisplayPropertiesKHR(
VkPhysicalDevice physicalDevice,
uint32_t* pPropertyCount,
VkDisplayPropertiesKHR* pProperties);
If pProperties is NULL, then the number of display devices available for physicalDevice is returned in pPropertyCount. Otherwise, pPropertyCount must point to a variable set by the user to the number of elements in the pProperties array, and on return the variable is overwritten with the number of structures actually written to pProperties. If the value of pPropertyCount is less than the number of display devices for physicalDevice, at most pPropertyCount structures will be written. If pPropertyCount is smaller than the number of display devices available for physicalDevice, INCOMPLETE will be returned instead of SUCCESS to indicate that not all the available values were returned.
physicalDevice must be a valid VkPhysicalDevice handlepPropertyCount must be a valid pointer to a uint32_t valuepPropertyCount is not 0, and pProperties is not NULL, pProperties must be a valid pointer to an array of pPropertyCount VkDisplayPropertiesKHR structuresphysicalDevice - a physical device.pPropertyCount - a pointer to an integer related to the number of display devices available or queried, as described below.pProperties - either NULL or a pointer to an array of VkDisplayPropertiesKHR structures.public static int nvkGetPhysicalDeviceDisplayPlanePropertiesKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long pPropertyCount,
long pProperties)
GetPhysicalDeviceDisplayPlanePropertiesKHRpPropertyCount - a pointer to an integer related to the number of display planes available or queried, as described below.public static int vkGetPhysicalDeviceDisplayPlanePropertiesKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
java.nio.IntBuffer pPropertyCount,
@Nullable
VkDisplayPlanePropertiesKHR.Buffer pProperties)
Images are presented to individual planes on a display. Devices must support at least one plane on each display. Planes can be stacked and blended to composite multiple images on one display. Devices may support only a fixed stacking order and fixed mapping between planes and displays, or they may allow arbitrary application specified stacking orders and mappings between planes and displays. To query the properties of device display planes, call:
VkResult vkGetPhysicalDeviceDisplayPlanePropertiesKHR(
VkPhysicalDevice physicalDevice,
uint32_t* pPropertyCount,
VkDisplayPlanePropertiesKHR* pProperties);
If pProperties is NULL, then the number of display planes available for physicalDevice is returned in pPropertyCount. Otherwise, pPropertyCount must point to a variable set by the user to the number of elements in the pProperties array, and on return the variable is overwritten with the number of structures actually written to pProperties. If the value of pPropertyCount is less than the number of display planes for physicalDevice, at most pPropertyCount structures will be written.
physicalDevice must be a valid VkPhysicalDevice handlepPropertyCount must be a valid pointer to a uint32_t valuepPropertyCount is not 0, and pProperties is not NULL, pProperties must be a valid pointer to an array of pPropertyCount VkDisplayPlanePropertiesKHR structuresphysicalDevice - a physical device.pPropertyCount - a pointer to an integer related to the number of display planes available or queried, as described below.pProperties - either NULL or a pointer to an array of VkDisplayPlanePropertiesKHR structures.public static int nvkGetDisplayPlaneSupportedDisplaysKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
int planeIndex,
long pDisplayCount,
long pDisplays)
GetDisplayPlaneSupportedDisplaysKHRpDisplayCount - a pointer to an integer related to the number of displays available or queried, as described below.public static int vkGetDisplayPlaneSupportedDisplaysKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
int planeIndex,
java.nio.IntBuffer pDisplayCount,
@Nullable
java.nio.LongBuffer pDisplays)
To determine which displays a plane is usable with, call
VkResult vkGetDisplayPlaneSupportedDisplaysKHR(
VkPhysicalDevice physicalDevice,
uint32_t planeIndex,
uint32_t* pDisplayCount,
VkDisplayKHR* pDisplays);
If pDisplays is NULL, then the number of displays usable with the specified planeIndex for physicalDevice is returned in pDisplayCount. Otherwise, pDisplayCount must point to a variable set by the user to the number of elements in the pDisplays array, and on return the variable is overwritten with the number of handles actually written to pDisplays. If the value of pDisplayCount is less than the number of display planes for physicalDevice, at most pDisplayCount handles will be written. If pDisplayCount is smaller than the number of displays usable with the specified planeIndex for physicalDevice, INCOMPLETE will be returned instead of SUCCESS to indicate that not all the available values were returned.
planeIndex must be less than the number of display planes supported by the device as determined by calling vkGetPhysicalDeviceDisplayPlanePropertiesKHRphysicalDevice must be a valid VkPhysicalDevice handlepDisplayCount must be a valid pointer to a uint32_t valuepDisplayCount is not 0, and pDisplays is not NULL, pDisplays must be a valid pointer to an array of pDisplayCount VkDisplayKHR handlesphysicalDevice - a physical device.planeIndex - the plane which the application wishes to use, and must be in the range [0, physical device plane count - 1].pDisplayCount - a pointer to an integer related to the number of displays available or queried, as described below.pDisplays - either NULL or a pointer to an array of VkDisplayKHR handles.public static int nvkGetDisplayModePropertiesKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long display,
long pPropertyCount,
long pProperties)
GetDisplayModePropertiesKHRpPropertyCount - a pointer to an integer related to the number of display modes available or queried, as described below.public static int vkGetDisplayModePropertiesKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long display,
java.nio.IntBuffer pPropertyCount,
@Nullable
VkDisplayModePropertiesKHR.Buffer pProperties)
Each display has one or more supported modes associated with it by default. These built-in modes are queried by calling:
VkResult vkGetDisplayModePropertiesKHR(
VkPhysicalDevice physicalDevice,
VkDisplayKHR display,
uint32_t* pPropertyCount,
VkDisplayModePropertiesKHR* pProperties);
If pProperties is NULL, then the number of display modes available on the specified display for physicalDevice is returned in pPropertyCount. Otherwise, pPropertyCount must point to a variable set by the user to the number of elements in the pProperties array, and on return the variable is overwritten with the number of structures actually written to pProperties. If the value of pPropertyCount is less than the number of display modes for physicalDevice, at most pPropertyCount structures will be written. If pPropertyCount is smaller than the number of display modes available on the specified display for physicalDevice, INCOMPLETE will be returned instead of SUCCESS to indicate that not all the available values were returned.
physicalDevice must be a valid VkPhysicalDevice handledisplay must be a valid VkDisplayKHR handlepPropertyCount must be a valid pointer to a uint32_t valuepPropertyCount is not 0, and pProperties is not NULL, pProperties must be a valid pointer to an array of pPropertyCount VkDisplayModePropertiesKHR structuresphysicalDevice - the physical device associated with display.display - the display to query.pPropertyCount - a pointer to an integer related to the number of display modes available or queried, as described below.pProperties - either NULL or a pointer to an array of VkDisplayModePropertiesKHR structures.public static int nvkCreateDisplayModeKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long display,
long pCreateInfo,
long pAllocator,
long pMode)
CreateDisplayModeKHRpublic static int vkCreateDisplayModeKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long display,
VkDisplayModeCreateInfoKHR pCreateInfo,
@Nullable
VkAllocationCallbacks pAllocator,
java.nio.LongBuffer pMode)
Additional modes may also be created by calling:
VkResult vkCreateDisplayModeKHR(
VkPhysicalDevice physicalDevice,
VkDisplayKHR display,
const VkDisplayModeCreateInfoKHR* pCreateInfo,
const VkAllocationCallbacks* pAllocator,
VkDisplayModeKHR* pMode);
physicalDevice must be a valid VkPhysicalDevice handledisplay must be a valid VkDisplayKHR handlepCreateInfo must be a valid pointer to a valid VkDisplayModeCreateInfoKHR structurepAllocator is not NULL, pAllocator must be a valid pointer to a valid VkAllocationCallbacks structurepMode must be a valid pointer to a VkDisplayModeKHR handledisplay must be externally synchronizedphysicalDevice - the physical device associated with display.display - the display to create an additional mode for.pCreateInfo - a VkDisplayModeCreateInfoKHR structure describing the new mode to create.pAllocator - the allocator used for host memory allocated for the display mode object when there is no more specific allocator available (see Memory Allocation).pMode - returns the handle of the mode created.public static int nvkGetDisplayPlaneCapabilitiesKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long mode,
int planeIndex,
long pCapabilities)
GetDisplayPlaneCapabilitiesKHRpublic static int vkGetDisplayPlaneCapabilitiesKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long mode,
int planeIndex,
VkDisplayPlaneCapabilitiesKHR pCapabilities)
Applications that wish to present directly to a display must select which layer, or "plane" of the display they wish to target, and a mode to use with the display. Each display supports at least one plane. The capabilities of a given mode and plane combination are determined by calling:
VkResult vkGetDisplayPlaneCapabilitiesKHR(
VkPhysicalDevice physicalDevice,
VkDisplayModeKHR mode,
uint32_t planeIndex,
VkDisplayPlaneCapabilitiesKHR* pCapabilities);
physicalDevice must be a valid VkPhysicalDevice handlemode must be a valid VkDisplayModeKHR handlepCapabilities must be a valid pointer to a VkDisplayPlaneCapabilitiesKHR structuremode must be externally synchronizedphysicalDevice - the physical device associated with displaymode - the display mode the application intends to program when using the specified plane. Note this parameter also implicitly specifies a display.planeIndex - the plane which the application intends to use with the display, and is less than the number of display planes supported by the device.pCapabilities - a pointer to a VkDisplayPlaneCapabilitiesKHR structure in which the capabilities are returned.public static int nvkCreateDisplayPlaneSurfaceKHR(org.lwjgl.vulkan.VkInstance instance,
long pCreateInfo,
long pAllocator,
long pSurface)
CreateDisplayPlaneSurfaceKHRpublic static int vkCreateDisplayPlaneSurfaceKHR(org.lwjgl.vulkan.VkInstance instance,
VkDisplaySurfaceCreateInfoKHR pCreateInfo,
@Nullable
VkAllocationCallbacks pAllocator,
java.nio.LongBuffer pSurface)
VkSurfaceKHR structure representing a display plane and mode.
A complete display configuration includes a mode, one or more display planes and any parameters describing their behavior, and parameters describing some aspects of the images associated with those planes. Display surfaces describe the configuration of a single plane within a complete display configuration. To create a VkSurfaceKHR structure for a display surface, call:
VkResult vkCreateDisplayPlaneSurfaceKHR(
VkInstance instance,
const VkDisplaySurfaceCreateInfoKHR* pCreateInfo,
const VkAllocationCallbacks* pAllocator,
VkSurfaceKHR* pSurface);
instance must be a valid VkInstance handlepCreateInfo must be a valid pointer to a valid VkDisplaySurfaceCreateInfoKHR structurepAllocator is not NULL, pAllocator must be a valid pointer to a valid VkAllocationCallbacks structurepSurface must be a valid pointer to a VkSurfaceKHR handleinstance - the instance corresponding to the physical device the targeted display is on.pCreateInfo - a pointer to a VkDisplaySurfaceCreateInfoKHR structure specifying which mode, plane, and other parameters to use, as described below.pAllocator - the allocator used for host memory allocated for the surface object when there is no more specific allocator available (see Memory Allocation).pSurface - a pointer to a VkSurfaceKHR handle in which the created surface is returned.public static int vkGetPhysicalDeviceDisplayPropertiesKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
int[] pPropertyCount,
@Nullable
VkDisplayPropertiesKHR.Buffer pProperties)
GetPhysicalDeviceDisplayPropertiesKHRpublic static int vkGetPhysicalDeviceDisplayPlanePropertiesKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
int[] pPropertyCount,
@Nullable
VkDisplayPlanePropertiesKHR.Buffer pProperties)
GetPhysicalDeviceDisplayPlanePropertiesKHRpublic static int vkGetDisplayPlaneSupportedDisplaysKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
int planeIndex,
int[] pDisplayCount,
@Nullable
long[] pDisplays)
GetDisplayPlaneSupportedDisplaysKHRpublic static int vkGetDisplayModePropertiesKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long display,
int[] pPropertyCount,
@Nullable
VkDisplayModePropertiesKHR.Buffer pProperties)
GetDisplayModePropertiesKHRpublic static int vkCreateDisplayModeKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long display,
VkDisplayModeCreateInfoKHR pCreateInfo,
@Nullable
VkAllocationCallbacks pAllocator,
long[] pMode)
CreateDisplayModeKHRpublic static int vkCreateDisplayPlaneSurfaceKHR(org.lwjgl.vulkan.VkInstance instance,
VkDisplaySurfaceCreateInfoKHR pCreateInfo,
@Nullable
VkAllocationCallbacks pAllocator,
long[] pSurface)
CreateDisplayPlaneSurfaceKHRCopyright LWJGL. All Rights Reserved. License terms.