MCPcopy Create free account
hub / github.com/KTStephano/StratusGFX / InitializeRenderEntity

Function InitializeRenderEntity

Source/Engine/StratusRenderComponents.cpp:44–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 }
43
44 void InitializeRenderEntity(const EntityPtr& ptr) {
45 InitializeTransformEntity(ptr);
46 ptr->Components().AttachComponent<RenderComponent>();
47 ptr->Components().AttachComponent<LightInteractionComponent>();
48 ptr->Components().AttachComponent<StaticObjectComponent>();
49 }
50
51 Mesh::Mesh() {
52 cpuData_ = new MeshCpuData_();

Callers 2

CreateRenderEntityFunction · 0.85
ProcessNodeFunction · 0.85

Calls 1

Tested by

no test coverage detected