mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
rest of virtuals removed
virtuals removed and replaced with override where necessary on the rest of the code base, clang-tidy to the rescue.
This commit is contained in:
parent
efbe5e90f5
commit
2b295fb7f0
454 changed files with 4162 additions and 4156 deletions
|
|
@ -35,12 +35,12 @@ class EyeSpaceDepthOutGLSL : public ShaderFeatureGLSL
|
|||
public:
|
||||
|
||||
// ShaderFeature
|
||||
virtual void processVert( Vector<ShaderComponent*> &componentList, const MaterialFeatureData &fd );
|
||||
virtual void processPix( Vector<ShaderComponent*> &componentList, const MaterialFeatureData &fd );
|
||||
virtual Resources getResources( const MaterialFeatureData &fd );
|
||||
virtual String getName() { return "Eye Space Depth (Out)"; }
|
||||
virtual Material::BlendOp getBlendOp() { return Material::None; }
|
||||
virtual const char* getOutputVarName() const { return "eyeSpaceDepth"; }
|
||||
void processVert( Vector<ShaderComponent*> &componentList, const MaterialFeatureData &fd ) override;
|
||||
void processPix( Vector<ShaderComponent*> &componentList, const MaterialFeatureData &fd ) override;
|
||||
Resources getResources( const MaterialFeatureData &fd ) override;
|
||||
String getName() override { return "Eye Space Depth (Out)"; }
|
||||
Material::BlendOp getBlendOp() override { return Material::None; }
|
||||
const char* getOutputVarName() const override { return "eyeSpaceDepth"; }
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -49,12 +49,12 @@ class DepthOutGLSL : public ShaderFeatureGLSL
|
|||
public:
|
||||
|
||||
// ShaderFeature
|
||||
virtual void processVert( Vector<ShaderComponent*> &componentList, const MaterialFeatureData &fd );
|
||||
virtual void processPix( Vector<ShaderComponent*> &componentList, const MaterialFeatureData &fd );
|
||||
virtual Resources getResources( const MaterialFeatureData &fd );
|
||||
virtual String getName() { return "Depth (Out)"; }
|
||||
virtual Material::BlendOp getBlendOp() { return Material::None; }
|
||||
virtual const char* getOutputVarName() const { return "IN_depth"; }
|
||||
void processVert( Vector<ShaderComponent*> &componentList, const MaterialFeatureData &fd ) override;
|
||||
void processPix( Vector<ShaderComponent*> &componentList, const MaterialFeatureData &fd ) override;
|
||||
Resources getResources( const MaterialFeatureData &fd ) override;
|
||||
String getName() override { return "Depth (Out)"; }
|
||||
Material::BlendOp getBlendOp() override { return Material::None; }
|
||||
const char* getOutputVarName() const override { return "IN_depth"; }
|
||||
};
|
||||
|
||||
#endif // _DEPTH_GLSL_H_
|
||||
Loading…
Add table
Add a link
Reference in a new issue