Class VkTraceRaysIndirectCommand2KHR.Buffer

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

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

    • Buffer Link icon

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

    • raygenShaderRecordAddress Link icon

      public long raygenShaderRecordAddress()
      Returns:
      the value of the raygenShaderRecordAddress field.
    • raygenShaderRecordSize Link icon

      public long raygenShaderRecordSize()
      Returns:
      the value of the raygenShaderRecordSize field.
    • missShaderBindingTableAddress Link icon

      public long missShaderBindingTableAddress()
      Returns:
      the value of the missShaderBindingTableAddress field.
    • missShaderBindingTableSize Link icon

      public long missShaderBindingTableSize()
      Returns:
      the value of the missShaderBindingTableSize field.
    • missShaderBindingTableStride Link icon

      public long missShaderBindingTableStride()
      Returns:
      the value of the missShaderBindingTableStride field.
    • hitShaderBindingTableAddress Link icon

      public long hitShaderBindingTableAddress()
      Returns:
      the value of the hitShaderBindingTableAddress field.
    • hitShaderBindingTableSize Link icon

      public long hitShaderBindingTableSize()
      Returns:
      the value of the hitShaderBindingTableSize field.
    • hitShaderBindingTableStride Link icon

      public long hitShaderBindingTableStride()
      Returns:
      the value of the hitShaderBindingTableStride field.
    • callableShaderBindingTableAddress Link icon

      public long callableShaderBindingTableAddress()
      Returns:
      the value of the callableShaderBindingTableAddress field.
    • callableShaderBindingTableSize Link icon

      public long callableShaderBindingTableSize()
      Returns:
      the value of the callableShaderBindingTableSize field.
    • callableShaderBindingTableStride Link icon

      public long callableShaderBindingTableStride()
      Returns:
      the value of the callableShaderBindingTableStride field.
    • width Link icon

      public int width()
      Returns:
      the value of the width field.
    • height Link icon

      public int height()
      Returns:
      the value of the height field.
    • depth Link icon

      public int depth()
      Returns:
      the value of the depth field.
    • raygenShaderRecordAddress Link icon

      public VkTraceRaysIndirectCommand2KHR.Buffer raygenShaderRecordAddress(long value)
      Sets the specified value to the raygenShaderRecordAddress field.
    • raygenShaderRecordSize Link icon

      public VkTraceRaysIndirectCommand2KHR.Buffer raygenShaderRecordSize(long value)
      Sets the specified value to the raygenShaderRecordSize field.
    • missShaderBindingTableAddress Link icon

      public VkTraceRaysIndirectCommand2KHR.Buffer missShaderBindingTableAddress(long value)
      Sets the specified value to the missShaderBindingTableAddress field.
    • missShaderBindingTableSize Link icon

      public VkTraceRaysIndirectCommand2KHR.Buffer missShaderBindingTableSize(long value)
      Sets the specified value to the missShaderBindingTableSize field.
    • missShaderBindingTableStride Link icon

      public VkTraceRaysIndirectCommand2KHR.Buffer missShaderBindingTableStride(long value)
      Sets the specified value to the missShaderBindingTableStride field.
    • hitShaderBindingTableAddress Link icon

      public VkTraceRaysIndirectCommand2KHR.Buffer hitShaderBindingTableAddress(long value)
      Sets the specified value to the hitShaderBindingTableAddress field.
    • hitShaderBindingTableSize Link icon

      public VkTraceRaysIndirectCommand2KHR.Buffer hitShaderBindingTableSize(long value)
      Sets the specified value to the hitShaderBindingTableSize field.
    • hitShaderBindingTableStride Link icon

      public VkTraceRaysIndirectCommand2KHR.Buffer hitShaderBindingTableStride(long value)
      Sets the specified value to the hitShaderBindingTableStride field.
    • callableShaderBindingTableAddress Link icon

      public VkTraceRaysIndirectCommand2KHR.Buffer callableShaderBindingTableAddress(long value)
      Sets the specified value to the callableShaderBindingTableAddress field.
    • callableShaderBindingTableSize Link icon

      public VkTraceRaysIndirectCommand2KHR.Buffer callableShaderBindingTableSize(long value)
      Sets the specified value to the callableShaderBindingTableSize field.
    • callableShaderBindingTableStride Link icon

      public VkTraceRaysIndirectCommand2KHR.Buffer callableShaderBindingTableStride(long value)
      Sets the specified value to the callableShaderBindingTableStride field.
    • width Link icon

      public VkTraceRaysIndirectCommand2KHR.Buffer width(int value)
      Sets the specified value to the width field.
    • height Link icon

      public VkTraceRaysIndirectCommand2KHR.Buffer height(int value)
      Sets the specified value to the height field.
    • depth Link icon

      public VkTraceRaysIndirectCommand2KHR.Buffer depth(int value)
      Sets the specified value to the depth field.