VkDisplayProperties2KHR, VkExtent2D, GetPhysicalDeviceDisplayPropertiesKHR
struct VkDisplayPropertiesKHR {
VkDisplayKHR display;
char const * displayName;
VkExtent2D physicalDimensions;
VkExtent2D physicalResolution;
VkSurfaceTransformFlagsKHR supportedTransforms;
VkBool32 planeReorderPossible;
VkBool32 persistentContent;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkDisplayPropertiesKHR.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DISPLAY
The struct member offsets. |
| public static final int | DISPLAYNAME
The struct member offsets. |
| public static final int | PERSISTENTCONTENT
The struct member offsets. |
| public static final int | PHYSICALDIMENSIONS
The struct member offsets. |
| public static final int | PHYSICALRESOLUTION
The struct member offsets. |
| public static final int | PLANEREORDERPOSSIBLE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SUPPORTEDTRANSFORMS
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkDisplayPropertiesKHR(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkDisplayPropertiesKHR | |
| public static VkDisplayPropertiesKHR. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkDisplayPropertiesKHR | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDisplayPropertiesKHR. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkDisplayPropertiesKHR | |
| public static VkDisplayPropertiesKHR | |
| public static VkDisplayPropertiesKHR. | |
| public static VkDisplayPropertiesKHR. | |
| protected VkDisplayPropertiesKHR | 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 VkDisplayPropertiesKHR | |
| public static VkDisplayPropertiesKHR | |
| public static VkDisplayPropertiesKHR. | create(int
the buffer capacity capacity)Returns a new |
| public static VkDisplayPropertiesKHR. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkDisplayPropertiesKHR | |
| public static VkDisplayPropertiesKHR. | |
| public long | |
| public ByteBuffer | displayName()
|
| public String | displayNameString()
|
| public static VkDisplayPropertiesKHR | |
| public static VkDisplayPropertiesKHR. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkDisplayPropertiesKHR | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDisplayPropertiesKHR. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkDisplayPropertiesKHR | |
| public static VkDisplayPropertiesKHR | |
| public static VkDisplayPropertiesKHR. | |
| public static VkDisplayPropertiesKHR. | |
| public static long | |
| public static ByteBuffer | |
| public static String | |
| public static int | |
| public static VkExtent2D | |
| public static VkExtent2D | |
| public static int | |
| public static int | |
| public boolean | |
| public VkExtent2D | physicalDimensions()
describes the physical width and height of the visible portion of the display, in millimeters. |
| public VkExtent2D | |
| public boolean | |
| public int | |
| public int | supportedTransforms()
a bitmask of |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| DISPLAY | back to summary |
|---|---|
| public static final int DISPLAY The struct member offsets. | |
| DISPLAYNAME | back to summary |
|---|---|
| public static final int DISPLAYNAME The struct member offsets. | |
| PERSISTENTCONTENT | back to summary |
|---|---|
| public static final int PERSISTENTCONTENT The struct member offsets. | |
| PHYSICALDIMENSIONS | back to summary |
|---|---|
| public static final int PHYSICALDIMENSIONS The struct member offsets. | |
| PHYSICALRESOLUTION | back to summary |
|---|---|
| public static final int PHYSICALRESOLUTION The struct member offsets. | |
| PLANEREORDERPOSSIBLE | back to summary |
|---|---|
| public static final int PLANEREORDERPOSSIBLE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| SUPPORTEDTRANSFORMS | back to summary |
|---|---|
| public static final int SUPPORTEDTRANSFORMS The struct member offsets. | |
| VkDisplayPropertiesKHR | back to summary |
|---|---|
| protected VkDisplayPropertiesKHR(long address, ByteBuffer container) | |
| VkDisplayPropertiesKHR | back to summary |
|---|---|
| public VkDisplayPropertiesKHR(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkDisplayPropertiesKHR calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkDisplayPropertiesKHR. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDisplayPropertiesKHR calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDisplayPropertiesKHR. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkDisplayPropertiesKHR callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkDisplayPropertiesKHR callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkDisplayPropertiesKHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkDisplayPropertiesKHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkDisplayPropertiesKHR create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkDisplayPropertiesKHR create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkDisplayPropertiesKHR create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkDisplayPropertiesKHR. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkDisplayPropertiesKHR. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkDisplayPropertiesKHR createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkDisplayPropertiesKHR. Like
| |
| display | back to summary |
|---|---|
| public long display() a handle that is used to refer to the display described here. This handle will be valid for the lifetime of the Vulkan instance.
| |
| displayName | back to summary |
|---|---|
| public ByteBuffer displayName()
| |
| displayNameString | back to summary |
|---|---|
| public String displayNameString()
| |
| malloc | back to summary |
|---|---|
| public static VkDisplayPropertiesKHR malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkDisplayPropertiesKHR. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDisplayPropertiesKHR malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDisplayPropertiesKHR. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkDisplayPropertiesKHR mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkDisplayPropertiesKHR mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkDisplayPropertiesKHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkDisplayPropertiesKHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| ndisplay | back to summary |
|---|---|
| public static long ndisplay(long struct) Unsafe version of | |
| ndisplayName | back to summary |
|---|---|
| public static ByteBuffer ndisplayName(long struct) Unsafe version of | |
| ndisplayNameString | back to summary |
|---|---|
| public static String ndisplayNameString(long struct) Unsafe version of | |
| npersistentContent | back to summary |
|---|---|
| public static int npersistentContent(long struct) Unsafe version of | |
| nphysicalDimensions | back to summary |
|---|---|
| public static VkExtent2D nphysicalDimensions(long struct) Unsafe version of | |
| nphysicalResolution | back to summary |
|---|---|
| public static VkExtent2D nphysicalResolution(long struct) Unsafe version of | |
| nplaneReorderPossible | back to summary |
|---|---|
| public static int nplaneReorderPossible(long struct) Unsafe version of | |
| nsupportedTransforms | back to summary |
|---|---|
| public static int nsupportedTransforms(long struct) Unsafe version of | |
| persistentContent | back to summary |
|---|---|
| public boolean persistentContent() tells whether the display supports self-refresh/internal buffering. If this is true, the application can submit persistent present operations on swapchains created against this display. NotePersistent presents may have higher latency, and may use less power when the screen content is updated infrequently, or when only a portion of the screen needs to be updated in most frames.
| |
| physicalDimensions | back to summary |
|---|---|
| public VkExtent2D physicalDimensions() describes the physical width and height of the visible portion of the display, in millimeters. | |
| physicalResolution | back to summary |
|---|---|
| public VkExtent2D physicalResolution() describes the physical, native, or preferred resolution of the display. NoteFor devices which have no natural value to return here, implementations should return the maximum resolution supported. | |
| planeReorderPossible | back to summary |
|---|---|
| public boolean planeReorderPossible() tells whether the planes on this display can have their z order changed. If this is
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| supportedTransforms | back to summary |
|---|---|
| public int supportedTransforms() a bitmask of
| |
VkDisplayPropertiesKHR structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkDisplayPropertiesKHR |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public ByteBuffer | Returns: aByteBuffer view of the null-terminated string pointed to by the VkDisplayPropertiesKHR#displayName field.
|
| public String | Returns: the null-terminated string pointed to by theVkDisplayPropertiesKHR#displayName field.
|
| protected VkDisplayPropertiesKHR | |
| public boolean | |
| public VkExtent2D | |
| public VkExtent2D | |
| public boolean | |
| protected VkDisplayPropertiesKHR. | |
| public int |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkDisplayPropertiesKHR 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) | |
| display | back to summary |
|---|---|
public long display()
| |
| displayName | back to summary |
|---|---|
public ByteBuffer displayName()
| |
| displayNameString | back to summary |
|---|---|
public String displayNameString()
| |
| getElementFactory | back to summary |
|---|---|
| protected VkDisplayPropertiesKHR getElementFactory() Implements abstract org.
| |
| persistentContent | back to summary |
|---|---|
public boolean persistentContent()
| |
| physicalDimensions | back to summary |
|---|---|
public VkExtent2D physicalDimensions()
| |
| physicalResolution | back to summary |
|---|---|
public VkExtent2D physicalResolution()
| |
| planeReorderPossible | back to summary |
|---|---|
public boolean planeReorderPossible()
| |
| self | back to summary |
|---|---|
| protected VkDisplayPropertiesKHR. Implements abstract org.
| |
| supportedTransforms | back to summary |
|---|---|
public int supportedTransforms()
| |