mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 07:34:45 +00:00
make reflectors optional
don't waste memory per object-instance on non reflective objects
This commit is contained in:
parent
2dae0fbbad
commit
01b10cfb89
4 changed files with 56 additions and 23 deletions
|
|
@ -184,7 +184,7 @@ protected:
|
|||
String cubeDescName;
|
||||
U32 cubeDescId;
|
||||
ReflectorDesc* reflectorDesc;
|
||||
CubeReflector mCubeReflector;
|
||||
CubeReflector* mCubeReflector;
|
||||
|
||||
void onAssetRefreshed(AssetPtrBase* pAssetPtrBase) override
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue