A special struct that contains methods for creating instances of OverlayType for types defined by OverlayIO.
types is a shorthand that fills in the correct IO ID and type into OverlayType's fields.
assert(OverlayIO.types.context == OverlayType(ioID!OverlayIO, OverlayIO.Types.context)); assert(OverlayIO.types.tooltip == OverlayType(ioID!OverlayIO, OverlayIO.Types.tooltip)); assert(OverlayIO.types.contextMenu == OverlayType(ioID!OverlayIO, OverlayIO.Types.contextMenu));
Get an overlay type defined in OverlayIO.
For example, to get an appropriate overlay type for a context menu, use OverlayIO.types.context.