Класс входит в проект Example
Класс отрисовки простой 2D игры для слоя layers::Simple2DGame.
Подробнее...
#include <Simple2DGame.hpp>
|
void | AddCommonComponents (void) |
|
ObjectId_t | AddCamera (float, float) |
|
GameObject_t | BuildRectangle (const GameObject_t &, float, float, float, float, float, float) |
|
GameObject_t | BuildRectangle (const Rect &, const Rect &, float, float, float, float, const String_t &, const GameObject_t &) |
|
GameObject_t | BuildRectangle (const Rect &, const Rect &, float, float, float, float, const GameObject_t &, const GameObject_t &) |
|
Класс входит в проект Example
Класс отрисовки простой 2D игры для слоя layers::Simple2DGame.
- Версия
- 1.0.0.0
2.0.0.0
- Дата
- 29 Январь 2019
22 Июнь 2020
- Автор
- CTAPOBEP (unico.nosp@m.rnum.nosp@m..veru.nosp@m.m@gm.nosp@m.ail.c.nosp@m.om)
- Авторство
- © CTAPOBEP 2019 - 2020
◆ AddCamera()
auto Simple2DGame::AddCamera |
( |
float |
_Xo, |
|
|
float |
_Yo |
|
) |
| |
|
private |
[Create camera]
[Create camera]
◆ AddCommonComponents()
void Simple2DGame::AddCommonComponents |
( |
void |
| ) |
|
|
private |
◆ BuildRectangle() [1/3]
auto Simple2DGame::BuildRectangle |
( |
const GameObject_t & |
_Transform, |
|
|
float |
_Width, |
|
|
float |
_Height, |
|
|
float |
_R, |
|
|
float |
_G, |
|
|
float |
_B, |
|
|
float |
_A |
|
) |
| |
|
private |
[Colored object]
[Colored object]
◆ BuildRectangle() [2/3]
auto Simple2DGame::BuildRectangle |
( |
const Rect & |
_Polygon, |
|
|
const Rect & |
_TexCoord, |
|
|
float |
_R, |
|
|
float |
_G, |
|
|
float |
_B, |
|
|
float |
_A, |
|
|
const GameObject_t & |
_PixelData, |
|
|
const GameObject_t & |
_Transform |
|
) |
| |
|
private |
[Vertex buffer]
[Vertex buffer]
[Common object renders]
[Common object renders]
◆ BuildRectangle() [3/3]
auto Simple2DGame::BuildRectangle |
( |
const Rect & |
_Polygon, |
|
|
const Rect & |
_TexCoord, |
|
|
float |
_R, |
|
|
float |
_G, |
|
|
float |
_B, |
|
|
float |
_A, |
|
|
const String_t & |
_TextureId, |
|
|
const GameObject_t & |
_Transform |
|
) |
| |
|
private |
[Textured object]
[Textured object]
Объявления и описания членов классов находятся в файлах:
- Solution/Solution/Example/Example/Basements/Simple2DGame.hpp
- Solution/Solution/Example/Example/Basements/Simple2DGame.cpp