Class VkDepthClampRangeEXT.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<VkDepthClampRangeEXT>, NativeResource, Pointer
Enclosing class:
VkDepthClampRangeEXT

public static class VkDepthClampRangeEXT.Buffer extends StructBuffer<VkDepthClampRangeEXT,VkDepthClampRangeEXT.Buffer> implements NativeResource
An array of VkDepthClampRangeEXT structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new VkDepthClampRangeEXT.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 VkDepthClampRangeEXT.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 Details

    • minDepthClamp

      public float minDepthClamp()
      Returns:
      the value of the minDepthClamp field.
    • maxDepthClamp

      public float maxDepthClamp()
      Returns:
      the value of the maxDepthClamp field.
    • minDepthClamp

      public VkDepthClampRangeEXT.Buffer minDepthClamp(float value)
      Sets the specified value to the minDepthClamp field.
    • maxDepthClamp

      public VkDepthClampRangeEXT.Buffer maxDepthClamp(float value)
      Sets the specified value to the maxDepthClamp field.