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 |
||
---|---|---|
.. | ||
runtime | ||
shaders | ||
CMakeLists.txt | ||
README.md | ||
SkeletonAnimation.cpp | ||
SkeletonAnimation.h | ||
SkeletonBatch.cpp | ||
SkeletonBatch.h | ||
SkeletonRenderer.cpp | ||
SkeletonRenderer.h | ||
SkeletonTwoColorBatch.cpp | ||
SkeletonTwoColorBatch.h | ||
spine-cocos2dx.cpp | ||
spine-cocos2dx.h |
README.md
spine 3.6~4.1 for axmol
Usage
- Delete all files of folder
axmol/extensions/spine
- Switch to branch
spinexx
then copyspine-axmol/spine
toaxmol/extensions/spine
References
- axmol: https://github.com/axmolengine/axmol
- spine-runtimes: https://github.com/EsotericSoftware/spine-runtimes