Function nvcvAllocatorGet
Defined in File Allocator.h
Function Documentation
-
NVCVStatus nvcvAllocatorGet(NVCVAllocatorHandle handle, NVCVResourceType resType, NVCVResourceAllocator *result)
Gets a custom allocator descriptor for given resource type.
Retrieves a resource descriptor
- Parameters:
handle – The allocator handle
resType – The resource type for which to get the descriptor
result – [out] The underlying custom allocator
- Return values:
NVCV_ERROR_INVALID_ARGUMENT – The handle is invalid or there’s no allocator that corresponds to resType.
NVCV_SUCCESS – Allocator created successfully.