2
0
Эх сурвалжийг харах

imconfig: Added comment about redefining ImDrawIdx

omar 8 жил өмнө
parent
commit
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.
 /*