Package org.lwjgl.cuda
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.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newCUarrayMapInfo.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionintdeviceBitMask(int value) Sets the specified value to thedeviceBitMaskfield.intflags()flags(int value) Sets the specified value to theflagsfield.longmemHandle_memHandle(long value) Sets the specified value to thememHandlefield.intmemHandleType(int value) Sets the specified value to thememHandleTypefield.intmemOperationType(int value) Sets the specified value to thememOperationTypefield.longoffset()offset(long value) Sets the specified value to theoffsetfield.reserved()intreserved(int index) reserved(int index, int value) Sets the specified value at the specified index of thereservedfield.Copies the specifiedIntBufferto thereservedfield.longresource_array(long value) Sets the specified value to thearrayfield.longresource_mipmap(long value) Sets the specified value to themipmapfield.intresourceType(int value) Sets the specified value to theresourceTypefield.intsubresource_miptail_layer(int value) Sets the specified value to thelayerfield.longsubresource_miptail_offset(long value) Sets the specified value to theoffsetfield.longsubresource_miptail_size(long value) Sets the specified value to thesizefield.intsubresource_sparseLevel_extentDepth(int value) Sets the specified value to theextentDepthfield.intsubresource_sparseLevel_extentHeight(int value) Sets the specified value to theextentHeightfield.intsubresource_sparseLevel_extentWidth(int value) Sets the specified value to theextentWidthfield.intsubresource_sparseLevel_layer(int value) Sets the specified value to thelayerfield.intsubresource_sparseLevel_level(int value) Sets the specified value to thelevelfield.intsubresource_sparseLevel_offsetX(int value) Sets the specified value to theoffsetXfield.intsubresource_sparseLevel_offsetY(int value) Sets the specified value to theoffsetYfield.intsubresource_sparseLevel_offsetZ(int value) Sets the specified value to theoffsetZfield.intsubresourceType(int value) Sets the specified value to thesubresourceTypefield.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
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 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
resourceTypefield.
-
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
subresourceTypefield.
-
subresource_sparseLevel_level
public int subresource_sparseLevel_level()- Returns:
- the value of the
subresource.sparseLevel.levelfield.
-
subresource_sparseLevel_layer
public int subresource_sparseLevel_layer()- Returns:
- the value of the
subresource.sparseLevel.layerfield.
-
subresource_sparseLevel_offsetX
public int subresource_sparseLevel_offsetX()- Returns:
- the value of the
subresource.sparseLevel.offsetXfield.
-
subresource_sparseLevel_offsetY
public int subresource_sparseLevel_offsetY()- Returns:
- the value of the
subresource.sparseLevel.offsetYfield.
-
subresource_sparseLevel_offsetZ
public int subresource_sparseLevel_offsetZ()- Returns:
- the value of the
subresource.sparseLevel.offsetZfield.
-
subresource_sparseLevel_extentWidth
public int subresource_sparseLevel_extentWidth()- Returns:
- the value of the
subresource.sparseLevel.extentWidthfield.
-
subresource_sparseLevel_extentHeight
public int subresource_sparseLevel_extentHeight()- Returns:
- the value of the
subresource.sparseLevel.extentHeightfield.
-
subresource_sparseLevel_extentDepth
public int subresource_sparseLevel_extentDepth()- Returns:
- the value of the
subresource.sparseLevel.extentDepthfield.
-
subresource_miptail_layer
public int subresource_miptail_layer()- Returns:
- the value of the
subresource.miptail.layerfield.
-
subresource_miptail_offset
public long subresource_miptail_offset()- Returns:
- the value of the
subresource.miptail.offsetfield.
-
subresource_miptail_size
public long subresource_miptail_size()- Returns:
- the value of the
subresource.miptail.sizefield.
-
memOperationType
public int memOperationType()- Returns:
- the value of the
memOperationTypefield.
-
memHandleType
public int memHandleType()- Returns:
- the value of the
memHandleTypefield.
-
memHandle_memHandle
public long memHandle_memHandle()- Returns:
- the value of the
memHandle.memHandlefield.
-
offset
public long offset()- Returns:
- the value of the
offsetfield.
-
deviceBitMask
public int deviceBitMask()- Returns:
- the value of the
deviceBitMaskfield.
-
flags
public int flags()- Returns:
- the value of the
flagsfield.
-
reserved
- Returns:
- a
IntBufferview of thereservedfield.
-
reserved
public int reserved(int index) - Returns:
- the value at the specified index of the
reservedfield.
-
resourceType
Sets the specified value to theresourceTypefield. -
resource_mipmap
Sets the specified value to themipmapfield. -
resource_array
Sets the specified value to thearrayfield. -
subresourceType
Sets the specified value to thesubresourceTypefield. -
subresource_sparseLevel_level
Sets the specified value to thelevelfield. -
subresource_sparseLevel_layer
Sets the specified value to thelayerfield. -
subresource_sparseLevel_offsetX
Sets the specified value to theoffsetXfield. -
subresource_sparseLevel_offsetY
Sets the specified value to theoffsetYfield. -
subresource_sparseLevel_offsetZ
Sets the specified value to theoffsetZfield. -
subresource_sparseLevel_extentWidth
Sets the specified value to theextentWidthfield. -
subresource_sparseLevel_extentHeight
Sets the specified value to theextentHeightfield. -
subresource_sparseLevel_extentDepth
Sets the specified value to theextentDepthfield. -
subresource_miptail_layer
Sets the specified value to thelayerfield. -
subresource_miptail_offset
Sets the specified value to theoffsetfield. -
subresource_miptail_size
Sets the specified value to thesizefield. -
memOperationType
Sets the specified value to thememOperationTypefield. -
memHandleType
Sets the specified value to thememHandleTypefield. -
memHandle_memHandle
Sets the specified value to thememHandlefield. -
offset
Sets the specified value to theoffsetfield. -
deviceBitMask
Sets the specified value to thedeviceBitMaskfield. -
flags
Sets the specified value to theflagsfield. -
reserved
Copies the specifiedIntBufferto thereservedfield. -
reserved
Sets the specified value at the specified index of thereservedfield.
-