#pragma once #pragma warning( disable : 4786 ) #include "../../include/Caldron.h" #include "Mesh.h" #include "Texture.h" namespace Caldron { namespace Scene { class CStateSet { public: }; class CStateSetMgr { public: // ÃʱâÈ­( InitDevice ¼º ÃʱâÈ­) static bool _Init( IDirect3DDevice8* pDevice ); // StateSet Manager ¿ÜºÎ¿¡¼­ d3d device ·Î Á÷Á¢ ½ÃµµµÈ state change µéÀ» °Ë»çÇØ device ¿Í StateSet Mgr ÀÇ state¸¦ µ¿±âÈ­ static void _GetCurrentDeviceState(); // ÁöÁ¤µÈ StateSet ÀÇ ³»¿ëÀ» D3D Device ¿¡ Àû¿ë static void _ApplyStateSet( CStateSet* pStateSet ); private: // °¢ state º¯¼öµé }; } }