mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-14 04:03:46 +00:00
unintialized variable cleanups
This commit is contained in:
parent
deb17b16fa
commit
ddac695252
3 changed files with 6 additions and 2 deletions
|
|
@ -299,6 +299,7 @@ struct RenderInst
|
|||
|
||||
/// Does a memset to clear the render instance.
|
||||
void clear();
|
||||
RenderInst() { clear(); }
|
||||
};
|
||||
|
||||
struct ObjectRenderInst : public RenderInst
|
||||
|
|
@ -327,6 +328,7 @@ struct ObjectRenderInst : public RenderInst
|
|||
|
||||
// Clear this instance.
|
||||
void clear();
|
||||
ObjectRenderInst() { clear(); }
|
||||
};
|
||||
|
||||
struct MeshRenderInst : public RenderInst
|
||||
|
|
@ -397,6 +399,7 @@ struct MeshRenderInst : public RenderInst
|
|||
Vector<CustomShaderBindingData> mCustomShaderData;
|
||||
|
||||
void clear();
|
||||
MeshRenderInst() { clear(); };
|
||||
};
|
||||
|
||||
enum ParticleSystemState
|
||||
|
|
@ -455,6 +458,7 @@ struct ParticleRenderInst : public RenderInst
|
|||
GFXTextureObject *diffuseTex;
|
||||
|
||||
void clear();
|
||||
ParticleRenderInst() { clear(); }
|
||||
};
|
||||
|
||||
class GFXOcclusionQuery;
|
||||
|
|
@ -477,6 +481,7 @@ struct OccluderRenderInst : public RenderInst
|
|||
bool isSphere;
|
||||
|
||||
void clear();
|
||||
OccluderRenderInst() { clear(); }
|
||||
};
|
||||
|
||||
#endif // _RENDERPASSMANAGER_H_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue