PURE API 0.5
PR00F's Ultimate Rendering Engine full documentation
Loading...
Searching...
No Matches
ImColor Struct Reference

Detailed Description

Definition at line 2369 of file imgui.h.

#include <imgui.h>

Public Member Functions

constexpr ImColor ()
 
constexpr ImColor (float r, float g, float b, float a=1.0f)
 
constexpr ImColor (const ImVec4 &col)
 
 ImColor (int r, int g, int b, int a=255)
 
 ImColor (ImU32 rgba)
 
 operator ImU32 () const
 
 operator ImVec4 () const
 
void SetHSV (float h, float s, float v, float a=1.0f)
 

Static Public Member Functions

static ImColor HSV (float h, float s, float v, float a=1.0f)
 

Public Attributes

ImVec4 Value
 

Constructor & Destructor Documentation

◆ ImColor() [1/5]

ImColor::ImColor ( )
inlineconstexpr

Definition at line 2373 of file imgui.h.

◆ ImColor() [2/5]

ImColor::ImColor ( float r,
float g,
float b,
float a = 1.0f )
inlineconstexpr

Definition at line 2374 of file imgui.h.

◆ ImColor() [3/5]

ImColor::ImColor ( const ImVec4 & col)
inlineconstexpr

Definition at line 2375 of file imgui.h.

◆ ImColor() [4/5]

ImColor::ImColor ( int r,
int g,
int b,
int a = 255 )
inline

Definition at line 2376 of file imgui.h.

◆ ImColor() [5/5]

ImColor::ImColor ( ImU32 rgba)
inline

Definition at line 2377 of file imgui.h.

Member Function Documentation

◆ HSV()

static ImColor ImColor::HSV ( float h,
float s,
float v,
float a = 1.0f )
inlinestatic

Definition at line 2383 of file imgui.h.

◆ operator ImU32()

ImColor::operator ImU32 ( ) const
inline

Definition at line 2378 of file imgui.h.

◆ operator ImVec4()

ImColor::operator ImVec4 ( ) const
inline

Definition at line 2379 of file imgui.h.

◆ SetHSV()

void ImColor::SetHSV ( float h,
float s,
float v,
float a = 1.0f )
inline

Definition at line 2382 of file imgui.h.

Member Data Documentation

◆ Value

ImVec4 ImColor::Value

Definition at line 2371 of file imgui.h.


The documentation for this struct was generated from the following file: