mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-19 14:52:40 +08:00
25 lines
697 B
C++
25 lines
697 B
C++
#pragma once
|
|
|
|
#include "mesh-type-define.h"
|
|
#include "spine/spine.h"
|
|
|
|
class AttachmentVertices {
|
|
public:
|
|
AttachmentVertices(int verticesCount, uint16_t *triangles, int trianglesCount, const spine::String& textureUUID);
|
|
virtual ~AttachmentVertices();
|
|
AttachmentVertices *copy();
|
|
Triangles *_triangles = nullptr;
|
|
spine::String _textureUUID;
|
|
spine::String _textureName;
|
|
};
|
|
|
|
class AtlasAttachmentLoaderExtension : public spine::AtlasAttachmentLoader {
|
|
public:
|
|
AtlasAttachmentLoaderExtension(spine::Atlas *atlas);
|
|
virtual ~AtlasAttachmentLoaderExtension();
|
|
virtual void configureAttachment(spine::Attachment *attachment);
|
|
|
|
private:
|
|
spine::Atlas *_atlasCache;
|
|
};
|