Panda3D
Loading...
Searching...
No Matches
pt_EggMaterial.h
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file pt_EggMaterial.h
10 * @author drose
11 * @date 2001-05-01
12 */
13
14#ifndef PT_EGGMATERIAL_H
15#define PT_EGGMATERIAL_H
16
17#include "pandabase.h"
18
19#include "eggMaterial.h"
20#include "pointerTo.h"
21
22/**
23 * A PT(EggMaterial). This is defined here solely we can explicitly export
24 * the template class. It's not strictly necessary, but it doesn't hurt.
25 */
26
27EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EGG, EXPTP_PANDA_EGG, PointerToBase<EggMaterial>)
28EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EGG, EXPTP_PANDA_EGG, PointerTo<EggMaterial>)
29EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EGG, EXPTP_PANDA_EGG, ConstPointerTo<EggMaterial>)
30
31typedef PointerTo<EggMaterial> PT_EggMaterial;
33
34#endif
A ConstPointerTo is similar to a PointerTo, except it keeps a const pointer to the thing.
Definition pointerTo.h:144
This is the base class for PointerTo and ConstPointerTo.
This file defines the classes PointerTo and ConstPointerTo (and their abbreviations,...
Definition pointerTo.h:69
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EGG, EXPTP_PANDA_EGG, PointerToBase< EggMaterial >) EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EGG
A PT(EggMaterial).