TnxStyle.h file
Namespaces
- namespace TnxStyle
- namespace TnxStyle::Color
- namespace TnxStyle::Font
Defines
- #define LINEAR_FROM_SRGB(c)
Define documentation
#define LINEAR_FROM_SRGB(c)
Convert a Color:: constant (authored in sRGB) to linear space for ImGui. Alpha is passed through unchanged. Use this wherever a TnxStyle::Color value is passed to an ImGui style slot or draw call on an sRGB swapchain.