forked from Dynamitos/Seele
3700 FPS here we go
This commit is contained in:
1 parent
d5f0fe644f
commit
312ae2af9a
36 files changed
+401
-231
No files matched your search
@@ -16,11 +16,14 @@ public:
|
||||
~PrimitiveComponent();
|
||||
virtual void notifySceneAttach(PScene scene) override;
|
||||
Matrix4 getRenderMatrix();
|
||||
|
||||
Array<StaticMeshBatch> staticMeshes;
|
||||
const Array<StaticMeshBatch>& getStaticMeshes()
|
||||
{
|
||||
return staticMeshes;
|
||||
}
|
||||
private:
|
||||
Array<PMaterialAsset> materials;
|
||||
Gfx::PUniformBuffer uniformBuffer;
|
||||
Array<StaticMeshBatch> staticMeshes;
|
||||
friend class Scene;
|
||||
};
|
||||
DEFINE_REF(PrimitiveComponent)
|
||||
|
||||
Reference in new issue
Block a user