Package org.lwjgl.cuda
Class CUarrayMapInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<CUarrayMapInfo,CUarrayMapInfo.Buffer>
-
- org.lwjgl.cuda.CUarrayMapInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.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 ofCUarrayMapInfostructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newCUarrayMapInfo.Bufferinstance 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 byCUarrayMapInfo.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 Detail
-
resourceType
public int resourceType()
- Returns:
- the value of the
CUarrayMapInfo.resourceType()field.
-
resource_mipmap
public long resource_mipmap()
- Returns:
- the value of the
resource.mipmapfield.
-
resource_array
public long resource_array()
- Returns:
- the value of the
resource.arrayfield.
-
subresourceType
public int subresourceType()
- Returns:
- the value of the
CUarrayMapInfo.subresourceType()field.
-
subresource_sparseLevel_level
public int subresource_sparseLevel_level()
- Returns:
- the value of the
CUarrayMapInfo.subresource_sparseLevel_level()field.
-
subresource_sparseLevel_layer
public int subresource_sparseLevel_layer()
- Returns:
- the value of the
CUarrayMapInfo.subresource_sparseLevel_layer()field.
-
subresource_sparseLevel_offsetX
public int subresource_sparseLevel_offsetX()
- Returns:
- the value of the
CUarrayMapInfo.subresource_sparseLevel_offsetX()field.
-
subresource_sparseLevel_offsetY
public int subresource_sparseLevel_offsetY()
- Returns:
- the value of the
CUarrayMapInfo.subresource_sparseLevel_offsetY()field.
-
subresource_sparseLevel_offsetZ
public int subresource_sparseLevel_offsetZ()
- Returns:
- the value of the
CUarrayMapInfo.subresource_sparseLevel_offsetZ()field.
-
subresource_sparseLevel_extentWidth
public int subresource_sparseLevel_extentWidth()
- Returns:
- the value of the
CUarrayMapInfo.subresource_sparseLevel_extentWidth()field.
-
subresource_sparseLevel_extentHeight
public int subresource_sparseLevel_extentHeight()
- Returns:
- the value of the
CUarrayMapInfo.subresource_sparseLevel_extentHeight()field.
-
subresource_sparseLevel_extentDepth
public int subresource_sparseLevel_extentDepth()
- Returns:
- the value of the
CUarrayMapInfo.subresource_sparseLevel_extentDepth()field.
-
subresource_miptail_layer
public int subresource_miptail_layer()
- Returns:
- the value of the
CUarrayMapInfo.subresource_miptail_layer()field.
-
subresource_miptail_offset
public long subresource_miptail_offset()
- Returns:
- the value of the
CUarrayMapInfo.subresource_miptail_offset()field.
-
subresource_miptail_size
public long subresource_miptail_size()
- Returns:
- the value of the
CUarrayMapInfo.subresource_miptail_size()field.
-
memOperationType
public int memOperationType()
- Returns:
- the value of the
CUarrayMapInfo.memOperationType()field.
-
memHandleType
public int memHandleType()
- Returns:
- the value of the
CUarrayMapInfo.memHandleType()field.
-
memHandle_memHandle
public long memHandle_memHandle()
- Returns:
- the value of the
memHandle.memHandlefield.
-
offset
public long offset()
- Returns:
- the value of the
CUarrayMapInfo.offset()field.
-
deviceBitMask
public int deviceBitMask()
- Returns:
- the value of the
CUarrayMapInfo.deviceBitMask()field.
-
flags
public int flags()
- Returns:
- the value of the
CUarrayMapInfo.flags()field.
-
reserved
public java.nio.IntBuffer reserved()
- Returns:
- a
IntBufferview of theCUarrayMapInfo.reserved()field.
-
reserved
public int reserved(int index)
- Returns:
- the value at the specified index of the
CUarrayMapInfo.reserved()field.
-
resourceType
public CUarrayMapInfo.Buffer resourceType(int value)
Sets the specified value to theCUarrayMapInfo.resourceType()field.
-
resource_mipmap
public CUarrayMapInfo.Buffer resource_mipmap(long value)
Sets the specified value to themipmapfield.
-
resource_array
public CUarrayMapInfo.Buffer resource_array(long value)
Sets the specified value to thearrayfield.
-
subresourceType
public CUarrayMapInfo.Buffer subresourceType(int value)
Sets the specified value to theCUarrayMapInfo.subresourceType()field.
-
subresource_sparseLevel_level
public CUarrayMapInfo.Buffer subresource_sparseLevel_level(int value)
Sets the specified value to theCUarrayMapInfo.subresource_sparseLevel_level()field.
-
subresource_sparseLevel_layer
public CUarrayMapInfo.Buffer subresource_sparseLevel_layer(int value)
Sets the specified value to theCUarrayMapInfo.subresource_sparseLevel_layer()field.
-
subresource_sparseLevel_offsetX
public CUarrayMapInfo.Buffer subresource_sparseLevel_offsetX(int value)
Sets the specified value to theCUarrayMapInfo.subresource_sparseLevel_offsetX()field.
-
subresource_sparseLevel_offsetY
public CUarrayMapInfo.Buffer subresource_sparseLevel_offsetY(int value)
Sets the specified value to theCUarrayMapInfo.subresource_sparseLevel_offsetY()field.
-
subresource_sparseLevel_offsetZ
public CUarrayMapInfo.Buffer subresource_sparseLevel_offsetZ(int value)
Sets the specified value to theCUarrayMapInfo.subresource_sparseLevel_offsetZ()field.
-
subresource_sparseLevel_extentWidth
public CUarrayMapInfo.Buffer subresource_sparseLevel_extentWidth(int value)
Sets the specified value to theCUarrayMapInfo.subresource_sparseLevel_extentWidth()field.
-
subresource_sparseLevel_extentHeight
public CUarrayMapInfo.Buffer subresource_sparseLevel_extentHeight(int value)
Sets the specified value to theCUarrayMapInfo.subresource_sparseLevel_extentHeight()field.
-
subresource_sparseLevel_extentDepth
public CUarrayMapInfo.Buffer subresource_sparseLevel_extentDepth(int value)
Sets the specified value to theCUarrayMapInfo.subresource_sparseLevel_extentDepth()field.
-
subresource_miptail_layer
public CUarrayMapInfo.Buffer subresource_miptail_layer(int value)
Sets the specified value to theCUarrayMapInfo.subresource_miptail_layer()field.
-
subresource_miptail_offset
public CUarrayMapInfo.Buffer subresource_miptail_offset(long value)
Sets the specified value to theCUarrayMapInfo.subresource_miptail_offset()field.
-
subresource_miptail_size
public CUarrayMapInfo.Buffer subresource_miptail_size(long value)
Sets the specified value to theCUarrayMapInfo.subresource_miptail_size()field.
-
memOperationType
public CUarrayMapInfo.Buffer memOperationType(int value)
Sets the specified value to theCUarrayMapInfo.memOperationType()field.
-
memHandleType
public CUarrayMapInfo.Buffer memHandleType(int value)
Sets the specified value to theCUarrayMapInfo.memHandleType()field.
-
memHandle_memHandle
public CUarrayMapInfo.Buffer memHandle_memHandle(long value)
Sets the specified value to thememHandlefield.
-
offset
public CUarrayMapInfo.Buffer offset(long value)
Sets the specified value to theCUarrayMapInfo.offset()field.
-
deviceBitMask
public CUarrayMapInfo.Buffer deviceBitMask(int value)
Sets the specified value to theCUarrayMapInfo.deviceBitMask()field.
-
flags
public CUarrayMapInfo.Buffer flags(int value)
Sets the specified value to theCUarrayMapInfo.flags()field.
-
reserved
public CUarrayMapInfo.Buffer reserved(java.nio.IntBuffer value)
Copies the specifiedIntBufferto theCUarrayMapInfo.reserved()field.
-
reserved
public CUarrayMapInfo.Buffer reserved(int index, int value)
Sets the specified value at the specified index of theCUarrayMapInfo.reserved()field.
-
-