hx3d framework namespace
More...
|
| | algo |
| | Useful algorithm helpers.
|
| |
| | audio |
| | Audio components.
|
| |
| | ecs |
| | Entity-Component-System & Scene Graph components.
|
| |
| | graphics |
| | 2D and 3D graphics components.
|
| |
| | gui |
| | 2D/3D GUI components
|
| |
| | math |
| | Math structures and functions.
|
| |
| | net |
| | Network management components.
|
| |
| | physics2d |
| | 2D physics components
|
| |
| | tweens |
| | Inbetweening animations.
|
| |
| | window |
| | Windowing and event components.
|
| |
|
|
template<class T > |
| using | Ptr = std::shared_ptr< T > |
| | Quick-typing shared ptr.
|
| |
|
template<class T > |
| using | UPtr = std::unique_ptr< T > |
| | Quick-typing unique ptr.
|
| |
|
template<class T > |
| using | EnableSharedThis = std::enable_shared_from_this< T > |
| | Quick-typing enable shared from this.
|
| |
|
|
template<class T , class... Args> |
| Ptr< T > | Make (Args &&...args) |
| | Quick-typing make shared.
|
| |
| std::string | format (const std::string fmt,...) |
| | Format a string using printf notation. More...
|
| |
| std::string | format (const std::string fmt, va_list args) |
| | Format a string using printf notation (va_list version). More...
|
| |
| std::vector< std::string > & | split (const std::string &s, char delim, std::vector< std::string > &elems) |
| | Split a string using a delimiter and a container. More...
|
| |
| std::vector< std::string > | split (const std::string &s, char delim) |
| | Split a string using a delimiter. More...
|
| |
| void | checkGLError (const char *file, int line) |
| | Display the last unchecked OpenGL errors. More...
|
| |
| void hx3d::checkGLError |
( |
const char * |
file, |
|
|
int |
line |
|
) |
| |
Display the last unchecked OpenGL errors.
- Parameters
-
| file | Current file |
| line | Current line |
Definition at line 28 of file error.cpp.
| std::string hx3d::format |
( |
const std::string |
fmt, |
|
|
|
... |
|
) |
| |
Format a string using printf notation.
- Parameters
-
- Returns
- Formatted string
Definition at line 27 of file string.cpp.
| std::string hx3d::format |
( |
const std::string |
fmt, |
|
|
va_list |
args |
|
) |
| |
Format a string using printf notation (va_list version).
- Parameters
-
- Returns
- Formatted string
Definition at line 50 of file string.cpp.
| std::vector< std::string > & hx3d::split |
( |
const std::string & |
s, |
|
|
char |
delim, |
|
|
std::vector< std::string > & |
elems |
|
) |
| |
Split a string using a delimiter and a container.
- Parameters
-
| s | String |
| delim | Delimiter |
| elems | Container |
- Returns
- Split string
Definition at line 70 of file string.cpp.
| std::vector< std::string > hx3d::split |
( |
const std::string & |
s, |
|
|
char |
delim |
|
) |
| |
Split a string using a delimiter.
- Parameters
-
- Returns
- Split string
Definition at line 80 of file string.cpp.