/*---------------------------------------------------------------------------* Project: NintendoWare File: gfx_IMaterialActivator.h Copyright (C)2009-2010 Nintendo Co., Ltd./HAL Laboratory, Inc. All rights reserved. These coded instructions, statements, and computer programs contain proprietary information of Nintendo of America Inc. and/or Nintendo Company Ltd., and are protected by Federal copyright law. They may not be disclosed to third parties or copied or duplicated in any form, in whole or in part, without the prior written consent of Nintendo. $Revision: 18106 $ *---------------------------------------------------------------------------*/ #ifndef NW_GFX_IMATERIALACTIVATOR_H_ #define NW_GFX_IMATERIALACTIVATOR_H_ #include namespace nw { namespace os { class IAllocator; } // namesapce os namespace gfx { class RenderContext; class Material; //--------------------------------------------------------------------------- //! @brief マテリアルを更新するためのクラスです。 //--------------------------------------------------------------------------- class IMaterialActivator : public GfxObject { private: NW_DISALLOW_COPY_AND_ASSIGN(IMaterialActivator); public: NW_UT_RUNTIME_TYPEINFO; //--------------------------------------------------------------------------- //! @brief マテリアルを有効化します。 //! //! @param[in] renderContext レンダーコンテキストです。 //! @param[in] material 有効化するマテリアルです。 //--------------------------------------------------------------------------- virtual void Activate(RenderContext* renderContext, const Material* material) = 0; protected: //! コンストラクタです。 IMaterialActivator(os::IAllocator* allocator) : GfxObject(allocator) {} //! デストラクタです。 virtual ~IMaterialActivator() = 0; }; } // namespace gfx } // namespace nw #endif // NW_GFX_IMATERIALACTIVATOR_H_