public class VkDisplayNativeHdrSurfaceCapabilitiesAMD
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.localDimmingSupport – specifies whether the surface supports local dimming. If this is TRUE, VkSwapchainDisplayNativeHdrCreateInfoAMD can be used to explicitly enable or disable local dimming for the surface. Local dimming may also be overriden by SetLocalDimmingAMD during the lifetime of the swapchain.
struct VkDisplayNativeHdrSurfaceCapabilitiesAMD {
VkStructureType sType;
void * pNext;
VkBool32 localDimmingSupport;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer
An array of
VkDisplayNativeHdrSurfaceCapabilitiesAMD structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
LOCALDIMMINGSUPPORT
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkDisplayNativeHdrSurfaceCapabilitiesAMD(java.nio.ByteBuffer container)
Creates a
VkDisplayNativeHdrSurfaceCapabilitiesAMD instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkDisplayNativeHdrSurfaceCapabilitiesAMD |
calloc()
Returns a new
VkDisplayNativeHdrSurfaceCapabilitiesAMD instance allocated with memCalloc. |
static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer |
calloc(int capacity)
Returns a new
VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer instance allocated with memCalloc. |
static VkDisplayNativeHdrSurfaceCapabilitiesAMD |
callocStack()
Returns a new
VkDisplayNativeHdrSurfaceCapabilitiesAMD instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer |
callocStack(int capacity)
Returns a new
VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDisplayNativeHdrSurfaceCapabilitiesAMD |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDisplayNativeHdrSurfaceCapabilitiesAMD instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDisplayNativeHdrSurfaceCapabilitiesAMD |
create()
Returns a new
VkDisplayNativeHdrSurfaceCapabilitiesAMD instance allocated with BufferUtils. |
static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer |
create(int capacity)
Returns a new
VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer instance allocated with BufferUtils. |
static VkDisplayNativeHdrSurfaceCapabilitiesAMD |
create(long address)
Returns a new
VkDisplayNativeHdrSurfaceCapabilitiesAMD instance for the specified memory address. |
static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer |
create(long address,
int capacity)
Create a
VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer instance at the specified memory. |
static VkDisplayNativeHdrSurfaceCapabilitiesAMD |
createSafe(long address)
|
static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer |
createSafe(long address,
int capacity)
|
boolean |
localDimmingSupport()
Returns the value of the
localDimmingSupport field. |
static VkDisplayNativeHdrSurfaceCapabilitiesAMD |
malloc()
Returns a new
VkDisplayNativeHdrSurfaceCapabilitiesAMD instance allocated with memAlloc. |
static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer |
malloc(int capacity)
Returns a new
VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer instance allocated with memAlloc. |
static VkDisplayNativeHdrSurfaceCapabilitiesAMD |
mallocStack()
Returns a new
VkDisplayNativeHdrSurfaceCapabilitiesAMD instance allocated on the thread-local MemoryStack. |
static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer |
mallocStack(int capacity)
Returns a new
VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer instance allocated on the thread-local MemoryStack. |
static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer instance allocated on the specified MemoryStack. |
static VkDisplayNativeHdrSurfaceCapabilitiesAMD |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDisplayNativeHdrSurfaceCapabilitiesAMD instance allocated on the specified MemoryStack. |
static int |
nlocalDimmingSupport(long struct)
Unsafe version of
localDimmingSupport(). |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkDisplayNativeHdrSurfaceCapabilitiesAMD |
pNext(long value)
Sets the specified value to the
pNext field. |
VkDisplayNativeHdrSurfaceCapabilitiesAMD |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkDisplayNativeHdrSurfaceCapabilitiesAMD |
set(VkDisplayNativeHdrSurfaceCapabilitiesAMD src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkDisplayNativeHdrSurfaceCapabilitiesAMD |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int LOCALDIMMINGSUPPORT
public VkDisplayNativeHdrSurfaceCapabilitiesAMD(java.nio.ByteBuffer container)
VkDisplayNativeHdrSurfaceCapabilitiesAMD 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 int sType()
sType field.public long pNext()
pNext field.public boolean localDimmingSupport()
localDimmingSupport field.public VkDisplayNativeHdrSurfaceCapabilitiesAMD sType(int value)
sType field.public VkDisplayNativeHdrSurfaceCapabilitiesAMD pNext(long value)
pNext field.public VkDisplayNativeHdrSurfaceCapabilitiesAMD set(int sType, long pNext)
public VkDisplayNativeHdrSurfaceCapabilitiesAMD set(VkDisplayNativeHdrSurfaceCapabilitiesAMD src)
src - the source structpublic static VkDisplayNativeHdrSurfaceCapabilitiesAMD malloc()
VkDisplayNativeHdrSurfaceCapabilitiesAMD instance allocated with memAlloc. The instance must be explicitly freed.public static VkDisplayNativeHdrSurfaceCapabilitiesAMD calloc()
VkDisplayNativeHdrSurfaceCapabilitiesAMD instance allocated with memCalloc. The instance must be explicitly freed.public static VkDisplayNativeHdrSurfaceCapabilitiesAMD create()
VkDisplayNativeHdrSurfaceCapabilitiesAMD instance allocated with BufferUtils.public static VkDisplayNativeHdrSurfaceCapabilitiesAMD create(long address)
VkDisplayNativeHdrSurfaceCapabilitiesAMD instance for the specified memory address.@Nullable public static VkDisplayNativeHdrSurfaceCapabilitiesAMD createSafe(long address)
public static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer malloc(int capacity)
VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer calloc(int capacity)
VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer create(int capacity)
VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer create(long address, int capacity)
VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer createSafe(long address, int capacity)
public static VkDisplayNativeHdrSurfaceCapabilitiesAMD mallocStack()
VkDisplayNativeHdrSurfaceCapabilitiesAMD instance allocated on the thread-local MemoryStack.public static VkDisplayNativeHdrSurfaceCapabilitiesAMD callocStack()
VkDisplayNativeHdrSurfaceCapabilitiesAMD instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkDisplayNativeHdrSurfaceCapabilitiesAMD mallocStack(org.lwjgl.system.MemoryStack stack)
VkDisplayNativeHdrSurfaceCapabilitiesAMD instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkDisplayNativeHdrSurfaceCapabilitiesAMD callocStack(org.lwjgl.system.MemoryStack stack)
VkDisplayNativeHdrSurfaceCapabilitiesAMD instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer mallocStack(int capacity)
VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer callocStack(int capacity)
VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDisplayNativeHdrSurfaceCapabilitiesAMD.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 int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int nlocalDimmingSupport(long struct)
localDimmingSupport().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.Copyright LWJGL. All Rights Reserved. License terms.