struct CUDA_TEXTURE_DESC {
CUaddress_mode addressMode[3];
CUfilter_mode filterMode;
unsigned int flags;
unsigned int maxAnisotropy;
CUfilter_mode mipmapFilterMode;
float mipmapLevelBias;
float minMipmapLevelClamp;
float maxMipmapLevelClamp;
float borderColor[4];
int reserved[12];
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | CUDA_TEXTURE_DESC.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ADDRESSMODE
The struct member offsets. |
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BORDERCOLOR
The struct member offsets. |
| public static final int | FILTERMODE
The struct member offsets. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | MAXANISOTROPY
The struct member offsets. |
| public static final int | MAXMIPMAPLEVELCLAMP
The struct member offsets. |
| public static final int | MINMIPMAPLEVELCLAMP
The struct member offsets. |
| public static final int | MIPMAPFILTERMODE
The struct member offsets. |
| public static final int | MIPMAPLEVELBIAS
The struct member offsets. |
| public static final int | RESERVED
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | CUDA_TEXTURE_DESC(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public IntBuffer | |
| public int | |
| public CUDA_TEXTURE_DESC | |
| public CUDA_TEXTURE_DESC | addressMode(int index, int value)
Sets the specified value at the specified index of the |
| public FloatBuffer | |
| public float | |
| public CUDA_TEXTURE_DESC | |
| public CUDA_TEXTURE_DESC | borderColor(int index, float value)
Sets the specified value at the specified index of the |
| public static CUDA_TEXTURE_DESC | |
| public static CUDA_TEXTURE_DESC. | calloc(int
the buffer capacity capacity)Returns a new |
| public static CUDA_TEXTURE_DESC | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CUDA_TEXTURE_DESC. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static CUDA_TEXTURE_DESC | |
| public static CUDA_TEXTURE_DESC | |
| public static CUDA_TEXTURE_DESC. | |
| public static CUDA_TEXTURE_DESC. | |
| protected CUDA_TEXTURE_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_TEXTURE_DESC | |
| public static CUDA_TEXTURE_DESC | |
| public static CUDA_TEXTURE_DESC. | create(int
the buffer capacity capacity)Returns a new |
| public static CUDA_TEXTURE_DESC. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static CUDA_TEXTURE_DESC | |
| public static CUDA_TEXTURE_DESC. | |
| public int | |
| public CUDA_TEXTURE_DESC | |
| public int | |
| public CUDA_TEXTURE_DESC | |
| public static CUDA_TEXTURE_DESC | |
| public static CUDA_TEXTURE_DESC. | malloc(int
the buffer capacity capacity)Returns a new |
| public static CUDA_TEXTURE_DESC | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CUDA_TEXTURE_DESC. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static CUDA_TEXTURE_DESC | |
| public static CUDA_TEXTURE_DESC | |
| public static CUDA_TEXTURE_DESC. | |
| public static CUDA_TEXTURE_DESC. | |
| public int | |
| public CUDA_TEXTURE_DESC | |
| public float | |
| public CUDA_TEXTURE_DESC | |
| public float | |
| public CUDA_TEXTURE_DESC | |
| public int | |
| public CUDA_TEXTURE_DESC | |
| public float | |
| public CUDA_TEXTURE_DESC | |
| public static IntBuffer | |
| public static int | |
| public static void | |
| public static void | |
| public static FloatBuffer | |
| public static float | |
| public static void | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static float | |
| public static void | |
| public static float | |
| public static void | |
| public static int | |
| public static void | |
| public static float | |
| public static void | |
| public static IntBuffer | |
| public static int | |
| public static void | |
| public static void | |
| public IntBuffer | |
| public int | |
| public CUDA_TEXTURE_DESC | |
| public CUDA_TEXTURE_DESC | reserved(int index, int value)
Sets the specified value at the specified index of the |
| public CUDA_TEXTURE_DESC | set(IntBuffer addressMode, int filterMode, int flags, int maxAnisotropy, int mipmapFilterMode, float mipmapLevelBias, float minMipmapLevelClamp, float maxMipmapLevelClamp, FloatBuffer borderColor, IntBuffer reserved)
Initializes this struct with the specified values. |
| public CUDA_TEXTURE_DESC | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int |