00001 /*! \file 00002 \author victorien ferry & www.m4nkind.com 00003 \brief This file applies the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1 , read file COPYING. 00004 */ 00005 #ifndef COM_M4NKIND_RenderTargetVirtual_H 00006 #define COM_M4NKIND_RenderTargetVirtual_H 00007 00008 #include "BaseObject.h" 00009 #include "PackObjectReference.h" 00010 #include "VirtualMachine.h" 00011 /*! 00012 \class RenderTargetVirtual 00013 \ingroup BaseObjectInherited_VedaLib3DEngine 00014 \brief Define a screen rectangle where to draw. 00015 It is the virtual version. 00016 00017 */ 00018 class RenderTargetVirtual : public BaseObject 00019 { 00020 /*================================================================== 00021 PUBLIC 00022 ==================================================================*/ 00023 public: 00024 /*! 00025 \brief Constructor. There should only be members initialisation there. 00026 */ 00027 RenderTargetVirtual(void); 00028 00029 /*! 00030 \brief Class Inheritance Descriptors. Also forces a destructor. See BASEOBJECT_DECLARE_... in .cpp 00031 */ 00032 BASEOBJECT_DEFINE_VIRTUALCLASS(RenderTargetVirtual); 00033 /*! 00034 \brief Access to the hardware abstract texture for rendering. 00035 \return the hardware abstract texture. 00036 */ 00037 inline VirtualMachine::InternalViewPort *GetViewPort(){ return m_pInternalViewPort; }; 00038 00039 /*================================================================== 00040 PROTECTED 00041 ==================================================================*/ 00042 protected: 00043 00044 //! the hardware abstract texture for rendering. 00045 VirtualMachine::InternalViewPort *m_pInternalViewPort; 00046 00047 /*! 00048 \brief Method that really build the object using the serializable parameters. 00049 Close() should close everything opened by Create(). 00050 \return false if creation failed. 00051 */ 00052 // virtual bool CreateInternal(void); 00053 #ifdef _ENGINE_EDITABLE_ 00054 /*! 00055 \brief that closes everything. Still, the object exist and can be rebuild the same using Create() 00056 */ 00057 virtual void CloseInternal(void); 00058 #endif 00059 00060 }; 00061 #endif
/\/\ 4 N k ! N D _______ _ __ ___ _____ ___ _ _ ____ ___________ __//___ /________ |/ / ___________\_______/ \ / _ _ \/ _ / _ / _/_/____/ _ __ / / / / / / / \ \/ / / \ \ / \\___/___/___/ ¯ _____/_____/ ______\___/_____/\________\\ \________/_ ___ __ l____\ /elD! http://www.m4nkind.com \____/