Pārlūkot izejas kodu

Eliminate ShaderGeneratorBase

rdb 16 gadi atpakaļ
vecāks
revīzija
5a3dd8d0c3

+ 0 - 14
panda/src/pgraph/shaderGeneratorBase.I

@@ -1,14 +0,0 @@
-// Filename: shaderGeneratorBase.I
-// Created by:  drose (05Nov08)
-//
-////////////////////////////////////////////////////////////////////
-//
-// PANDA 3D SOFTWARE
-// Copyright (c) Carnegie Mellon University.  All rights reserved.
-//
-// All use of this software is subject to the terms of the revised BSD
-// license.  You should have received a copy of this license along
-// with this source code in a file named "LICENSE."
-//
-////////////////////////////////////////////////////////////////////
-

+ 0 - 35
panda/src/pgraph/shaderGeneratorBase.cxx

@@ -1,35 +0,0 @@
-// Filename: shaderGeneratorBase.cxx
-// Created by:  drose (05Nov08)
-//
-////////////////////////////////////////////////////////////////////
-//
-// PANDA 3D SOFTWARE
-// Copyright (c) Carnegie Mellon University.  All rights reserved.
-//
-// All use of this software is subject to the terms of the revised BSD
-// license.  You should have received a copy of this license along
-// with this source code in a file named "LICENSE."
-//
-////////////////////////////////////////////////////////////////////
-
-#include "shaderGeneratorBase.h"
-
-TypeHandle ShaderGeneratorBase::_type_handle;
-
-////////////////////////////////////////////////////////////////////
-//     Function: ShaderGeneratorBase::Constructor
-//       Access: Protected
-//  Description: 
-////////////////////////////////////////////////////////////////////
-ShaderGeneratorBase::
-ShaderGeneratorBase() {
-}
-
-////////////////////////////////////////////////////////////////////
-//     Function: ShaderGeneratorBase::Destructor
-//       Access: Published, Virtual
-//  Description: 
-////////////////////////////////////////////////////////////////////
-ShaderGeneratorBase::
-~ShaderGeneratorBase() {
-}

+ 0 - 54
panda/src/pgraph/shaderGeneratorBase.h

@@ -1,54 +0,0 @@
-// Filename: shaderGeneratorBase.h
-// Created by:  drose (05Nov08)
-//
-////////////////////////////////////////////////////////////////////
-//
-// PANDA 3D SOFTWARE
-// Copyright (c) Carnegie Mellon University.  All rights reserved.
-//
-// All use of this software is subject to the terms of the revised BSD
-// license.  You should have received a copy of this license along
-// with this source code in a file named "LICENSE."
-//
-////////////////////////////////////////////////////////////////////
-
-#ifndef SHADERGENERATORBASE_H
-#define SHADERGENERATORBASE_H
-
-#include "pandabase.h"
-#include "typedWritableReferenceCount.h"
-
-////////////////////////////////////////////////////////////////////
-//       Class : ShaderGeneratorBase
-// Description : This is the abstract base class for ShaderGenerator.
-////////////////////////////////////////////////////////////////////
-class EXPCL_PANDA_PGRAPH ShaderGeneratorBase : public TypedWritableReferenceCount {
-protected:
-  ShaderGeneratorBase();
-
-PUBLISHED:
-  virtual ~ShaderGeneratorBase();
-  virtual CPT(RenderAttrib) synthesize_shader(const RenderState *rs)=0;
-  
-public:
-  static TypeHandle get_class_type() {
-    return _type_handle;
-  }
-  static void init_type() {
-    TypedWritableReferenceCount::init_type();
-    register_type(_type_handle, "ShaderGeneratorBase",
-                  TypedWritableReferenceCount::get_class_type());
-  }
-  virtual TypeHandle get_type() const {
-    return get_class_type();
-  }
-  virtual TypeHandle force_init_type() {init_type(); return get_class_type();}
-
- private:
-  static TypeHandle _type_handle;
-};
-
-#include "shaderGeneratorBase.I"
-
-#endif  // SHADERGENERATORBASE_H
-