pub unsafe extern "C" fn magma_buffer_set_cache_policy(
    buffer: magma_buffer_t,
    policy: magma_cache_policy_t
) -> magma_status_t
Expand description

\brief Configures the cache for the given buffer. \param buffer A valid buffer. \param policy One of MAGMA_CACHE_POLICY_[CACHED|WRITE_COMBINING|UNCACHED].