Live2D  Version 2.0
Live2D rendering engine API reference
 All Classes Namespaces Functions
LDAllocator Class Referenceabstract

#include <LDAllocator.h>

Public Types

enum  Type { MAIN = 0, GPU }
 

Public Member Functions

virtual void * pageAlloc (unsigned int size, LDAllocator::Type allocType)=0
 
virtual void pageFree (void *ptr, LDAllocator::Type allocType)=0
 
virtual void init ()
 
virtual void dispose ()
 

Detailed Description


Member Function Documentation

virtual void dispose ( )
inlinevirtual

virtual void init ( )
inlinevirtual

virtual void* pageAlloc ( unsigned int  size,
LDAllocator::Type  allocType 
)
pure virtual

virtual void pageFree ( void *  ptr,
LDAllocator::Type  allocType 
)
pure virtual


The documentation for this class was generated from the following files: