cubecl_hip_sys

Function hipTexRefSetMipmapLevelClamp

Source
pub unsafe extern "C" fn hipTexRefSetMipmapLevelClamp(
    texRef: *mut textureReference,
    minMipMapLevelClamp: f32,
    maxMipMapLevelClamp: f32,
) -> hipError_t
Expand description

@brief Sets mipmap level clamp for a texture reference.

@param [in] texRef Pointer of texture reference. @param [in] minMipMapLevelClamp Value of minimum mipmap level clamp. @param [in] maxMipMapLevelClamp Value of maximum mipmap level clamp.

@returns #hipSuccess, #hipErrorInvalidValue, #hipErrorNotSupported

@warning This API is deprecated.