Function cuTexRefSetMipmapLevelBias

Source
pub unsafe extern "C" fn cuTexRefSetMipmapLevelBias(
    hTexRef: CUtexref,
    bias: f32,
) -> CUresult
Expand description

\brief Sets the mipmap level bias for a texture reference

\deprecated

Specifies the mipmap level bias \p bias to be added to the specified mipmap level when reading memory through the texture reference \p hTexRef.

Note that this call has no effect if \p hTexRef is not bound to a mipmapped array.

\param hTexRef - Texture reference \param bias - Mipmap level bias

\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