//===========================================================================// // File: D3DRMVideoRenderables.hpp // // Project: MUNGA Brick: Win95 Video Renderer // // Contents: Windows95 Layer Video Renderer // //---------------------------------------------------------------------------// // Date Who Modification // // -------- --- ---------------------------------------------------------- // // 03/13/97 JTR Initial coding. // //---------------------------------------------------------------------------// // Copyright (C) 1997, Virtual World Entertainment, Inc. // // All Rights reserved worldwide // // This unpublished sourcecode is PROPRIETARY and CONFIDENTIAL // //===========================================================================// #pragma once #include "Adept.hpp" #include "VideoRenderer.hpp" namespace ElementRenderer { class MultiLODElement; } namespace Adept { //########################################################################## //########################### MultiLODComponent ############################## //########################################################################## class MultiLODComponent: public VideoComponent { public: static void InitializeClass(); static void TerminateClass(); static ClassData *DefaultData; typedef VideoComponent BaseClass; //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Constructor/Destructor // protected: MultiLODComponent( ClassData *class_data, MemoryStream *stream, VideoComponentWeb *owning_web ); ElementRenderer::MultiLODElement* AllocateLOD(); public: static MultiLODComponent* Make( MemoryStream *stream, VideoComponentWeb *owning_web ); //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Component support // public: ElementRenderer::MultiLODElement* GetElement() { Check_Object(this); return Cast_Pointer( ElementRenderer::MultiLODElement*, componentElement ); } //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Test support // public: void TestInstance(); //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Tool-related Functions // public: static ClassData* CreateFactoryRequest(FactoryRequestParameters *parameters); }; }