public static class VkHdrMetadataEXT.Buffer extends org.lwjgl.system.StructBuffer<VkHdrMetadataEXT,VkHdrMetadataEXT.Buffer> implements org.lwjgl.system.NativeResource
VkHdrMetadataEXT structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkHdrMetadataEXT.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
VkXYColorEXT |
displayPrimaryBlue()
Returns a
VkXYColorEXT view of the displayPrimaryBlue field. |
VkHdrMetadataEXT.Buffer |
displayPrimaryBlue(java.util.function.Consumer<VkXYColorEXT> consumer)
Passes the
displayPrimaryBlue field to the specified Consumer. |
VkHdrMetadataEXT.Buffer |
displayPrimaryBlue(VkXYColorEXT value)
Copies the specified
VkXYColorEXT to the displayPrimaryBlue field. |
VkXYColorEXT |
displayPrimaryGreen()
Returns a
VkXYColorEXT view of the displayPrimaryGreen field. |
VkHdrMetadataEXT.Buffer |
displayPrimaryGreen(java.util.function.Consumer<VkXYColorEXT> consumer)
Passes the
displayPrimaryGreen field to the specified Consumer. |
VkHdrMetadataEXT.Buffer |
displayPrimaryGreen(VkXYColorEXT value)
Copies the specified
VkXYColorEXT to the displayPrimaryGreen field. |
VkXYColorEXT |
displayPrimaryRed()
Returns a
VkXYColorEXT view of the displayPrimaryRed field. |
VkHdrMetadataEXT.Buffer |
displayPrimaryRed(java.util.function.Consumer<VkXYColorEXT> consumer)
Passes the
displayPrimaryRed field to the specified Consumer. |
VkHdrMetadataEXT.Buffer |
displayPrimaryRed(VkXYColorEXT value)
Copies the specified
VkXYColorEXT to the displayPrimaryRed field. |
float |
maxContentLightLevel()
Returns the value of the
maxContentLightLevel field. |
VkHdrMetadataEXT.Buffer |
maxContentLightLevel(float value)
Sets the specified value to the
maxContentLightLevel field. |
float |
maxFrameAverageLightLevel()
Returns the value of the
maxFrameAverageLightLevel field. |
VkHdrMetadataEXT.Buffer |
maxFrameAverageLightLevel(float value)
Sets the specified value to the
maxFrameAverageLightLevel field. |
float |
maxLuminance()
Returns the value of the
maxLuminance field. |
VkHdrMetadataEXT.Buffer |
maxLuminance(float value)
Sets the specified value to the
maxLuminance field. |
float |
minLuminance()
Returns the value of the
minLuminance field. |
VkHdrMetadataEXT.Buffer |
minLuminance(float value)
Sets the specified value to the
minLuminance field. |
long |
pNext()
Returns the value of the
pNext field. |
VkHdrMetadataEXT.Buffer |
pNext(long value)
Sets the specified value to the
pNext field. |
int |
sType()
Returns the value of the
sType field. |
VkHdrMetadataEXT.Buffer |
sType(int value)
Sets the specified value to the
sType field. |
VkXYColorEXT |
whitePoint()
Returns a
VkXYColorEXT view of the whitePoint field. |
VkHdrMetadataEXT.Buffer |
whitePoint(java.util.function.Consumer<VkXYColorEXT> consumer)
Passes the
whitePoint field to the specified Consumer. |
VkHdrMetadataEXT.Buffer |
whitePoint(VkXYColorEXT value)
Copies the specified
VkXYColorEXT to the whitePoint field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkHdrMetadataEXT.Buffer instance backed by the specified container.
Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by VkHdrMetadataEXT.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public int sType()
sType field.public long pNext()
pNext field.public VkXYColorEXT displayPrimaryRed()
VkXYColorEXT view of the displayPrimaryRed field.public VkXYColorEXT displayPrimaryGreen()
VkXYColorEXT view of the displayPrimaryGreen field.public VkXYColorEXT displayPrimaryBlue()
VkXYColorEXT view of the displayPrimaryBlue field.public VkXYColorEXT whitePoint()
VkXYColorEXT view of the whitePoint field.public float maxLuminance()
maxLuminance field.public float minLuminance()
minLuminance field.public float maxContentLightLevel()
maxContentLightLevel field.public float maxFrameAverageLightLevel()
maxFrameAverageLightLevel field.public VkHdrMetadataEXT.Buffer sType(int value)
sType field.public VkHdrMetadataEXT.Buffer pNext(long value)
pNext field.public VkHdrMetadataEXT.Buffer displayPrimaryRed(VkXYColorEXT value)
VkXYColorEXT to the displayPrimaryRed field.public VkHdrMetadataEXT.Buffer displayPrimaryRed(java.util.function.Consumer<VkXYColorEXT> consumer)
displayPrimaryRed field to the specified Consumer.public VkHdrMetadataEXT.Buffer displayPrimaryGreen(VkXYColorEXT value)
VkXYColorEXT to the displayPrimaryGreen field.public VkHdrMetadataEXT.Buffer displayPrimaryGreen(java.util.function.Consumer<VkXYColorEXT> consumer)
displayPrimaryGreen field to the specified Consumer.public VkHdrMetadataEXT.Buffer displayPrimaryBlue(VkXYColorEXT value)
VkXYColorEXT to the displayPrimaryBlue field.public VkHdrMetadataEXT.Buffer displayPrimaryBlue(java.util.function.Consumer<VkXYColorEXT> consumer)
displayPrimaryBlue field to the specified Consumer.public VkHdrMetadataEXT.Buffer whitePoint(VkXYColorEXT value)
VkXYColorEXT to the whitePoint field.public VkHdrMetadataEXT.Buffer whitePoint(java.util.function.Consumer<VkXYColorEXT> consumer)
whitePoint field to the specified Consumer.public VkHdrMetadataEXT.Buffer maxLuminance(float value)
maxLuminance field.public VkHdrMetadataEXT.Buffer minLuminance(float value)
minLuminance field.public VkHdrMetadataEXT.Buffer maxContentLightLevel(float value)
maxContentLightLevel field.public VkHdrMetadataEXT.Buffer maxFrameAverageLightLevel(float value)
maxFrameAverageLightLevel field.Copyright LWJGL. All Rights Reserved. License terms.