浏览代码

display: Add gsg.engine property

rdb 10 月之前
父节点
当前提交
7ba4fe365c
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      panda/src/display/graphicsStateGuardian.h

+ 1 - 0
panda/src/display/graphicsStateGuardian.h

@@ -114,6 +114,7 @@ PUBLISHED:
   GraphicsEngine *get_engine() const;
   INLINE const GraphicsThreadingModel &get_threading_model() const;
   MAKE_PROPERTY(pipe, get_pipe);
+  MAKE_PROPERTY(engine, get_engine);
 
   INLINE bool is_hardware() const;
   virtual INLINE bool prefers_triangle_strips() const;