Panda3D
 All Classes Functions Variables Enumerations
pandadx8.cxx
00001 // Filename: pandadx.cxx
00002 // Created by:  drose (15May00)
00003 // 
00004 ////////////////////////////////////////////////////////////////////
00005 
00006 #include "pandadx8.h"
00007 
00008 #include "config_dxgsg8.h"
00009 #include "wdxGraphicsPipe8.h"
00010 
00011 // By including checkPandaVersion.h, we guarantee that runtime
00012 // attempts to load libpandadx8.dll will fail if they
00013 // inadvertently link with the wrong version of libdtool.dll.
00014 
00015 #include "checkPandaVersion.h"
00016 
00017 ////////////////////////////////////////////////////////////////////
00018 //     Function: init_libpandadx
00019 //  Description: Initializes the library.  This must be called at
00020 //               least once before any of the functions or classes in
00021 //               this library can be used.  Normally it will be
00022 //               called by the static initializers and need not be
00023 //               called explicitly, but special cases exist.
00024 ////////////////////////////////////////////////////////////////////
00025 void
00026 init_libpandadx8() {
00027   init_libdxgsg8();
00028 }
00029 
00030 ////////////////////////////////////////////////////////////////////
00031 //     Function: get_pipe_type_pandadx8
00032 //  Description: Returns the TypeHandle index of the recommended
00033 //               graphics pipe type defined by this module.
00034 ////////////////////////////////////////////////////////////////////
00035 int
00036 get_pipe_type_pandadx8() {
00037   return wdxGraphicsPipe8::get_class_type().get_index();
00038 }
 All Classes Functions Variables Enumerations