00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef GRAPHICSOUTPUTBASE_H
00016 #define GRAPHICSOUTPUTBASE_H
00017
00018 #include "pandabase.h"
00019 #include "typedWritableReferenceCount.h"
00020
00021 class Texture;
00022
00023
00024
00025
00026
00027
00028 class EXPCL_PANDA_GSGBASE GraphicsOutputBase : public TypedWritableReferenceCount {
00029 PUBLISHED:
00030 virtual void set_sort(int sort)=0;
00031 virtual Texture *get_texture(int i=0) const=0;
00032
00033 public:
00034 static TypeHandle get_class_type() {
00035 return _type_handle;
00036 }
00037 static void init_type() {
00038 TypedWritableReferenceCount::init_type();
00039 register_type(_type_handle, "GraphicsOutputBase",
00040 TypedWritableReferenceCount::get_class_type());
00041 }
00042 virtual TypeHandle get_type() const {
00043 return get_class_type();
00044 }
00045 virtual TypeHandle force_init_type() {init_type(); return get_class_type();}
00046
00047 private:
00048 static TypeHandle _type_handle;
00049
00050 friend class GraphicsPipe;
00051 friend class GraphicsEngine;
00052 friend class DisplayRegion;
00053 };
00054
00055 #include "graphicsOutputBase.I"
00056
00057 #endif