瀏覽代碼

imconfig: Added comment about redefining ImDrawIdx

omar 8 年之前
父節點
當前提交
104936ab1a
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      imconfig.h

+ 3 - 0
imconfig.h

@@ -43,6 +43,9 @@
         operator MyVec4() const { return MyVec4(x,y,z,w); }
 */
 
+//---- Use 32-bit vertex indices (instead of default: 16-bit) to allow meshes with more than 64K vertices
+//#define ImDrawIdx unsigned int
+
 //---- Tip: You can add extra functions within the ImGui:: namespace, here or in your own headers files.
 //---- e.g. create variants of the ImGui::Value() helper for your low-level math types, or your own widgets/helpers.
 /*