sType must be STRUCTURE_TYPE_HDR_METADATA_EXTpNext must be NULLThe validity and use of this data is outside the scope of Vulkan.
VkXYColorEXT, SetHdrMetadataEXT
struct VkHdrMetadataEXT {
VkStructureType sType;
void const * pNext;
VkXYColorEXT displayPrimaryRed;
VkXYColorEXT displayPrimaryGreen;
VkXYColorEXT displayPrimaryBlue;
VkXYColorEXT whitePoint;
float maxLuminance;
float minLuminance;
float maxContentLightLevel;
float maxFrameAverageLightLevel;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkHdrMetadataEXT.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DISPLAYPRIMARYBLUE
The struct member offsets. |
| public static final int | DISPLAYPRIMARYGREEN
The struct member offsets. |
| public static final int | DISPLAYPRIMARYRED
The struct member offsets. |
| public static final int | MAXCONTENTLIGHTLEVEL
The struct member offsets. |
| public static final int | MAXFRAMEAVERAGELIGHTLEVEL
The struct member offsets. |
| public static final int | MAXLUMINANCE
The struct member offsets. |
| public static final int | MINLUMINANCE
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| public static final int | WHITEPOINT
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkHdrMetadataEXT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkHdrMetadataEXT | |
| public static VkHdrMetadataEXT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkHdrMetadataEXT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkHdrMetadataEXT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkHdrMetadataEXT | |
| public static VkHdrMetadataEXT | |
| public static VkHdrMetadataEXT. | |
| public static VkHdrMetadataEXT. | |
| protected VkHdrMetadataEXT | 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 VkHdrMetadataEXT | |
| public static VkHdrMetadataEXT | |
| public static VkHdrMetadataEXT. | create(int
the buffer capacity capacity)Returns a new |
| public static VkHdrMetadataEXT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkHdrMetadataEXT | |
| public static VkHdrMetadataEXT. | |
| public VkXYColorEXT | displayPrimaryBlue()
a |
| public VkHdrMetadataEXT | displayPrimaryBlue(VkXYColorEXT value)
Copies the specified |
| public VkHdrMetadataEXT | displayPrimaryBlue(Consumer<VkXYColorEXT> consumer)
Passes the |
| public VkXYColorEXT | displayPrimaryGreen()
a |
| public VkHdrMetadataEXT | displayPrimaryGreen(VkXYColorEXT value)
Copies the specified |
| public VkHdrMetadataEXT | displayPrimaryGreen(Consumer<VkXYColorEXT> consumer)
Passes the |
| public VkXYColorEXT | displayPrimaryRed()
a |
| public VkHdrMetadataEXT | displayPrimaryRed(VkXYColorEXT value)
Copies the specified |
| public VkHdrMetadataEXT | displayPrimaryRed(Consumer<VkXYColorEXT> consumer)
Passes the |
| public static VkHdrMetadataEXT | |
| public static VkHdrMetadataEXT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkHdrMetadataEXT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkHdrMetadataEXT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkHdrMetadataEXT | |
| public static VkHdrMetadataEXT | |
| public static VkHdrMetadataEXT. | |
| public static VkHdrMetadataEXT. | |
| public float | |
| public VkHdrMetadataEXT | |
| public float | |
| public VkHdrMetadataEXT | maxFrameAverageLightLevel(float value)
Sets the specified value to the |
| public float | |
| public VkHdrMetadataEXT | |
| public float | |
| public VkHdrMetadataEXT | |
| public static VkXYColorEXT | |
| public static void | |
| public static VkXYColorEXT | |
| public static void | |
| public static VkXYColorEXT | |
| public static void | |
| public static float | |
| public static void | |
| public static float | |
| public static void | |
| public static float | |
| public static void | |
| public static float | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static VkXYColorEXT | |
| public static void | |
| public long | |
| public VkHdrMetadataEXT | |
| public VkHdrMetadataEXT | set(int sType, long pNext, VkXYColorEXT displayPrimaryRed, VkXYColorEXT displayPrimaryGreen, VkXYColorEXT displayPrimaryBlue, VkXYColorEXT whitePoint, float maxLuminance, float minLuminance, float maxContentLightLevel, float maxFrameAverageLightLevel)
Initializes this struct with the specified values. |
| public VkHdrMetadataEXT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkHdrMetadataEXT | |
| public VkHdrMetadataEXT | |
| public VkXYColorEXT | whitePoint()
a |
| public VkHdrMetadataEXT | |
| public VkHdrMetadataEXT |