diff options
author | numzero <numzer0@yandex.ru> | 2023-04-02 21:06:09 +0300 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2023-04-07 17:42:54 +0200 |
commit | 718ba69e1b81fe8149bdd637379cb37c7394d9c4 (patch) | |
tree | 7f86fd452a8aa5378410c213cc3cbc1c3eb61091 /source/Irrlicht/OpenGL/FixedPipelineRenderer.h | |
parent | 54314691ec17f0fa4700bf6fbd4925f25ac81021 (diff) | |
download | irrlicht-718ba69e1b81fe8149bdd637379cb37c7394d9c4.tar.xz |
OpenGL3: Drop unused fixed-function emulation materials
Diffstat (limited to 'source/Irrlicht/OpenGL/FixedPipelineRenderer.h')
-rw-r--r-- | source/Irrlicht/OpenGL/FixedPipelineRenderer.h | 74 |
1 files changed, 1 insertions, 73 deletions
diff --git a/source/Irrlicht/OpenGL/FixedPipelineRenderer.h b/source/Irrlicht/OpenGL/FixedPipelineRenderer.h index aea935f..cfbb3b6 100644 --- a/source/Irrlicht/OpenGL/FixedPipelineRenderer.h +++ b/source/Irrlicht/OpenGL/FixedPipelineRenderer.h @@ -1,3 +1,4 @@ +// Copyright (C) 2023 Vitaliy Lobachevskiy // Copyright (C) 2014 Patryk Nadrowski // This file is part of the "Irrlicht Engine". // For conditions of distribution and use, see copyright notice in Irrlicht.h @@ -82,79 +83,6 @@ protected: s32 TextureUnit0; }; -class COpenGL3MaterialSolid2CB : public COpenGL3MaterialBaseCB -{ -public: - COpenGL3MaterialSolid2CB(); - - 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 COpenGL3MaterialLightmapCB : public COpenGL3MaterialBaseCB -{ -public: - COpenGL3MaterialLightmapCB(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 COpenGL3MaterialReflectionCB : public COpenGL3MaterialBaseCB -{ -public: - COpenGL3MaterialReflectionCB(); - - 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 COpenGL3MaterialOneTextureBlendCB : public COpenGL3MaterialBaseCB { public: |