Function ptex_sys::ffi::ptexcache_create

source ·
pub unsafe fn ptexcache_create(
    max_files: i32,
    max_mem: usize,
    premultiply: bool
) -> *mut PtexCache
Expand description

Create a cache with the specified limits.

§Safety

The value returned must be released using ptexcache_release.