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

    • Buffer

      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

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

    • sType

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

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

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

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

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

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

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

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

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

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

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

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