public class VkSwapchainDisplayNativeHdrCreateInfoAMD
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the pNext chain of VkSwapchainCreateInfoKHR does not include this structure, the default value for localDimmingEnable is TRUE, meaning local dimming is initially enabled for the swapchain.
localDimmingEnable to TRUE if VkDisplayNativeHdrSurfaceCapabilitiesAMD::localDimmingSupport is supported.sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.localDimmingEnable – specifies whether local dimming is enabled for the swapchain.
struct VkSwapchainDisplayNativeHdrCreateInfoAMD {
VkStructureType sType;
void const * pNext;
VkBool32 localDimmingEnable;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer
An array of
VkSwapchainDisplayNativeHdrCreateInfoAMD structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
LOCALDIMMINGENABLE
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 |
|---|
VkSwapchainDisplayNativeHdrCreateInfoAMD(java.nio.ByteBuffer container)
Creates a
VkSwapchainDisplayNativeHdrCreateInfoAMD instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkSwapchainDisplayNativeHdrCreateInfoAMD |
calloc()
Returns a new
VkSwapchainDisplayNativeHdrCreateInfoAMD instance allocated with memCalloc. |
static VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer |
calloc(int capacity)
Returns a new
VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer instance allocated with memCalloc. |
static VkSwapchainDisplayNativeHdrCreateInfoAMD |
callocStack()
Returns a new
VkSwapchainDisplayNativeHdrCreateInfoAMD instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer |
callocStack(int capacity)
Returns a new
VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkSwapchainDisplayNativeHdrCreateInfoAMD |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkSwapchainDisplayNativeHdrCreateInfoAMD instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkSwapchainDisplayNativeHdrCreateInfoAMD |
create()
Returns a new
VkSwapchainDisplayNativeHdrCreateInfoAMD instance allocated with BufferUtils. |
static VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer |
create(int capacity)
Returns a new
VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer instance allocated with BufferUtils. |
static VkSwapchainDisplayNativeHdrCreateInfoAMD |
create(long address)
Returns a new
VkSwapchainDisplayNativeHdrCreateInfoAMD instance for the specified memory address. |
static VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer |
create(long address,
int capacity)
Create a
VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer instance at the specified memory. |
static VkSwapchainDisplayNativeHdrCreateInfoAMD |
createSafe(long address)
|
static VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer |
createSafe(long address,
int capacity)
|
boolean |
localDimmingEnable()
Returns the value of the
localDimmingEnable field. |
VkSwapchainDisplayNativeHdrCreateInfoAMD |
localDimmingEnable(boolean value)
Sets the specified value to the
localDimmingEnable field. |
static VkSwapchainDisplayNativeHdrCreateInfoAMD |
malloc()
Returns a new
VkSwapchainDisplayNativeHdrCreateInfoAMD instance allocated with memAlloc. |
static VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer |
malloc(int capacity)
Returns a new
VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer instance allocated with memAlloc. |
static VkSwapchainDisplayNativeHdrCreateInfoAMD |
mallocStack()
Returns a new
VkSwapchainDisplayNativeHdrCreateInfoAMD instance allocated on the thread-local MemoryStack. |
static VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer |
mallocStack(int capacity)
Returns a new
VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer instance allocated on the thread-local MemoryStack. |
static VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer instance allocated on the specified MemoryStack. |
static VkSwapchainDisplayNativeHdrCreateInfoAMD |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkSwapchainDisplayNativeHdrCreateInfoAMD instance allocated on the specified MemoryStack. |
static int |
nlocalDimmingEnable(long struct)
Unsafe version of
localDimmingEnable(). |
static void |
nlocalDimmingEnable(long struct,
int value)
Unsafe version of
localDimmingEnable. |
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. |
VkSwapchainDisplayNativeHdrCreateInfoAMD |
pNext(long value)
Sets the specified value to the
pNext field. |
VkSwapchainDisplayNativeHdrCreateInfoAMD |
set(int sType,
long pNext,
boolean localDimmingEnable)
Initializes this struct with the specified values.
|
VkSwapchainDisplayNativeHdrCreateInfoAMD |
set(VkSwapchainDisplayNativeHdrCreateInfoAMD src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkSwapchainDisplayNativeHdrCreateInfoAMD |
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 LOCALDIMMINGENABLE
public VkSwapchainDisplayNativeHdrCreateInfoAMD(java.nio.ByteBuffer container)
VkSwapchainDisplayNativeHdrCreateInfoAMD 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 localDimmingEnable()
localDimmingEnable field.public VkSwapchainDisplayNativeHdrCreateInfoAMD sType(int value)
sType field.public VkSwapchainDisplayNativeHdrCreateInfoAMD pNext(long value)
pNext field.public VkSwapchainDisplayNativeHdrCreateInfoAMD localDimmingEnable(boolean value)
localDimmingEnable field.public VkSwapchainDisplayNativeHdrCreateInfoAMD set(int sType, long pNext, boolean localDimmingEnable)
public VkSwapchainDisplayNativeHdrCreateInfoAMD set(VkSwapchainDisplayNativeHdrCreateInfoAMD src)
src - the source structpublic static VkSwapchainDisplayNativeHdrCreateInfoAMD malloc()
VkSwapchainDisplayNativeHdrCreateInfoAMD instance allocated with memAlloc. The instance must be explicitly freed.public static VkSwapchainDisplayNativeHdrCreateInfoAMD calloc()
VkSwapchainDisplayNativeHdrCreateInfoAMD instance allocated with memCalloc. The instance must be explicitly freed.public static VkSwapchainDisplayNativeHdrCreateInfoAMD create()
VkSwapchainDisplayNativeHdrCreateInfoAMD instance allocated with BufferUtils.public static VkSwapchainDisplayNativeHdrCreateInfoAMD create(long address)
VkSwapchainDisplayNativeHdrCreateInfoAMD instance for the specified memory address.@Nullable public static VkSwapchainDisplayNativeHdrCreateInfoAMD createSafe(long address)
public static VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer malloc(int capacity)
VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer calloc(int capacity)
VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer create(int capacity)
VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer create(long address, int capacity)
VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer createSafe(long address, int capacity)
public static VkSwapchainDisplayNativeHdrCreateInfoAMD mallocStack()
VkSwapchainDisplayNativeHdrCreateInfoAMD instance allocated on the thread-local MemoryStack.public static VkSwapchainDisplayNativeHdrCreateInfoAMD callocStack()
VkSwapchainDisplayNativeHdrCreateInfoAMD instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkSwapchainDisplayNativeHdrCreateInfoAMD mallocStack(org.lwjgl.system.MemoryStack stack)
VkSwapchainDisplayNativeHdrCreateInfoAMD instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkSwapchainDisplayNativeHdrCreateInfoAMD callocStack(org.lwjgl.system.MemoryStack stack)
VkSwapchainDisplayNativeHdrCreateInfoAMD instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer mallocStack(int capacity)
VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer callocStack(int capacity)
VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkSwapchainDisplayNativeHdrCreateInfoAMD.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkSwapchainDisplayNativeHdrCreateInfoAMD.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 nlocalDimmingEnable(long struct)
localDimmingEnable().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nlocalDimmingEnable(long struct,
int value)
localDimmingEnable.Copyright LWJGL. All Rights Reserved. License terms.