Package org.lwjgl.vulkan
Class VkHdrMetadataEXT.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkHdrMetadataEXT,VkHdrMetadataEXT.Buffer>
-
- org.lwjgl.vulkan.VkHdrMetadataEXT.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkHdrMetadataEXT>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkHdrMetadataEXT
public static class VkHdrMetadataEXT.Buffer extends org.lwjgl.system.StructBuffer<VkHdrMetadataEXT,VkHdrMetadataEXT.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkHdrMetadataEXTstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VkXYColorEXTdisplayPrimaryBlue()Returns aVkXYColorEXTview of thedisplayPrimaryBluefield.VkHdrMetadataEXT.BufferdisplayPrimaryBlue(java.util.function.Consumer<VkXYColorEXT> consumer)Passes thedisplayPrimaryBluefield to the specifiedConsumer.VkHdrMetadataEXT.BufferdisplayPrimaryBlue(VkXYColorEXT value)Copies the specifiedVkXYColorEXTto thedisplayPrimaryBluefield.VkXYColorEXTdisplayPrimaryGreen()Returns aVkXYColorEXTview of thedisplayPrimaryGreenfield.VkHdrMetadataEXT.BufferdisplayPrimaryGreen(java.util.function.Consumer<VkXYColorEXT> consumer)Passes thedisplayPrimaryGreenfield to the specifiedConsumer.VkHdrMetadataEXT.BufferdisplayPrimaryGreen(VkXYColorEXT value)Copies the specifiedVkXYColorEXTto thedisplayPrimaryGreenfield.VkXYColorEXTdisplayPrimaryRed()Returns aVkXYColorEXTview of thedisplayPrimaryRedfield.VkHdrMetadataEXT.BufferdisplayPrimaryRed(java.util.function.Consumer<VkXYColorEXT> consumer)Passes thedisplayPrimaryRedfield to the specifiedConsumer.VkHdrMetadataEXT.BufferdisplayPrimaryRed(VkXYColorEXT value)Copies the specifiedVkXYColorEXTto thedisplayPrimaryRedfield.floatmaxContentLightLevel()Returns the value of themaxContentLightLevelfield.VkHdrMetadataEXT.BuffermaxContentLightLevel(float value)Sets the specified value to themaxContentLightLevelfield.floatmaxFrameAverageLightLevel()Returns the value of themaxFrameAverageLightLevelfield.VkHdrMetadataEXT.BuffermaxFrameAverageLightLevel(float value)Sets the specified value to themaxFrameAverageLightLevelfield.floatmaxLuminance()Returns the value of themaxLuminancefield.VkHdrMetadataEXT.BuffermaxLuminance(float value)Sets the specified value to themaxLuminancefield.floatminLuminance()Returns the value of theminLuminancefield.VkHdrMetadataEXT.BufferminLuminance(float value)Sets the specified value to theminLuminancefield.longpNext()Returns the value of thepNextfield.VkHdrMetadataEXT.BufferpNext(long value)Sets the specified value to thepNextfield.intsType()Returns the value of thesTypefield.VkHdrMetadataEXT.BuffersType(int value)Sets the specified value to thesTypefield.VkXYColorEXTwhitePoint()Returns aVkXYColorEXTview of thewhitePointfield.VkHdrMetadataEXT.BufferwhitePoint(java.util.function.Consumer<VkXYColorEXT> consumer)Passes thewhitePointfield to the specifiedConsumer.VkHdrMetadataEXT.BufferwhitePoint(VkXYColorEXT value)Copies the specifiedVkXYColorEXTto thewhitePointfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkHdrMetadataEXT.Bufferinstance 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 byVkHdrMetadataEXT.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
sType
public int sType()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
displayPrimaryRed
public VkXYColorEXT displayPrimaryRed()
Returns aVkXYColorEXTview of thedisplayPrimaryRedfield.
-
displayPrimaryGreen
public VkXYColorEXT displayPrimaryGreen()
Returns aVkXYColorEXTview of thedisplayPrimaryGreenfield.
-
displayPrimaryBlue
public VkXYColorEXT displayPrimaryBlue()
Returns aVkXYColorEXTview of thedisplayPrimaryBluefield.
-
whitePoint
public VkXYColorEXT whitePoint()
Returns aVkXYColorEXTview of thewhitePointfield.
-
maxLuminance
public float maxLuminance()
Returns the value of themaxLuminancefield.
-
minLuminance
public float minLuminance()
Returns the value of theminLuminancefield.
-
maxContentLightLevel
public float maxContentLightLevel()
Returns the value of themaxContentLightLevelfield.
-
maxFrameAverageLightLevel
public float maxFrameAverageLightLevel()
Returns the value of themaxFrameAverageLightLevelfield.
-
sType
public VkHdrMetadataEXT.Buffer sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkHdrMetadataEXT.Buffer pNext(long value)
Sets the specified value to thepNextfield.
-
displayPrimaryRed
public VkHdrMetadataEXT.Buffer displayPrimaryRed(VkXYColorEXT value)
Copies the specifiedVkXYColorEXTto thedisplayPrimaryRedfield.
-
displayPrimaryRed
public VkHdrMetadataEXT.Buffer displayPrimaryRed(java.util.function.Consumer<VkXYColorEXT> consumer)
Passes thedisplayPrimaryRedfield to the specifiedConsumer.
-
displayPrimaryGreen
public VkHdrMetadataEXT.Buffer displayPrimaryGreen(VkXYColorEXT value)
Copies the specifiedVkXYColorEXTto thedisplayPrimaryGreenfield.
-
displayPrimaryGreen
public VkHdrMetadataEXT.Buffer displayPrimaryGreen(java.util.function.Consumer<VkXYColorEXT> consumer)
Passes thedisplayPrimaryGreenfield to the specifiedConsumer.
-
displayPrimaryBlue
public VkHdrMetadataEXT.Buffer displayPrimaryBlue(VkXYColorEXT value)
Copies the specifiedVkXYColorEXTto thedisplayPrimaryBluefield.
-
displayPrimaryBlue
public VkHdrMetadataEXT.Buffer displayPrimaryBlue(java.util.function.Consumer<VkXYColorEXT> consumer)
Passes thedisplayPrimaryBluefield to the specifiedConsumer.
-
whitePoint
public VkHdrMetadataEXT.Buffer whitePoint(VkXYColorEXT value)
Copies the specifiedVkXYColorEXTto thewhitePointfield.
-
whitePoint
public VkHdrMetadataEXT.Buffer whitePoint(java.util.function.Consumer<VkXYColorEXT> consumer)
Passes thewhitePointfield to the specifiedConsumer.
-
maxLuminance
public VkHdrMetadataEXT.Buffer maxLuminance(float value)
Sets the specified value to themaxLuminancefield.
-
minLuminance
public VkHdrMetadataEXT.Buffer minLuminance(float value)
Sets the specified value to theminLuminancefield.
-
maxContentLightLevel
public VkHdrMetadataEXT.Buffer maxContentLightLevel(float value)
Sets the specified value to themaxContentLightLevelfield.
-
maxFrameAverageLightLevel
public VkHdrMetadataEXT.Buffer maxFrameAverageLightLevel(float value)
Sets the specified value to themaxFrameAverageLightLevelfield.
-
-