pub unsafe extern "C" fn hipTexRefSetFormat(
texRef: *mut textureReference,
fmt: hipArray_Format,
NumPackedComponents: c_int,
) -> hipError_t
Expand description
@brief Set format for a texture reference.
@param [in] texRef Pointer texture reference. @param [in] fmt Value of format. @param [in] NumPackedComponents Number of components per array.
@returns #hipSuccess, #hipErrorInvalidValue
@warning This API is deprecated.