cudaError_t cudaGetTextureReference ( const struct textureReference **  texref,
const char *  symbol 
)

Returns in *texref the structure associated to the texture reference defined by symbol symbol.

Parameters:
texref - Texture associated with symbol
symbol - Symbol to find texture reference for
Returns:
cudaSuccess, cudaErrorInvalidTexture
Note:
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cudaCreateChannelDesc (C API), cudaGetChannelDesc, cudaGetTextureAlignmentOffset (C API), cudaBindTexture (C API), cudaBindTexture2D (C API), cudaBindTextureToArray (C API), cudaUnbindTexture (C API)


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA