Class VkDepthBiasInfoEXT.Buffer

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

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

    • Buffer Link icon

      public Buffer(ByteBuffer container)
      Creates a new VkDepthBiasInfoEXT.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 VkDepthBiasInfoEXT.SIZEOF, and its mark will be undefined.

      The created buffer instance holds a strong reference to the container object.

    • Buffer Link icon

      public Buffer(long address, int cap)
  • Method Details Link icon

    • sType Link icon

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

      public long pNext()
      Returns:
      the value of the pNext field.
    • depthBiasConstantFactor Link icon

      public float depthBiasConstantFactor()
      Returns:
      the value of the depthBiasConstantFactor field.
    • depthBiasClamp Link icon

      public float depthBiasClamp()
      Returns:
      the value of the depthBiasClamp field.
    • depthBiasSlopeFactor Link icon

      public float depthBiasSlopeFactor()
      Returns:
      the value of the depthBiasSlopeFactor field.
    • sType Link icon

      public VkDepthBiasInfoEXT.Buffer sType(int value)
      Sets the specified value to the sType field.
    • sType$Default Link icon

      public VkDepthBiasInfoEXT.Buffer sType$Default()
      Sets the STRUCTURE_TYPE_DEPTH_BIAS_INFO_EXT value to the sType field.
    • pNext Link icon

      public VkDepthBiasInfoEXT.Buffer pNext(long value)
      Sets the specified value to the pNext field.
    • pNext Link icon

      Prepends the specified VkDepthBiasRepresentationInfoEXT value to the pNext chain.
    • depthBiasConstantFactor Link icon

      public VkDepthBiasInfoEXT.Buffer depthBiasConstantFactor(float value)
      Sets the specified value to the depthBiasConstantFactor field.
    • depthBiasClamp Link icon

      public VkDepthBiasInfoEXT.Buffer depthBiasClamp(float value)
      Sets the specified value to the depthBiasClamp field.
    • depthBiasSlopeFactor Link icon

      public VkDepthBiasInfoEXT.Buffer depthBiasSlopeFactor(float value)
      Sets the specified value to the depthBiasSlopeFactor field.