pandadx9.cxx 656 B

123456789101112131415161718192021222324252627282930
  1. /**
  2. * @file pandadx9.cxx
  3. * @author masad
  4. * @date 2004-01-15
  5. */
  6. #include "pandadx9.h"
  7. #include "config_dxgsg9.h"
  8. #include "wdxGraphicsPipe9.h"
  9. /**
  10. * Initializes the library. This must be called at least once before any of
  11. * the functions or classes in this library can be used. Normally it will be
  12. * called by the static initializers and need not be called explicitly, but
  13. * special cases exist.
  14. */
  15. void
  16. init_libpandadx9() {
  17. init_libdxgsg9();
  18. }
  19. /**
  20. * Returns the TypeHandle index of the recommended graphics pipe type defined
  21. * by this module.
  22. */
  23. int
  24. get_pipe_type_pandadx9() {
  25. return wdxGraphicsPipe9::get_class_type().get_index();
  26. }