Function cuTexRefSetMaxAnisotropy

Source
pub unsafe extern "C" fn cuTexRefSetMaxAnisotropy(
    hTexRef: CUtexref,
    maxAniso: c_uint,
) -> CUresult
Expand description

\brief Sets the maximum anisotropy for a texture reference

\deprecated

Specifies the maximum anisotropy \p maxAniso to be used when reading memory through the texture reference \p hTexRef.

Note that this call has no effect if \p hTexRef is bound to linear memory.

\param hTexRef - Texture reference \param maxAniso - Maximum anisotropy

\return ::CUDA_SUCCESS, ::CUDA_ERROR_DEINITIALIZED, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_INVALID_CONTEXT, ::CUDA_ERROR_INVALID_VALUE

\sa ::cuTexRefSetAddress, ::cuTexRefSetAddress2D, ::cuTexRefSetAddressMode, ::cuTexRefSetArray, ::cuTexRefSetFlags, ::cuTexRefSetFormat, ::cuTexRefGetAddress, ::cuTexRefGetAddressMode, ::cuTexRefGetArray, ::cuTexRefGetFilterMode, ::cuTexRefGetFlags, ::cuTexRefGetFormat