Irrlicht 3D Engine
IShaderConstantSetCallBack.h
Go to the documentation of this file.
00001 // Copyright (C) 2002-2012 Nikolaus Gebhardt
00002 // This file is part of the "Irrlicht Engine".
00003 // For conditions of distribution and use, see copyright notice in irrlicht.h
00004 
00005 #ifndef __I_SHADER_CONSTANT_SET_CALLBACT_H_INCLUDED__
00006 #define __I_SHADER_CONSTANT_SET_CALLBACT_H_INCLUDED__
00007 
00008 #include "IReferenceCounted.h"
00009 
00010 namespace irr
00011 {
00012 namespace video
00013 {
00014     class IMaterialRendererServices;
00015     class SMaterial;
00016 
00018 
00021 class IShaderConstantSetCallBack : public virtual IReferenceCounted
00022 {
00023 public:
00024 
00026 
00044     virtual void OnSetMaterial(const SMaterial& material) { }
00045 
00047 
00077     virtual void OnSetConstants(IMaterialRendererServices* services, s32 userData) = 0;
00078 };
00079 
00080 
00081 } // end namespace video
00082 } // end namespace irr
00083 
00084 #endif
00085