Struct NVCVResourceAllocatorRec

Struct Documentation

struct NVCVResourceAllocatorRec

Public Members

void *ctx

Pointer to user context. It’s passed unchanged to memory allocation/deallocation functions. It can be NULL, in this case no context is passed in.

NVCVResourceType resType

Type of memory being handled by fnMemAlloc and fnMemFree.

NVCVCustomResourceAllocator res
NVCVResourceAllocatorCleanupFunc cleanup