5 #include <unordered_map>
19 using std::make_unique;
21 using std::unique_ptr;
22 using std::unordered_map;
92 static void computeAnimation(
int contextIdx, vector<ObjectNode*>& objectNodes);
AnimationProcessingTarget
Object to be used with engine class.
Object node mesh specifically for rendering.
Object node VBO renderer.
Object node specifically for rendering.
static constexpr int32_t TEXTUREID_NOTUSED
vector< int32_t > pbrMaterialBaseColorTextureIdsByEntities
vector< int32_t > specularMaterialDiffuseTextureIdsByEntities
vector< int32_t > specularMaterialDynamicDiffuseTextureIdsByEntities
vector< int32_t > pbrMaterialMetallicRoughnessTextureIdsByEntities
vector< Matrix3x3 > textureMatricesByEntities
vector< int32_t > specularMaterialNormalTextureIdsByEntities
vector< int32_t > specularMaterialSpecularTextureIdsByEntities
Matrix4x4 * nodeTransformMatrix
ObjectNode()
Public constructor.
static void computeAnimation(int contextIdx, vector< ObjectNode * > &objectNodes)
Computes animation for given object nodes.
vector< int32_t > pbrMaterialNormalTextureIdsByEntities
static STATIC_DLL_IMPEXT int64_t counter
vector< int32_t > pbrMaterialEmissiveTextureIdsByEntities
static constexpr int32_t TEXTUREID_NONE
static void createNodes(ObjectBase *object, bool useManagers, Engine::AnimationProcessingTarget animationProcessingTarget, vector< ObjectNode * > &objectNodes)
Creates object nodes from given object base object.
static void setupTextures(Renderer *renderer, int contextIdx, ObjectNode *objectNode, int32_t facesEntityIdx)
Set up textures for given object node and faces entity.
unique_ptr< ObjectNodeRenderer > renderer
void updateNodeTransformationsMatrix()
Update node transformations matrix.
Transparent render faces group.
Transparent render faces pool.
Interface to compute shader skinning shader program.
Matrix3x3 class representing matrix3x3 mathematical structure and operations for 2d space.
Matrix4x4 class representing matrix4x4 mathematical structure and operations for 3d space.
#define STATIC_DLL_IMPEXT
#define FORBID_CLASS_COPY(CLASS)