Public Member Functions | |
| cGpuProgramManager (cFileSearcher *apFileSearcher, iLowLevelGraphics *apLowLevelGraphics, LowLevelResources *apLowLevelResources, LowLevelSystem *apLowLevelSystem) | |
| iResourceBase * | Create (const tString &asName) |
| iGpuProgram * | CreateProgram (const tString &vertex, const tString &fragment, eGpuProgramType aType=eGpuProgramType_LastEnum) |
| void | Destroy (iResourceBase *apResource) |
| void | Unload (iResourceBase *apResource) |
Public Member Functions inherited from hpl::iResourceManager | |
| iResourceManager (cFileSearcher *apFileSearcher, LowLevelResources *apLowLevelResources, LowLevelSystem *apLowLevelSystem) | |
| iResourceBase * | GetByName (const tString &asName) |
| iResourceBase * | GetByHandle (unsigned long alHandle) |
| cResourceBaseIterator | GetResourceBaseIterator () |
| void | DestroyUnused (int alMaxToKeep) |
| virtual void | DestroyAll () |
| virtual void | Update (float afTimeStep) |
Additional Inherited Members | |
Protected Member Functions inherited from hpl::iResourceManager | |
| void | BeginLoad (const tString &asFile) |
| void | EndLoad () |
| iResourceBase * | FindLoadedResource (const tString &asName, tString &asFilePath) |
| void | AddResource (iResourceBase *apResource, bool abLog=true) |
| void | RemoveResource (iResourceBase *apResource) |
| unsigned long | GetHandle () |
| tString | GetTabs () |
Protected Attributes inherited from hpl::iResourceManager | |
| unsigned long | mlHandleCount |
| tResourceNameMap | m_mapNameResources |
| tResourceHandleMap | m_mapHandleResources |
| cFileSearcher * | mpFileSearcher |
| LowLevelResources * | mpLowLevelResources |
| LowLevelSystem * | mpLowLevelSystem |
| unsigned long | mlTimeStart |
Static Protected Attributes inherited from hpl::iResourceManager | |
| static int | mlTabCount |
| iGpuProgram* hpl::cGpuProgramManager::CreateProgram | ( | const tString & | vertex, |
| const tString & | fragment, | ||
| eGpuProgramType | aType = eGpuProgramType_LastEnum |
||
| ) |
Creates a new GPU program
| asName | name of the program |
| asEntry | the entry point of the program (usually "main") |
| aType | type of the program |