Class VkHdrMetadataEXT.Buffer

    • Constructor Detail

      • Buffer

        public Buffer​(java.nio.ByteBuffer container)
        Creates a new 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.

      • Buffer

        public Buffer​(long address,
                      int cap)
    • Method Detail

      • sType

        public int sType()
        Returns the value of the sType field.
      • pNext

        public long pNext()
        Returns the value of the pNext field.
      • displayPrimaryRed

        public VkXYColorEXT displayPrimaryRed()
        Returns a VkXYColorEXT view of the displayPrimaryRed field.
      • displayPrimaryRed

        public VkHdrMetadataEXT.Buffer displayPrimaryRed​(java.util.function.Consumer<VkXYColorEXT> consumer)
        Passes the displayPrimaryRed field to the specified Consumer.
      • displayPrimaryGreen

        public VkXYColorEXT displayPrimaryGreen()
        Returns a VkXYColorEXT view of the displayPrimaryGreen field.
      • displayPrimaryGreen

        public VkHdrMetadataEXT.Buffer displayPrimaryGreen​(java.util.function.Consumer<VkXYColorEXT> consumer)
        Passes the displayPrimaryGreen field to the specified Consumer.
      • displayPrimaryBlue

        public VkXYColorEXT displayPrimaryBlue()
        Returns a VkXYColorEXT view of the displayPrimaryBlue field.
      • displayPrimaryBlue

        public VkHdrMetadataEXT.Buffer displayPrimaryBlue​(java.util.function.Consumer<VkXYColorEXT> consumer)
        Passes the displayPrimaryBlue field to the specified Consumer.
      • maxLuminance

        public float maxLuminance()
        Returns the value of the maxLuminance field.
      • minLuminance

        public float minLuminance()
        Returns the value of the minLuminance field.
      • maxContentLightLevel

        public float maxContentLightLevel()
        Returns the value of the maxContentLightLevel field.
      • maxFrameAverageLightLevel

        public float maxFrameAverageLightLevel()
        Returns the value of the maxFrameAverageLightLevel field.
      • maxLuminance

        public VkHdrMetadataEXT.Buffer maxLuminance​(float value)
        Sets the specified value to the maxLuminance field.
      • minLuminance

        public VkHdrMetadataEXT.Buffer minLuminance​(float value)
        Sets the specified value to the minLuminance field.
      • maxContentLightLevel

        public VkHdrMetadataEXT.Buffer maxContentLightLevel​(float value)
        Sets the specified value to the maxContentLightLevel field.
      • maxFrameAverageLightLevel

        public VkHdrMetadataEXT.Buffer maxFrameAverageLightLevel​(float value)
        Sets the specified value to the maxFrameAverageLightLevel field.