Package org.bytedeco.cuda.cudart
Class CUDA_RESOURCE_VIEW_DESC
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.cuda.cudart.CUDA_RESOURCE_VIEW_DESC
-
- All Implemented Interfaces:
AutoCloseable
@Properties(inherit=cudart.class) public class CUDA_RESOURCE_VIEW_DESC extends Pointer
Resource view descriptor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
-
-
Constructor Summary
Constructors Constructor Description CUDA_RESOURCE_VIEW_DESC()Default native constructor.CUDA_RESOURCE_VIEW_DESC(long size)Native array allocator.CUDA_RESOURCE_VIEW_DESC(Pointer p)Pointer cast constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longdepth()Depth of the resource viewCUDA_RESOURCE_VIEW_DESCdepth(long setter)intfirstLayer()First layer indexCUDA_RESOURCE_VIEW_DESCfirstLayer(int setter)intfirstMipmapLevel()First defined mipmap levelCUDA_RESOURCE_VIEW_DESCfirstMipmapLevel(int setter)intformat()Resource view formatCUDA_RESOURCE_VIEW_DESCformat(int setter)CUDA_RESOURCE_VIEW_DESCgetPointer(long i)longheight()Height of the resource viewCUDA_RESOURCE_VIEW_DESCheight(long setter)intlastLayer()Last layer indexCUDA_RESOURCE_VIEW_DESClastLayer(int setter)intlastMipmapLevel()Last defined mipmap levelCUDA_RESOURCE_VIEW_DESClastMipmapLevel(int setter)CUDA_RESOURCE_VIEW_DESCposition(long position)IntPointerreserved()intreserved(int i)CUDA_RESOURCE_VIEW_DESCreserved(int i, int setter)longwidth()Width of the resource viewCUDA_RESOURCE_VIEW_DESCwidth(long setter)-
Methods inherited from class org.bytedeco.javacpp.Pointer
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
-
-
-
-
Constructor Detail
-
CUDA_RESOURCE_VIEW_DESC
public CUDA_RESOURCE_VIEW_DESC()
Default native constructor.
-
CUDA_RESOURCE_VIEW_DESC
public CUDA_RESOURCE_VIEW_DESC(long size)
Native array allocator. Access withPointer.position(long).
-
CUDA_RESOURCE_VIEW_DESC
public CUDA_RESOURCE_VIEW_DESC(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Detail
-
position
public CUDA_RESOURCE_VIEW_DESC position(long position)
-
getPointer
public CUDA_RESOURCE_VIEW_DESC getPointer(long i)
- Overrides:
getPointerin classPointer
-
format
@Cast("CUresourceViewFormat") public int format()
Resource view format
-
format
public CUDA_RESOURCE_VIEW_DESC format(int setter)
-
width
@Cast("size_t") public long width()
Width of the resource view
-
width
public CUDA_RESOURCE_VIEW_DESC width(long setter)
-
height
@Cast("size_t") public long height()
Height of the resource view
-
height
public CUDA_RESOURCE_VIEW_DESC height(long setter)
-
depth
@Cast("size_t") public long depth()
Depth of the resource view
-
depth
public CUDA_RESOURCE_VIEW_DESC depth(long setter)
-
firstMipmapLevel
@Cast("unsigned int") public int firstMipmapLevel()
First defined mipmap level
-
firstMipmapLevel
public CUDA_RESOURCE_VIEW_DESC firstMipmapLevel(int setter)
-
lastMipmapLevel
@Cast("unsigned int") public int lastMipmapLevel()
Last defined mipmap level
-
lastMipmapLevel
public CUDA_RESOURCE_VIEW_DESC lastMipmapLevel(int setter)
-
firstLayer
@Cast("unsigned int") public int firstLayer()
First layer index
-
firstLayer
public CUDA_RESOURCE_VIEW_DESC firstLayer(int setter)
-
lastLayer
@Cast("unsigned int") public int lastLayer()
Last layer index
-
lastLayer
public CUDA_RESOURCE_VIEW_DESC lastLayer(int setter)
-
reserved
@Cast("unsigned int") public int reserved(int i)
-
reserved
public CUDA_RESOURCE_VIEW_DESC reserved(int i, int setter)
-
reserved
@MemberGetter @Cast("unsigned int*") public IntPointer reserved()
-
-