Home -> IRendererPlugin -> AllocatorPointer

Declaration

typedef IGraphicsDeviceEnumerator* (*AllocatorPointer)(cobalt::logging::ILogger* log);

Description

The AllocatorPointer typedef describes the renderer plugin function pointer used to allocate an IGraphicsDeviceEnumerator.

The logger pointer is transferred to the created enumerator. The enumerator is returned as a raw pointer so it can be wrapped by the shared interface smart pointer on the caller side.

See also