|
Returns in *pFormat and *pNumChannels the format and number of components of the CUDA array bound to the texture reference hTexRef . If pFormat or pNumChannels is NULL, it will be ignored.
- Parameters:
-
| pFormat | - Returned format |
| pNumChannels | - Returned number of components |
| hTexRef | - Texture reference |
- Returns:
- CUDA_SUCCESS, CUDA_ERROR_DEINITIALIZED, CUDA_ERROR_NOT_INITIALIZED, CUDA_ERROR_INVALID_CONTEXT, CUDA_ERROR_INVALID_VALUE
- See also:
- cuTexRefSetAddress, cuTexRefSetAddress2D, cuTexRefSetAddressMode, cuTexRefSetArray, cuTexRefSetFilterMode, cuTexRefSetFlags, cuTexRefSetFormat, cuTexRefGetAddress, cuTexRefGetAddressMode, cuTexRefGetArray, cuTexRefGetFilterMode, cuTexRefGetFlags
|