You.i Engine
YiAtlasTextSceneNode.h
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2017. All rights reserved.
2 #ifndef _YI_ATLAS_TEXT_SCENE_NODE_H_
3 #define _YI_ATLAS_TEXT_SCENE_NODE_H_
4 
6 
8 class CYIUnderlineSceneNode;
9 
27 {
28 public:
30  virtual ~CYIAtlasTextSceneNode();
31 
32 protected:
38  void GenerateTextMesh();
39 
40  virtual void PrepareToDraw() override;
41 
42 private:
43  std::shared_ptr<CYIAssetBufferObjectData> m_pVertices;
44  CYIUnderlineSceneNode *m_pUnderlineNode;
45 
47 };
48 
53 #endif // _YI_ATLAS_TEXT_SCENE_NODE_H_
#define YI_TYPE_BASES(...)
Definition: YiRtti.h:350
virtual void PrepareToDraw() override
A specialized CYITextSceneNode that uses a texture atlas.
Definition: YiAtlasTextSceneNode.h:26
A scene node type that renders text.
Definition: YiTextSceneNode.h:77
As asset container which wraps shared index or vertex buffer object data.
Definition: YiAssetBufferObjectData.h:17
virtual ~CYIAtlasTextSceneNode()