mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-02 00:00:26 +02:00
Remove unused fixed function materials
This commit is contained in:
@ -86,79 +86,6 @@ protected:
|
||||
s32 TextureUnit0;
|
||||
};
|
||||
|
||||
class COGLES2MaterialSolid2CB : public COGLES2MaterialBaseCB
|
||||
{
|
||||
public:
|
||||
COGLES2MaterialSolid2CB();
|
||||
|
||||
virtual void OnSetMaterial(const SMaterial& material);
|
||||
virtual void OnSetConstants(IMaterialRendererServices* services, s32 userData);
|
||||
|
||||
protected:
|
||||
bool FirstUpdate;
|
||||
|
||||
s32 TMatrix0ID;
|
||||
s32 TMatrix1ID;
|
||||
s32 TextureUsage0ID;
|
||||
s32 TextureUsage1ID;
|
||||
s32 TextureUnit0ID;
|
||||
s32 TextureUnit1ID;
|
||||
|
||||
s32 TextureUsage0;
|
||||
s32 TextureUsage1;
|
||||
s32 TextureUnit0;
|
||||
s32 TextureUnit1;
|
||||
};
|
||||
|
||||
class COGLES2MaterialLightmapCB : public COGLES2MaterialBaseCB
|
||||
{
|
||||
public:
|
||||
COGLES2MaterialLightmapCB(float modulate);
|
||||
|
||||
virtual void OnSetMaterial(const SMaterial& material);
|
||||
virtual void OnSetConstants(IMaterialRendererServices* services, s32 userData);
|
||||
|
||||
protected:
|
||||
bool FirstUpdate;
|
||||
|
||||
s32 TMatrix0ID;
|
||||
s32 TMatrix1ID;
|
||||
s32 ModulateID;
|
||||
s32 TextureUsage0ID;
|
||||
s32 TextureUsage1ID;
|
||||
s32 TextureUnit0ID;
|
||||
s32 TextureUnit1ID;
|
||||
|
||||
f32 Modulate;
|
||||
s32 TextureUsage0;
|
||||
s32 TextureUsage1;
|
||||
s32 TextureUnit0;
|
||||
s32 TextureUnit1;
|
||||
};
|
||||
|
||||
class COGLES2MaterialReflectionCB : public COGLES2MaterialBaseCB
|
||||
{
|
||||
public:
|
||||
COGLES2MaterialReflectionCB();
|
||||
|
||||
virtual void OnSetMaterial(const SMaterial& material);
|
||||
virtual void OnSetConstants(IMaterialRendererServices* services, s32 userData);
|
||||
|
||||
protected:
|
||||
bool FirstUpdate;
|
||||
|
||||
s32 TMatrix0ID;
|
||||
s32 TextureUsage0ID;
|
||||
s32 TextureUsage1ID;
|
||||
s32 TextureUnit0ID;
|
||||
s32 TextureUnit1ID;
|
||||
|
||||
s32 TextureUsage0;
|
||||
s32 TextureUsage1;
|
||||
s32 TextureUnit0;
|
||||
s32 TextureUnit1;
|
||||
};
|
||||
|
||||
class COGLES2MaterialOneTextureBlendCB : public COGLES2MaterialBaseCB
|
||||
{
|
||||
public:
|
||||
|
Reference in New Issue
Block a user