Function nanogui::nvgIsImageIcon¶
Defined in File opengl.h
Function Documentation¶
-
bool
nanogui::nvgIsImageIcon(int value)¶ Determine whether an icon ID is a texture loaded via
nvgImageIcon.The implementation defines all
value < 1024as image icons, and everything>= 1024as an Entypo icon (see File entypo.h). The value1024exists to provide a generous buffer on how many images may have been loaded by NanoVG.- Return
Whether or not this is an image icon.
- Parameters
value: The integral value of the icon.