public class VkDisplayPlanePropertiesKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
currentDisplay – the handle of the display the plane is currently associated with. If the plane is not currently attached to any displays, this will be NULL_HANDLE.currentStackIndex – the current z-order of the plane. This will be between 0 and the value returned by vkGetPhysicalDeviceDisplayPlanePropertiesKHR in pPropertyCount.
struct VkDisplayPlanePropertiesKHR {
VkDisplayKHR currentDisplay;
uint32_t currentStackIndex;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkDisplayPlanePropertiesKHR.Buffer
An array of
VkDisplayPlanePropertiesKHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
CURRENTDISPLAY
The struct member offsets.
|
static int |
CURRENTSTACKINDEX
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
| Constructor and Description |
|---|
VkDisplayPlanePropertiesKHR(java.nio.ByteBuffer container)
Creates a
VkDisplayPlanePropertiesKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkDisplayPlanePropertiesKHR |
calloc()
Returns a new
VkDisplayPlanePropertiesKHR instance allocated with memCalloc. |
static VkDisplayPlanePropertiesKHR.Buffer |
calloc(int capacity)
Returns a new
VkDisplayPlanePropertiesKHR.Buffer instance allocated with memCalloc. |
static VkDisplayPlanePropertiesKHR |
callocStack()
Returns a new
VkDisplayPlanePropertiesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDisplayPlanePropertiesKHR.Buffer |
callocStack(int capacity)
Returns a new
VkDisplayPlanePropertiesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDisplayPlanePropertiesKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDisplayPlanePropertiesKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDisplayPlanePropertiesKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDisplayPlanePropertiesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDisplayPlanePropertiesKHR |
create()
Returns a new
VkDisplayPlanePropertiesKHR instance allocated with BufferUtils. |
static VkDisplayPlanePropertiesKHR.Buffer |
create(int capacity)
Returns a new
VkDisplayPlanePropertiesKHR.Buffer instance allocated with BufferUtils. |
static VkDisplayPlanePropertiesKHR |
create(long address)
Returns a new
VkDisplayPlanePropertiesKHR instance for the specified memory address. |
static VkDisplayPlanePropertiesKHR.Buffer |
create(long address,
int capacity)
Create a
VkDisplayPlanePropertiesKHR.Buffer instance at the specified memory. |
static VkDisplayPlanePropertiesKHR |
createSafe(long address)
|
static VkDisplayPlanePropertiesKHR.Buffer |
createSafe(long address,
int capacity)
|
long |
currentDisplay()
Returns the value of the
currentDisplay field. |
int |
currentStackIndex()
Returns the value of the
currentStackIndex field. |
static VkDisplayPlanePropertiesKHR |
malloc()
Returns a new
VkDisplayPlanePropertiesKHR instance allocated with memAlloc. |
static VkDisplayPlanePropertiesKHR.Buffer |
malloc(int capacity)
Returns a new
VkDisplayPlanePropertiesKHR.Buffer instance allocated with memAlloc. |
static VkDisplayPlanePropertiesKHR |
mallocStack()
Returns a new
VkDisplayPlanePropertiesKHR instance allocated on the thread-local MemoryStack. |
static VkDisplayPlanePropertiesKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkDisplayPlanePropertiesKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkDisplayPlanePropertiesKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDisplayPlanePropertiesKHR.Buffer instance allocated on the specified MemoryStack. |
static VkDisplayPlanePropertiesKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDisplayPlanePropertiesKHR instance allocated on the specified MemoryStack. |
static long |
ncurrentDisplay(long struct)
Unsafe version of
currentDisplay(). |
static int |
ncurrentStackIndex(long struct)
Unsafe version of
currentStackIndex(). |
int |
sizeof() |
public static final int SIZEOF
public static final int ALIGNOF
public static final int CURRENTDISPLAY
public static final int CURRENTSTACKINDEX
public VkDisplayPlanePropertiesKHR(java.nio.ByteBuffer container)
VkDisplayPlanePropertiesKHR 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 long currentDisplay()
currentDisplay field.public int currentStackIndex()
currentStackIndex field.public static VkDisplayPlanePropertiesKHR malloc()
VkDisplayPlanePropertiesKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkDisplayPlanePropertiesKHR calloc()
VkDisplayPlanePropertiesKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkDisplayPlanePropertiesKHR create()
VkDisplayPlanePropertiesKHR instance allocated with BufferUtils.public static VkDisplayPlanePropertiesKHR create(long address)
VkDisplayPlanePropertiesKHR instance for the specified memory address.@Nullable public static VkDisplayPlanePropertiesKHR createSafe(long address)
public static VkDisplayPlanePropertiesKHR.Buffer malloc(int capacity)
VkDisplayPlanePropertiesKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDisplayPlanePropertiesKHR.Buffer calloc(int capacity)
VkDisplayPlanePropertiesKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDisplayPlanePropertiesKHR.Buffer create(int capacity)
VkDisplayPlanePropertiesKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkDisplayPlanePropertiesKHR.Buffer create(long address, int capacity)
VkDisplayPlanePropertiesKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkDisplayPlanePropertiesKHR.Buffer createSafe(long address, int capacity)
public static VkDisplayPlanePropertiesKHR mallocStack()
VkDisplayPlanePropertiesKHR instance allocated on the thread-local MemoryStack.public static VkDisplayPlanePropertiesKHR callocStack()
VkDisplayPlanePropertiesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkDisplayPlanePropertiesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkDisplayPlanePropertiesKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkDisplayPlanePropertiesKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkDisplayPlanePropertiesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkDisplayPlanePropertiesKHR.Buffer mallocStack(int capacity)
VkDisplayPlanePropertiesKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkDisplayPlanePropertiesKHR.Buffer callocStack(int capacity)
VkDisplayPlanePropertiesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkDisplayPlanePropertiesKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDisplayPlanePropertiesKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkDisplayPlanePropertiesKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDisplayPlanePropertiesKHR.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 long ncurrentDisplay(long struct)
currentDisplay().public static int ncurrentStackIndex(long struct)
currentStackIndex().Copyright LWJGL. All Rights Reserved. License terms.