You.i Engine
YiMeshFactory.h
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2017. All rights reserved.
2 #ifndef _YI_MESH_FACTORY_H_
3 #define _YI_MESH_FACTORY_H_
4 
5 #include "framework/YiPredef.h"
6 #include "renderer/YiMesh.h"
7 
13 class IYIGPUObject;
14 
21 {
22 public:
26  virtual ~CYIMeshFactory() {};
27 
38  virtual std::shared_ptr<CYIMesh> CreateQuadMesh(float fWidth, float fHeight, bool yFlip = true);
39 
49  virtual std::shared_ptr<CYIMesh> CreateQuadMesh(float fWidth, float fHeight, const glm::vec2 &vTopLeftVertex, const glm::vec2 &vBottomRightVertex, bool yFlip = true);
50 };
51 
54 #endif // _YI_MESH_FACTORY_H_
virtual ~CYIMeshFactory()
Definition: YiMeshFactory.h:26
An interface for managing GPU-bound objects such as shaders and textures.
Definition: YiGPUObject.h:18
virtual std::shared_ptr< CYIMesh > CreateQuadMesh(float fWidth, float fHeight, bool yFlip=true)
Factory for the creation of meshes.
Definition: YiMeshFactory.h:20