Class CUarrayMapInfo.Buffer

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<CUarrayMapInfo.Buffer>
org.lwjgl.system.StructBuffer<CUarrayMapInfo,CUarrayMapInfo.Buffer>
org.lwjgl.cuda.CUarrayMapInfo.Buffer
All Implemented Interfaces:
AutoCloseable, Iterable<CUarrayMapInfo>, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
Enclosing class:
CUarrayMapInfo

public static class CUarrayMapInfo.Buffer extends org.lwjgl.system.StructBuffer<CUarrayMapInfo,CUarrayMapInfo.Buffer> implements org.lwjgl.system.NativeResource
An array of CUarrayMapInfo structs.
  • Constructor Details

    • Buffer

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

    • resourceType

      public int resourceType()
      Returns:
      the value of the resourceType field.
    • resource_mipmap

      public long resource_mipmap()
      Returns:
      the value of the resource.mipmap field.
    • resource_array

      public long resource_array()
      Returns:
      the value of the resource.array field.
    • subresourceType

      public int subresourceType()
      Returns:
      the value of the subresourceType field.
    • subresource_sparseLevel_level

      public int subresource_sparseLevel_level()
      Returns:
      the value of the subresource.sparseLevel.level field.
    • subresource_sparseLevel_layer

      public int subresource_sparseLevel_layer()
      Returns:
      the value of the subresource.sparseLevel.layer field.
    • subresource_sparseLevel_offsetX

      public int subresource_sparseLevel_offsetX()
      Returns:
      the value of the subresource.sparseLevel.offsetX field.
    • subresource_sparseLevel_offsetY

      public int subresource_sparseLevel_offsetY()
      Returns:
      the value of the subresource.sparseLevel.offsetY field.
    • subresource_sparseLevel_offsetZ

      public int subresource_sparseLevel_offsetZ()
      Returns:
      the value of the subresource.sparseLevel.offsetZ field.
    • subresource_sparseLevel_extentWidth

      public int subresource_sparseLevel_extentWidth()
      Returns:
      the value of the subresource.sparseLevel.extentWidth field.
    • subresource_sparseLevel_extentHeight

      public int subresource_sparseLevel_extentHeight()
      Returns:
      the value of the subresource.sparseLevel.extentHeight field.
    • subresource_sparseLevel_extentDepth

      public int subresource_sparseLevel_extentDepth()
      Returns:
      the value of the subresource.sparseLevel.extentDepth field.
    • subresource_miptail_layer

      public int subresource_miptail_layer()
      Returns:
      the value of the subresource.miptail.layer field.
    • subresource_miptail_offset

      public long subresource_miptail_offset()
      Returns:
      the value of the subresource.miptail.offset field.
    • subresource_miptail_size

      public long subresource_miptail_size()
      Returns:
      the value of the subresource.miptail.size field.
    • memOperationType

      public int memOperationType()
      Returns:
      the value of the memOperationType field.
    • memHandleType

      public int memHandleType()
      Returns:
      the value of the memHandleType field.
    • memHandle_memHandle

      public long memHandle_memHandle()
      Returns:
      the value of the memHandle.memHandle field.
    • offset

      public long offset()
      Returns:
      the value of the offset field.
    • deviceBitMask

      public int deviceBitMask()
      Returns:
      the value of the deviceBitMask field.
    • flags

      public int flags()
      Returns:
      the value of the flags field.
    • reserved

      public IntBuffer reserved()
      Returns:
      a IntBuffer view of the reserved field.
    • reserved

      public int reserved(int index)
      Returns:
      the value at the specified index of the reserved field.
    • resourceType

      public CUarrayMapInfo.Buffer resourceType(int value)
      Sets the specified value to the resourceType field.
    • resource_mipmap

      public CUarrayMapInfo.Buffer resource_mipmap(long value)
      Sets the specified value to the mipmap field.
    • resource_array

      public CUarrayMapInfo.Buffer resource_array(long value)
      Sets the specified value to the array field.
    • subresourceType

      public CUarrayMapInfo.Buffer subresourceType(int value)
      Sets the specified value to the subresourceType field.
    • subresource_sparseLevel_level

      public CUarrayMapInfo.Buffer subresource_sparseLevel_level(int value)
      Sets the specified value to the level field.
    • subresource_sparseLevel_layer

      public CUarrayMapInfo.Buffer subresource_sparseLevel_layer(int value)
      Sets the specified value to the layer field.
    • subresource_sparseLevel_offsetX

      public CUarrayMapInfo.Buffer subresource_sparseLevel_offsetX(int value)
      Sets the specified value to the offsetX field.
    • subresource_sparseLevel_offsetY

      public CUarrayMapInfo.Buffer subresource_sparseLevel_offsetY(int value)
      Sets the specified value to the offsetY field.
    • subresource_sparseLevel_offsetZ

      public CUarrayMapInfo.Buffer subresource_sparseLevel_offsetZ(int value)
      Sets the specified value to the offsetZ field.
    • subresource_sparseLevel_extentWidth

      public CUarrayMapInfo.Buffer subresource_sparseLevel_extentWidth(int value)
      Sets the specified value to the extentWidth field.
    • subresource_sparseLevel_extentHeight

      public CUarrayMapInfo.Buffer subresource_sparseLevel_extentHeight(int value)
      Sets the specified value to the extentHeight field.
    • subresource_sparseLevel_extentDepth

      public CUarrayMapInfo.Buffer subresource_sparseLevel_extentDepth(int value)
      Sets the specified value to the extentDepth field.
    • subresource_miptail_layer

      public CUarrayMapInfo.Buffer subresource_miptail_layer(int value)
      Sets the specified value to the layer field.
    • subresource_miptail_offset

      public CUarrayMapInfo.Buffer subresource_miptail_offset(long value)
      Sets the specified value to the offset field.
    • subresource_miptail_size

      public CUarrayMapInfo.Buffer subresource_miptail_size(long value)
      Sets the specified value to the size field.
    • memOperationType

      public CUarrayMapInfo.Buffer memOperationType(int value)
      Sets the specified value to the memOperationType field.
    • memHandleType

      public CUarrayMapInfo.Buffer memHandleType(int value)
      Sets the specified value to the memHandleType field.
    • memHandle_memHandle

      public CUarrayMapInfo.Buffer memHandle_memHandle(long value)
      Sets the specified value to the memHandle field.
    • offset

      public CUarrayMapInfo.Buffer offset(long value)
      Sets the specified value to the offset field.
    • deviceBitMask

      public CUarrayMapInfo.Buffer deviceBitMask(int value)
      Sets the specified value to the deviceBitMask field.
    • flags

      public CUarrayMapInfo.Buffer flags(int value)
      Sets the specified value to the flags field.
    • reserved

      public CUarrayMapInfo.Buffer reserved(IntBuffer value)
      Copies the specified IntBuffer to the reserved field.
    • reserved

      public CUarrayMapInfo.Buffer reserved(int index, int value)
      Sets the specified value at the specified index of the reserved field.