Function hip_sys::hiprt::hipCreateTextureObject
source · pub unsafe extern "C" fn hipCreateTextureObject(
pTexObject: *mut *mut __hip_texture,
pResDesc: *const hipResourceDesc,
pTexDesc: *const hipTextureDesc,
pResViewDesc: *const hipResourceViewDesc
) -> hipError_tExpand description
@brief Creates a texture object.
@param [out] pTexObject pointer to the texture object to create @param [in] pResDesc pointer to resource descriptor @param [in] pTexDesc pointer to texture descriptor @param [in] pResViewDesc pointer to resource view descriptor
@returns hipSuccess, hipErrorInvalidValue, hipErrorNotSupported, hipErrorOutOfMemory
@note 3D liner filter isn’t supported on GFX90A boards, on which the API @p hipCreateTextureObject will return hipErrorNotSupported.