Garry's Mod Wiki

Revision Difference

Enums/IMAGE_FORMAT#546510

<enum> <realm>Client</realm> <description>Enumerations used by <page>Global.GetRenderTargetEx</page>. Clientside only.</description>⤶ <description>Enumerations used by <page>Global.GetRenderTargetEx</page>. Clientside only. <note>Some additional image formats are accepted by GetRenderTargetEx, but don't currently have enums in Lua and aren't listed here. See [VTF Enumerations.](https://developer.valvesoftware.com/wiki/Valve_Texture_Format#VTF_enumerations)</note></description>⤶ <items> <item key="IMAGE_FORMAT_DEFAULT" value="-1"></item> <item key="IMAGE_FORMAT_RGBA8888" value="0"></item> <item key="IMAGE_FORMAT_ABGR8888" value="1"></item> <item key="IMAGE_FORMAT_RGB888" value="2"></item> <item key="IMAGE_FORMAT_BGR888" value="3"></item> <item key="IMAGE_FORMAT_RGB565" value="4"></item> <item key="IMAGE_FORMAT_ARGB8888" value="11"></item> <item key="IMAGE_FORMAT_BGRA8888" value="12"></item> <item key="IMAGE_FORMAT_RGBA16161616" value="25"></item> <item key="IMAGE_FORMAT_RGBA16161616F" value="24"></item> </items> </enum>