Continue adding opengl font support.
This commit is contained in:
parent
649079a5c7
commit
eef93efc29
37 changed files with 530 additions and 157 deletions
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "TextData.h"
|
||||
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
|
||||
|
@ -15,6 +17,7 @@ class Image;
|
|||
class Scene
|
||||
{
|
||||
public:
|
||||
|
||||
Scene() = default;
|
||||
|
||||
void syncLayers(const std::vector<VisualLayer*>& layers);
|
||||
|
@ -27,11 +30,14 @@ public:
|
|||
|
||||
Image<unsigned char>* getTexture(std::size_t idx) const;
|
||||
|
||||
private:
|
||||
const std::vector<TextData>& getTextData() const;
|
||||
|
||||
private:
|
||||
void processRectangleNode(RectangleNode* node);
|
||||
|
||||
std::vector<TriMesh*> mWorkingMeshs;
|
||||
std::vector<VisualLayer*> mLayers;
|
||||
std::vector<TriMesh*> mWorkingMeshs;
|
||||
std::vector<Image<unsigned char>* > mTextures;
|
||||
|
||||
std::vector<TextData> mTextData;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue