Package org.lwjgl.vulkan
Class VkDisplayNativeHdrSurfaceCapabilitiesAMD
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkDisplayNativeHdrSurfaceCapabilitiesAMD
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkDisplayNativeHdrSurfaceCapabilitiesAMD extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing display native HDR specific capabilities of a surface.Valid Usage (Implicit)
Layout
struct VkDisplayNativeHdrSurfaceCapabilitiesAMD { VkStructureTypesType(); void *pNext(); VkBool32localDimmingSupport(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkDisplayNativeHdrSurfaceCapabilitiesAMD.BufferAn array ofVkDisplayNativeHdrSurfaceCapabilitiesAMDstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intLOCALDIMMINGSUPPORT
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkDisplayNativeHdrSurfaceCapabilitiesAMD(java.nio.ByteBuffer container)Creates aVkDisplayNativeHdrSurfaceCapabilitiesAMDinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static VkDisplayNativeHdrSurfaceCapabilitiesAMDcalloc()Returns a newVkDisplayNativeHdrSurfaceCapabilitiesAMDinstance allocated withmemCalloc.static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffercalloc(int capacity)Returns a newVkDisplayNativeHdrSurfaceCapabilitiesAMD.Bufferinstance allocated withmemCalloc.static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDisplayNativeHdrSurfaceCapabilitiesAMD.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDisplayNativeHdrSurfaceCapabilitiesAMDcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkDisplayNativeHdrSurfaceCapabilitiesAMDinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDisplayNativeHdrSurfaceCapabilitiesAMDcallocStack()Deprecated.static VkDisplayNativeHdrSurfaceCapabilitiesAMD.BuffercallocStack(int capacity)Deprecated.static VkDisplayNativeHdrSurfaceCapabilitiesAMD.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkDisplayNativeHdrSurfaceCapabilitiesAMDcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkDisplayNativeHdrSurfaceCapabilitiesAMDcreate()Returns a newVkDisplayNativeHdrSurfaceCapabilitiesAMDinstance allocated withBufferUtils.static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffercreate(int capacity)Returns a newVkDisplayNativeHdrSurfaceCapabilitiesAMD.Bufferinstance allocated withBufferUtils.static VkDisplayNativeHdrSurfaceCapabilitiesAMDcreate(long address)Returns a newVkDisplayNativeHdrSurfaceCapabilitiesAMDinstance for the specified memory address.static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffercreate(long address, int capacity)Create aVkDisplayNativeHdrSurfaceCapabilitiesAMD.Bufferinstance at the specified memory.static VkDisplayNativeHdrSurfaceCapabilitiesAMDcreateSafe(long address)static VkDisplayNativeHdrSurfaceCapabilitiesAMD.BuffercreateSafe(long address, int capacity)booleanlocalDimmingSupport()specifies whether the surface supports local dimming.static VkDisplayNativeHdrSurfaceCapabilitiesAMDmalloc()Returns a newVkDisplayNativeHdrSurfaceCapabilitiesAMDinstance allocated withmemAlloc.static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffermalloc(int capacity)Returns a newVkDisplayNativeHdrSurfaceCapabilitiesAMD.Bufferinstance allocated withmemAlloc.static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDisplayNativeHdrSurfaceCapabilitiesAMD.Bufferinstance allocated on the specifiedMemoryStack.static VkDisplayNativeHdrSurfaceCapabilitiesAMDmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkDisplayNativeHdrSurfaceCapabilitiesAMDinstance allocated on the specifiedMemoryStack.static VkDisplayNativeHdrSurfaceCapabilitiesAMDmallocStack()Deprecated.static VkDisplayNativeHdrSurfaceCapabilitiesAMD.BuffermallocStack(int capacity)Deprecated.static VkDisplayNativeHdrSurfaceCapabilitiesAMD.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkDisplayNativeHdrSurfaceCapabilitiesAMDmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static intnlocalDimmingSupport(long struct)Unsafe version oflocalDimmingSupport().static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()NULLor a pointer to a structure extending this structure.VkDisplayNativeHdrSurfaceCapabilitiesAMDpNext(long value)Sets the specified value to thepNext()field.VkDisplayNativeHdrSurfaceCapabilitiesAMDset(int sType, long pNext)Initializes this struct with the specified values.VkDisplayNativeHdrSurfaceCapabilitiesAMDset(VkDisplayNativeHdrSurfaceCapabilitiesAMD src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkDisplayNativeHdrSurfaceCapabilitiesAMDsType(int value)Sets the specified value to thesType()field.VkDisplayNativeHdrSurfaceCapabilitiesAMDsType$Default()Sets theSTRUCTURE_TYPE_DISPLAY_NATIVE_HDR_SURFACE_CAPABILITIES_AMDvalue to thesType()field.
-
-
-
Constructor Detail
-
VkDisplayNativeHdrSurfaceCapabilitiesAMD
public VkDisplayNativeHdrSurfaceCapabilitiesAMD(java.nio.ByteBuffer container)
Creates aVkDisplayNativeHdrSurfaceCapabilitiesAMDinstance at the current position of the specifiedByteBuffercontainer. 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.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
localDimmingSupport
public boolean localDimmingSupport()
specifies whether the surface supports local dimming. If this isTRUE,VkSwapchainDisplayNativeHdrCreateInfoAMDcan be used to explicitly enable or disable local dimming for the surface. Local dimming may also be overriden bySetLocalDimmingAMDduring the lifetime of the swapchain.
-
sType
public VkDisplayNativeHdrSurfaceCapabilitiesAMD sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkDisplayNativeHdrSurfaceCapabilitiesAMD sType$Default()
Sets theSTRUCTURE_TYPE_DISPLAY_NATIVE_HDR_SURFACE_CAPABILITIES_AMDvalue to thesType()field.
-
pNext
public VkDisplayNativeHdrSurfaceCapabilitiesAMD pNext(long value)
Sets the specified value to thepNext()field.
-
set
public VkDisplayNativeHdrSurfaceCapabilitiesAMD set(int sType, long pNext)
Initializes this struct with the specified values.
-
set
public VkDisplayNativeHdrSurfaceCapabilitiesAMD set(VkDisplayNativeHdrSurfaceCapabilitiesAMD src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkDisplayNativeHdrSurfaceCapabilitiesAMD malloc()
Returns a newVkDisplayNativeHdrSurfaceCapabilitiesAMDinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkDisplayNativeHdrSurfaceCapabilitiesAMD calloc()
Returns a newVkDisplayNativeHdrSurfaceCapabilitiesAMDinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkDisplayNativeHdrSurfaceCapabilitiesAMD create()
Returns a newVkDisplayNativeHdrSurfaceCapabilitiesAMDinstance allocated withBufferUtils.
-
create
public static VkDisplayNativeHdrSurfaceCapabilitiesAMD create(long address)
Returns a newVkDisplayNativeHdrSurfaceCapabilitiesAMDinstance for the specified memory address.
-
createSafe
@Nullable public static VkDisplayNativeHdrSurfaceCapabilitiesAMD createSafe(long address)
-
malloc
public static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer malloc(int capacity)
Returns a newVkDisplayNativeHdrSurfaceCapabilitiesAMD.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer calloc(int capacity)
Returns a newVkDisplayNativeHdrSurfaceCapabilitiesAMD.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer create(int capacity)
Returns a newVkDisplayNativeHdrSurfaceCapabilitiesAMD.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer create(long address, int capacity)
Create aVkDisplayNativeHdrSurfaceCapabilitiesAMD.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkDisplayNativeHdrSurfaceCapabilitiesAMD mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkDisplayNativeHdrSurfaceCapabilitiesAMD callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkDisplayNativeHdrSurfaceCapabilitiesAMD mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkDisplayNativeHdrSurfaceCapabilitiesAMD callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkDisplayNativeHdrSurfaceCapabilitiesAMD malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkDisplayNativeHdrSurfaceCapabilitiesAMDinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkDisplayNativeHdrSurfaceCapabilitiesAMD calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkDisplayNativeHdrSurfaceCapabilitiesAMDinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDisplayNativeHdrSurfaceCapabilitiesAMD.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkDisplayNativeHdrSurfaceCapabilitiesAMD.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDisplayNativeHdrSurfaceCapabilitiesAMD.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
nlocalDimmingSupport
public static int nlocalDimmingSupport(long struct)
Unsafe version oflocalDimmingSupport().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
-