mirror of https://github.com/axmolengine/axmol.git
c37af4c38e
1. Rename uniformId to batchId, refine batch draw check logic, not use xxhash to compute uniforms id 2. Material works, not check all cpp-tests, but some 2d/3d material works fine 3. Shader load/cache API improvements. 4. BREAK compatibliity: Node::setProgramState change parameter needsRetain to ownPS and value inverted. 5. custom vertexLayout setup: add new API ProgramState::getMutableVertexLayout, mark ProgramState::setVertexAttrib deprecated. 6. ProgramManager registerCustomProgram change to gen progId by vsName, fsName with xxhash64, if register succed, user can load it by progId with `loadProgram` 7. Add API ProgramManager::loadProgram for loading builtin by progType or loding a custom program by id 8. Add API ProgramManager::loadProgram to load program by vsName, fsName immediately without register as CUSTOM_PROGRAM 9. Add API Node::setProgramStateByProgramId(progTypeOrId); for set programState with programType or programId explicit. 10. Migrate material load logic |
||
---|---|---|
.. | ||
Source | ||
proj.android | ||
proj.ios | ||
proj.linux | ||
proj.mac | ||
proj.win32 | ||
proj.winrt | ||
CMakeLists.txt |