For example, a 60Hz display mode would report a refreshRate of 60,000.
width member of visibleRegion must be greater than 0height member of visibleRegion must be greater than 0refreshRate must be greater than 0VkDisplayModeCreateInfoKHR, VkDisplayModePropertiesKHR, VkExtent2D
struct VkDisplayModeParametersKHR {
VkExtent2D visibleRegion;
uint32_t refreshRate;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkDisplayModeParametersKHR.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | REFRESHRATE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | VISIBLEREGION
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkDisplayModeParametersKHR(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkDisplayModeParametersKHR | |
| public static VkDisplayModeParametersKHR. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkDisplayModeParametersKHR | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDisplayModeParametersKHR. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkDisplayModeParametersKHR | |
| public static VkDisplayModeParametersKHR | |
| public static VkDisplayModeParametersKHR. | |
| public static VkDisplayModeParametersKHR. | |
| protected VkDisplayModeParametersKHR | 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 VkDisplayModeParametersKHR | |
| public static VkDisplayModeParametersKHR | create(long address)
Returns a new |
| public static VkDisplayModeParametersKHR. | create(int
the buffer capacity capacity)Returns a new |
| public static VkDisplayModeParametersKHR. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkDisplayModeParametersKHR | |
| public static VkDisplayModeParametersKHR. | |
| public static VkDisplayModeParametersKHR | |
| public static VkDisplayModeParametersKHR. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkDisplayModeParametersKHR | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDisplayModeParametersKHR. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkDisplayModeParametersKHR | |
| public static VkDisplayModeParametersKHR | |
| public static VkDisplayModeParametersKHR. | |
| public static VkDisplayModeParametersKHR. | |
| public static int | |
| public static void | |
| public static VkExtent2D | |
| public static void | |
| public int | refreshRate()
a |
| public VkDisplayModeParametersKHR | |
| public VkDisplayModeParametersKHR | |
| public VkDisplayModeParametersKHR | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public VkExtent2D | |
| public VkDisplayModeParametersKHR | |
| public VkDisplayModeParametersKHR | visibleRegion(Consumer<VkExtent2D> consumer)
Passes the |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| REFRESHRATE | back to summary |
|---|---|
| public static final int REFRESHRATE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| VISIBLEREGION | back to summary |
|---|---|
| public static final int VISIBLEREGION The struct member offsets. | |
| VkDisplayModeParametersKHR | back to summary |
|---|---|
| protected VkDisplayModeParametersKHR(long address, ByteBuffer container) | |
| VkDisplayModeParametersKHR | back to summary |
|---|---|
| public VkDisplayModeParametersKHR(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkDisplayModeParametersKHR calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkDisplayModeParametersKHR. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDisplayModeParametersKHR calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDisplayModeParametersKHR. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkDisplayModeParametersKHR callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkDisplayModeParametersKHR callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkDisplayModeParametersKHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkDisplayModeParametersKHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkDisplayModeParametersKHR create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkDisplayModeParametersKHR create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkDisplayModeParametersKHR create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkDisplayModeParametersKHR. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkDisplayModeParametersKHR. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkDisplayModeParametersKHR createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkDisplayModeParametersKHR. Like
| |
| malloc | back to summary |
|---|---|
| public static VkDisplayModeParametersKHR malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkDisplayModeParametersKHR. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDisplayModeParametersKHR malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDisplayModeParametersKHR. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkDisplayModeParametersKHR mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkDisplayModeParametersKHR mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkDisplayModeParametersKHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkDisplayModeParametersKHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nrefreshRate | back to summary |
|---|---|
| public static int nrefreshRate(long struct) Unsafe version of | |
| nrefreshRate | back to summary |
|---|---|
| public static void nrefreshRate(long struct, int value) Unsafe version of | |
| nvisibleRegion | back to summary |
|---|---|
| public static VkExtent2D nvisibleRegion(long struct) Unsafe version of | |
| nvisibleRegion | back to summary |
|---|---|
| public static void nvisibleRegion(long struct, VkExtent2D value) Unsafe version of | |
| refreshRate | back to summary |
|---|---|
| public int refreshRate() a
| |
| refreshRate | back to summary |
|---|---|
| public VkDisplayModeParametersKHR refreshRate(int value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkDisplayModeParametersKHR set(VkExtent2D visibleRegion, int refreshRate) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkDisplayModeParametersKHR set(VkDisplayModeParametersKHR src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| visibleRegion | back to summary |
|---|---|
| public VkExtent2D visibleRegion() the 2D extents of the visible region. | |
| visibleRegion | back to summary |
|---|---|
| public VkDisplayModeParametersKHR visibleRegion(VkExtent2D value) Copies the specified | |
| visibleRegion | back to summary |
|---|---|
| public VkDisplayModeParametersKHR visibleRegion(Consumer<VkExtent2D> consumer) Passes the | |
VkDisplayModeParametersKHR structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkDisplayModeParametersKHR |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected VkDisplayModeParametersKHR | |
| public int | |
| public VkDisplayModeParametersKHR. | |
| protected VkDisplayModeParametersKHR. | |
| public VkExtent2D | |
| public VkDisplayModeParametersKHR. | visibleRegion(VkExtent2D value)
Copies the specified |
| public VkDisplayModeParametersKHR. | visibleRegion(Consumer<VkExtent2D> consumer)
Passes the |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkDisplayModeParametersKHR 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) | |
| getElementFactory | back to summary |
|---|---|
| protected VkDisplayModeParametersKHR getElementFactory() Implements abstract org.
| |
| refreshRate | back to summary |
|---|---|
public int refreshRate()
| |
| refreshRate | back to summary |
|---|---|
| public VkDisplayModeParametersKHR. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkDisplayModeParametersKHR. Implements abstract org.
| |
| visibleRegion | back to summary |
|---|---|
public VkExtent2D visibleRegion()
| |
| visibleRegion | back to summary |
|---|---|
| public VkDisplayModeParametersKHR. Copies the specified | |
| visibleRegion | back to summary |
|---|---|
| public VkDisplayModeParametersKHR. Passes the | |