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 ofVkHdrMetadataEXT
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VkXYColorEXT
displayPrimaryBlue()
Returns aVkXYColorEXT
view of thedisplayPrimaryBlue
field.VkHdrMetadataEXT.Buffer
displayPrimaryBlue(java.util.function.Consumer<VkXYColorEXT> consumer)
Passes thedisplayPrimaryBlue
field to the specifiedConsumer
.VkHdrMetadataEXT.Buffer
displayPrimaryBlue(VkXYColorEXT value)
Copies the specifiedVkXYColorEXT
to thedisplayPrimaryBlue
field.VkXYColorEXT
displayPrimaryGreen()
Returns aVkXYColorEXT
view of thedisplayPrimaryGreen
field.VkHdrMetadataEXT.Buffer
displayPrimaryGreen(java.util.function.Consumer<VkXYColorEXT> consumer)
Passes thedisplayPrimaryGreen
field to the specifiedConsumer
.VkHdrMetadataEXT.Buffer
displayPrimaryGreen(VkXYColorEXT value)
Copies the specifiedVkXYColorEXT
to thedisplayPrimaryGreen
field.VkXYColorEXT
displayPrimaryRed()
Returns aVkXYColorEXT
view of thedisplayPrimaryRed
field.VkHdrMetadataEXT.Buffer
displayPrimaryRed(java.util.function.Consumer<VkXYColorEXT> consumer)
Passes thedisplayPrimaryRed
field to the specifiedConsumer
.VkHdrMetadataEXT.Buffer
displayPrimaryRed(VkXYColorEXT value)
Copies the specifiedVkXYColorEXT
to thedisplayPrimaryRed
field.float
maxContentLightLevel()
Returns the value of themaxContentLightLevel
field.VkHdrMetadataEXT.Buffer
maxContentLightLevel(float value)
Sets the specified value to themaxContentLightLevel
field.float
maxFrameAverageLightLevel()
Returns the value of themaxFrameAverageLightLevel
field.VkHdrMetadataEXT.Buffer
maxFrameAverageLightLevel(float value)
Sets the specified value to themaxFrameAverageLightLevel
field.float
maxLuminance()
Returns the value of themaxLuminance
field.VkHdrMetadataEXT.Buffer
maxLuminance(float value)
Sets the specified value to themaxLuminance
field.float
minLuminance()
Returns the value of theminLuminance
field.VkHdrMetadataEXT.Buffer
minLuminance(float value)
Sets the specified value to theminLuminance
field.long
pNext()
Returns the value of thepNext
field.VkHdrMetadataEXT.Buffer
pNext(long value)
Sets the specified value to thepNext
field.int
sType()
Returns the value of thesType
field.VkHdrMetadataEXT.Buffer
sType(int value)
Sets the specified value to thesType
field.VkXYColorEXT
whitePoint()
Returns aVkXYColorEXT
view of thewhitePoint
field.VkHdrMetadataEXT.Buffer
whitePoint(java.util.function.Consumer<VkXYColorEXT> consumer)
Passes thewhitePoint
field to the specifiedConsumer
.VkHdrMetadataEXT.Buffer
whitePoint(VkXYColorEXT value)
Copies the specifiedVkXYColorEXT
to thewhitePoint
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkHdrMetadataEXT.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 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 thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
displayPrimaryRed
public VkXYColorEXT displayPrimaryRed()
Returns aVkXYColorEXT
view of thedisplayPrimaryRed
field.
-
displayPrimaryGreen
public VkXYColorEXT displayPrimaryGreen()
Returns aVkXYColorEXT
view of thedisplayPrimaryGreen
field.
-
displayPrimaryBlue
public VkXYColorEXT displayPrimaryBlue()
Returns aVkXYColorEXT
view of thedisplayPrimaryBlue
field.
-
whitePoint
public VkXYColorEXT whitePoint()
Returns aVkXYColorEXT
view of thewhitePoint
field.
-
maxLuminance
public float maxLuminance()
Returns the value of themaxLuminance
field.
-
minLuminance
public float minLuminance()
Returns the value of theminLuminance
field.
-
maxContentLightLevel
public float maxContentLightLevel()
Returns the value of themaxContentLightLevel
field.
-
maxFrameAverageLightLevel
public float maxFrameAverageLightLevel()
Returns the value of themaxFrameAverageLightLevel
field.
-
sType
public VkHdrMetadataEXT.Buffer sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkHdrMetadataEXT.Buffer pNext(long value)
Sets the specified value to thepNext
field.
-
displayPrimaryRed
public VkHdrMetadataEXT.Buffer displayPrimaryRed(VkXYColorEXT value)
Copies the specifiedVkXYColorEXT
to thedisplayPrimaryRed
field.
-
displayPrimaryRed
public VkHdrMetadataEXT.Buffer displayPrimaryRed(java.util.function.Consumer<VkXYColorEXT> consumer)
Passes thedisplayPrimaryRed
field to the specifiedConsumer
.
-
displayPrimaryGreen
public VkHdrMetadataEXT.Buffer displayPrimaryGreen(VkXYColorEXT value)
Copies the specifiedVkXYColorEXT
to thedisplayPrimaryGreen
field.
-
displayPrimaryGreen
public VkHdrMetadataEXT.Buffer displayPrimaryGreen(java.util.function.Consumer<VkXYColorEXT> consumer)
Passes thedisplayPrimaryGreen
field to the specifiedConsumer
.
-
displayPrimaryBlue
public VkHdrMetadataEXT.Buffer displayPrimaryBlue(VkXYColorEXT value)
Copies the specifiedVkXYColorEXT
to thedisplayPrimaryBlue
field.
-
displayPrimaryBlue
public VkHdrMetadataEXT.Buffer displayPrimaryBlue(java.util.function.Consumer<VkXYColorEXT> consumer)
Passes thedisplayPrimaryBlue
field to the specifiedConsumer
.
-
whitePoint
public VkHdrMetadataEXT.Buffer whitePoint(VkXYColorEXT value)
Copies the specifiedVkXYColorEXT
to thewhitePoint
field.
-
whitePoint
public VkHdrMetadataEXT.Buffer whitePoint(java.util.function.Consumer<VkXYColorEXT> consumer)
Passes thewhitePoint
field to the specifiedConsumer
.
-
maxLuminance
public VkHdrMetadataEXT.Buffer maxLuminance(float value)
Sets the specified value to themaxLuminance
field.
-
minLuminance
public VkHdrMetadataEXT.Buffer minLuminance(float value)
Sets the specified value to theminLuminance
field.
-
maxContentLightLevel
public VkHdrMetadataEXT.Buffer maxContentLightLevel(float value)
Sets the specified value to themaxContentLightLevel
field.
-
maxFrameAverageLightLevel
public VkHdrMetadataEXT.Buffer maxFrameAverageLightLevel(float value)
Sets the specified value to themaxFrameAverageLightLevel
field.
-
-