struct CUDA_RESOURCE_VIEW_DESC {
CUresourceViewFormat format;
size_t width;
size_t height;
size_t depth;
unsigned int firstMipmapLevel;
unsigned int lastMipmapLevel;
unsigned int firstLayer;
unsigned int lastLayer;
unsigned int reserved[16];
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | CUDA_RESOURCE_VIEW_DESC.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DEPTH
The struct member offsets. |
| public static final int | FIRSTLAYER
The struct member offsets. |
| public static final int | FIRSTMIPMAPLEVEL
The struct member offsets. |
| public static final int | FORMAT
The struct member offsets. |
| public static final int | HEIGHT
The struct member offsets. |
| public static final int | LASTLAYER
The struct member offsets. |
| public static final int | LASTMIPMAPLEVEL
The struct member offsets. |
| public static final int | RESERVED
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | WIDTH
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | CUDA_RESOURCE_VIEW_DESC(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static CUDA_RESOURCE_VIEW_DESC | |
| public static CUDA_RESOURCE_VIEW_DESC. | calloc(int
the buffer capacity capacity)Returns a new |
| public static CUDA_RESOURCE_VIEW_DESC | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CUDA_RESOURCE_VIEW_DESC. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static CUDA_RESOURCE_VIEW_DESC | |
| public static CUDA_RESOURCE_VIEW_DESC | |
| public static CUDA_RESOURCE_VIEW_DESC. | |
| public static CUDA_RESOURCE_VIEW_DESC. | |
| protected CUDA_RESOURCE_VIEW_DESC | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static CUDA_RESOURCE_VIEW_DESC | |
| public static CUDA_RESOURCE_VIEW_DESC | create(long address)
Returns a new |
| public static CUDA_RESOURCE_VIEW_DESC. | create(int
the buffer capacity capacity)Returns a new |
| public static CUDA_RESOURCE_VIEW_DESC. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static CUDA_RESOURCE_VIEW_DESC | |
| public static CUDA_RESOURCE_VIEW_DESC. | |
| public long | |
| public CUDA_RESOURCE_VIEW_DESC | |
| public int | |
| public CUDA_RESOURCE_VIEW_DESC | |
| public int | |
| public CUDA_RESOURCE_VIEW_DESC | |
| public int | |
| public CUDA_RESOURCE_VIEW_DESC | |
| public long | |
| public CUDA_RESOURCE_VIEW_DESC | |
| public int | |
| public CUDA_RESOURCE_VIEW_DESC | |
| public int | |
| public CUDA_RESOURCE_VIEW_DESC | |
| public static CUDA_RESOURCE_VIEW_DESC | |
| public static CUDA_RESOURCE_VIEW_DESC. | malloc(int
the buffer capacity capacity)Returns a new |
| public static CUDA_RESOURCE_VIEW_DESC | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CUDA_RESOURCE_VIEW_DESC. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static CUDA_RESOURCE_VIEW_DESC | |
| public static CUDA_RESOURCE_VIEW_DESC | |
| public static CUDA_RESOURCE_VIEW_DESC. | |
| public static CUDA_RESOURCE_VIEW_DESC. | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static IntBuffer | |
| public static int | |
| public static void | |
| public static void | |
| public static long | |
| public static void | |
| public IntBuffer | |
| public int | |
| public CUDA_RESOURCE_VIEW_DESC | |
| public CUDA_RESOURCE_VIEW_DESC | reserved(int index, int value)
Sets the specified value at the specified index of the |
| public CUDA_RESOURCE_VIEW_DESC | |
| public CUDA_RESOURCE_VIEW_DESC | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public long | |
| public CUDA_RESOURCE_VIEW_DESC |