TDME2
1.9.121
src
tdme
engine
subsystems
rendering
TransparentRenderFacesPool.cpp
Go to the documentation of this file.
1
#include <
tdme/engine/subsystems/rendering/TransparentRenderFacesPool.h
>
2
3
#include <string>
4
#include <vector>
5
6
#include <
tdme/tdme.h
>
7
#include <
tdme/engine/model/Face.h
>
8
#include <
tdme/engine/model/FacesEntity.h
>
9
#include <
tdme/engine/model/Node.h
>
10
#include <
tdme/engine/subsystems/rendering/Object3DNode.h
>
11
#include <
tdme/engine/subsystems/rendering/Object3DNodeMesh.h
>
12
#include <
tdme/engine/subsystems/rendering/TransparentRenderFace.h
>
13
#include <
tdme/engine/subsystems/rendering/TransparentRenderFacesPool_TransparentRenderFacesPool.h
>
14
#include <
tdme/math/Matrix4x4.h
>
15
#include <
tdme/math/Vector3.h
>
16
#include <
tdme/utilities/Console.h
>
17
#include <
tdme/utilities/Pool.h
>
18
19
using
std::string;
20
using
std::vector;
21
22
using
tdme::engine::model::Face
;
23
using
tdme::engine::model::FacesEntity
;
24
using
tdme::engine::model::Node
;
25
using
tdme::engine::subsystems::rendering::Object3DNode
;
26
using
tdme::engine::subsystems::rendering::Object3DNodeMesh
;
27
using
tdme::engine::subsystems::rendering::TransparentRenderFace
;
28
using
tdme::engine::subsystems::rendering::TransparentRenderFacesPool
;
29
using
tdme::engine::subsystems::rendering::TransparentRenderFacesPool_TransparentRenderFacesPool
;
30
using
tdme::math::Matrix4x4
;
31
using
tdme::math::Vector3
;
32
using
tdme::utilities::Console
;
33
using
tdme::utilities::Pool
;
34
35
constexpr
int32_t TransparentRenderFacesPool::FACES_MAX;
36
37
TransparentRenderFacesPool::TransparentRenderFacesPool()
38
{
39
}
40
41
int32_t
TransparentRenderFacesPool::size
()
42
{
43
return
transparentRenderFacesPool
.
size
();
44
}
45
46
void
TransparentRenderFacesPool::reset
()
47
{
48
transparentRenderFacesPool
.
reset
();
49
transparentRenderFaces
.clear();
50
}
51
52
vector<TransparentRenderFace*>&
TransparentRenderFacesPool::getTransparentRenderFaces
()
53
{
54
return
transparentRenderFaces
;
55
}
56
Console.h
Face.h
FacesEntity.h
Matrix4x4.h
Node.h
Object3DNodeMesh.h
Object3DNode.h
Pool.h
TransparentRenderFace.h
TransparentRenderFacesPool.h
TransparentRenderFacesPool_TransparentRenderFacesPool.h
Vector3.h
tdme::engine::model::Face
Represents a model face, consisting of vertex, normal, tangent and bitangent vectors,...
Definition:
Face.h:19
tdme::engine::model::FacesEntity
Node faces entity A node can have multiple entities containing faces and a applied material.
Definition:
FacesEntity.h:28
tdme::engine::model::Node
Model node.
Definition:
Node.h:31
tdme::engine::subsystems::rendering::Object3DNodeMesh
Object 3D node mesh specifically for rendering.
Definition:
Object3DNodeMesh.h:38
tdme::engine::subsystems::rendering::Object3DNode
Object 3d node specifically for rendering.
Definition:
Object3DNode.h:39
tdme::engine::subsystems::rendering::TransparentRenderFacesPool_TransparentRenderFacesPool
Transparent render faces pool.
Definition:
TransparentRenderFacesPool_TransparentRenderFacesPool.h:18
tdme::engine::subsystems::rendering::TransparentRenderFacesPool
Transparent render faces pool.
Definition:
TransparentRenderFacesPool.h:44
tdme::engine::subsystems::rendering::TransparentRenderFacesPool::transparentRenderFacesPool
TransparentRenderFacesPool_TransparentRenderFacesPool transparentRenderFacesPool
Definition:
TransparentRenderFacesPool.h:51
tdme::engine::subsystems::rendering::TransparentRenderFacesPool::size
int32_t size()
Definition:
TransparentRenderFacesPool.cpp:41
tdme::engine::subsystems::rendering::TransparentRenderFacesPool::getTransparentRenderFaces
vector< TransparentRenderFace * > & getTransparentRenderFaces()
Definition:
TransparentRenderFacesPool.cpp:52
tdme::engine::subsystems::rendering::TransparentRenderFacesPool::reset
void reset()
Reset.
Definition:
TransparentRenderFacesPool.cpp:46
tdme::engine::subsystems::rendering::TransparentRenderFacesPool::transparentRenderFaces
vector< TransparentRenderFace * > transparentRenderFaces
Definition:
TransparentRenderFacesPool.h:50
tdme::math::Matrix4x4
4x4 3D Matrix class
Definition:
Matrix4x4.h:24
tdme::math::Vector3
3D vector 3 class
Definition:
Vector3.h:22
tdme::utilities::Console
Console class.
Definition:
Console.h:26
tdme::utilities::Pool
Pool template class.
Definition:
Pool.h:22
tdme::utilities::Pool::size
int32_t size()
Definition:
Pool.h:89
tdme::utilities::Pool::reset
void reset()
Reset this pool.
Definition:
Pool.h:96
tdme::engine::subsystems::rendering::TransparentRenderFace
Transparent face to be rendered.
Definition:
TransparentRenderFace.h:14
tdme.h
Generated by
1.9.3