2024-01-06 17:10:13 +01:00
|
|
|
<meta charset="utf-8">
|
|
|
|
**SFW Docs**
|
2024-01-06 11:55:43 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
what it is, notes
|
2024-01-06 11:55:43 +01:00
|
|
|
|
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
Compile
|
|
|
|
------------------------------------------------------------------
|
2024-01-06 11:55:43 +01:00
|
|
|
|
2024-01-06 13:41:33 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
License
|
|
|
|
------------------------------------------------------------------
|
2024-01-06 13:41:33 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
CORE
|
2024-01-06 13:41:33 +01:00
|
|
|
====================================================================================
|
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
Enums
|
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
<a name="ENUM_Error"></a>
|
|
|
|
<details><summary>Error</summary>
|
2024-01-06 13:41:33 +01:00
|
|
|
|
2024-01-06 14:08:00 +01:00
|
|
|
|||ENUM_Error|||
|
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="ENUM_KeyList"></a>
|
|
|
|
<details><summary>KeyList</summary>
|
2024-01-06 14:08:00 +01:00
|
|
|
|
|
|
|
|||ENUM_KeyList|||
|
2024-01-06 13:41:33 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
</details>
|
2024-01-06 13:41:33 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
Errors and Logging
|
|
|
|
------------------------------------------------------------------
|
2024-01-06 13:41:33 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
<a name="LOGGING_MACROS"></a>
|
|
|
|
<details><summary>Logging</summary>
|
2024-01-06 11:55:43 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
Use the provided macros:
|
2024-01-06 11:55:43 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C
|
|
|
|
#define PRINT_TRACE(str)
|
|
|
|
#define LOG_TRACE(...)
|
2024-01-06 11:55:43 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
#define PRINT_MSG(str)
|
|
|
|
#define LOG_MSG(...)
|
2024-01-06 11:55:43 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
#define PRINT_WARN(str)
|
|
|
|
#define LOG_WARN(...)
|
2024-01-06 11:55:43 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
#define PRINT_ERR(str)
|
|
|
|
#define ERR_PRINT(str)
|
|
|
|
#define LOG_ERR(...)
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2024-01-06 11:55:43 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
</details>
|
2024-01-06 11:55:43 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
<a name="ERROR_MACROS"></a>
|
|
|
|
<details><summary>Error</summary>
|
2024-01-06 11:55:43 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
Uses these macros:
|
2024-01-06 11:55:43 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
Note that the library itself does not use exceptions, it uses these macros exclusively.
|
2024-01-06 11:55:43 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
Also note that you are not prevented you from using exceptions if you want to in your own code.
|
2024-01-06 11:55:43 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C
|
|
|
|
#define ERR_FAIL_MSG(msg)
|
2024-01-06 11:55:43 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
#define ERR_FAIL_V(val)
|
2024-01-06 11:55:43 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
#define ERR_FAIL_V_MSG(val, msg)
|
2024-01-06 11:55:43 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
#define ERR_FAIL_INDEX(index, size)
|
|
|
|
#define ERR_FAIL_INDEX_MSG(index, size, msg)
|
2024-01-06 11:55:43 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
#define ERR_FAIL_INDEX_V(index, size, val)
|
|
|
|
#define ERR_FAIL_INDEX_V_MSG(index, size, val, msg)
|
2024-01-06 11:55:43 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
#define ERR_FAIL_COND(cond)
|
|
|
|
#define ERR_FAIL_COND_MSG(cond, msg)
|
2024-01-06 11:55:43 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
#define ERR_FAIL_COND_V(cond, val)
|
|
|
|
#define ERR_FAIL_COND_V_MSG(cond, val, msg)
|
2024-01-06 11:55:43 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
#define ERR_CONTINUE(cond)
|
|
|
|
#define ERR_CONTINUE_MSG(cond, msg)
|
2024-01-06 11:55:43 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
#define ERR_CONTINUE_ACTION(cond, action)
|
|
|
|
#define ERR_CONTINUE_ACTION_MSG(cond, action, msg)
|
2024-01-06 11:55:43 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
#define CRASH_INDEX(index, size)
|
|
|
|
#define CRASH_BAD_INDEX(index, size)
|
|
|
|
#define CRASH_BAD_UNSIGNED_INDEX(index, size)
|
2024-01-06 11:55:43 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
#define CRASH_COND(cond)
|
|
|
|
#define CRASH_COND_MSG(cond, msg)
|
2024-01-06 11:55:43 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
#define CRASH_MSG(msg)
|
|
|
|
#define CRASH_NOW(msg)
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2024-01-06 11:55:43 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="ASSERTION_MACROS"></a>
|
|
|
|
<details><summary>Asserts</summary>
|
|
|
|
|
|
|
|
Use the provided macros:
|
|
|
|
|
|
|
|
These should be 'free' checks for program flow and should not be needed in any releases, only used when the DEV_ENABLED define is set.
|
|
|
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C
|
|
|
|
#define DEV_CHECK(m_cond)
|
|
|
|
#define DEV_CHECK_ONCE(m_cond)
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
Math
|
2024-01-06 11:55:43 +01:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
<a name="CLASS_Math"></a>
|
|
|
|
<details><summary>Math</summary>
|
|
|
|
|
|
|
|
|||CLASS_Math|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="STRUCT_Vector2"></a>
|
|
|
|
<details><summary>Vector2</summary>
|
|
|
|
|
|
|
|
|||STRUCT_Vector2|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="STRUCT_Vector2i"></a>
|
|
|
|
<details><summary>Vector2i</summary>
|
|
|
|
|
|
|
|
|||STRUCT_Vector2i|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="STRUCT_Vector3"></a>
|
|
|
|
<details><summary>Vector3</summary>
|
|
|
|
|
|
|
|
|||STRUCT_Vector3|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="STRUCT_Vector3i"></a>
|
|
|
|
<details><summary>Vector3i</summary>
|
|
|
|
|
|
|
|
|||STRUCT_Vector3i|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="STRUCT_Vector4"></a>
|
|
|
|
<details><summary>Vector4</summary>
|
|
|
|
|
|
|
|
|||STRUCT_Vector4|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="STRUCT_Vector4i"></a>
|
|
|
|
<details><summary>Vector4i</summary>
|
|
|
|
|
|
|
|
|||STRUCT_Vector4i|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="STRUCT_Color"></a>
|
|
|
|
<details><summary>Color</summary>
|
2024-01-06 11:55:43 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
|||STRUCT_Color|||
|
2024-01-06 11:55:43 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
</details>
|
2024-01-06 11:55:43 +01:00
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
<a name="STRUCT_Rect2"></a>
|
|
|
|
<details><summary>Rect2</summary>
|
|
|
|
|
|
|
|
|||STRUCT_Rect2|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="STRUCT_Rect2i"></a>
|
|
|
|
<details><summary>Rect2i</summary>
|
|
|
|
|
|
|
|
|||STRUCT_Rect2i|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="STRUCT_Plane"></a>
|
|
|
|
<details><summary>Plane</summary>
|
|
|
|
|
|
|
|
|||STRUCT_Plane|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="STRUCT_AABB"></a>
|
|
|
|
<details><summary>AABB</summary>
|
|
|
|
|
|
|
|
|||STRUCT_AABB|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="STRUCT_Face3"></a>
|
|
|
|
<details><summary>Face3</summary>
|
|
|
|
|
|
|
|
|||STRUCT_Face3|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="STRUCT_Transform2D"></a>
|
|
|
|
<details><summary>Transform2D</summary>
|
|
|
|
|
|
|
|
|||STRUCT_Transform2D|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="STRUCT_Quaternion"></a>
|
|
|
|
<details><summary>Quaternion</summary>
|
|
|
|
|
|
|
|
|||STRUCT_Quaternion|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="STRUCT_Basis"></a>
|
|
|
|
<details><summary>Basis</summary>
|
|
|
|
|
|
|
|
|||STRUCT_Basis|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="STRUCT_Transform"></a>
|
|
|
|
<details><summary>Transform</summary>
|
|
|
|
|
|
|
|
|||STRUCT_Transform|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="STRUCT_Projection"></a>
|
|
|
|
<details><summary>Projection</summary>
|
|
|
|
|
|
|
|
|||STRUCT_Projection|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="CLASS_RandomPCG"></a>
|
|
|
|
<details><summary>RandomPCG</summary>
|
|
|
|
|
|
|
|
|||CLASS_RandomPCG|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
String
|
2024-01-06 11:55:43 +01:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
Helper Structs
|
|
|
|
|
|
|
|
<a name="STRUCT_CharRange"></a>
|
|
|
|
<details><summary>CharRange</summary>
|
|
|
|
|
|
|
|
|||STRUCT_CharRange|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="STRUCT_StrRange"></a>
|
|
|
|
<details><summary>StrRange</summary>
|
|
|
|
|
|
|
|
|||STRUCT_StrRange|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="STRUCT_NoCaseComparator"></a>
|
|
|
|
<details><summary>NoCaseComparator</summary>
|
|
|
|
|
|
|
|
|||STRUCT_NoCaseComparator|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="STRUCT_NaturalNoCaseComparator"></a>
|
|
|
|
<details><summary>NaturalNoCaseComparator</summary>
|
|
|
|
|
|
|
|
|||STRUCT_NaturalNoCaseComparator|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
Character Strings
|
|
|
|
|
|
|
|
<a name="STRUCT_StaticCString"></a>
|
|
|
|
<details><summary>StaticCString</summary>
|
|
|
|
|
|
|
|
You can statically stoe a C string with this.
|
|
|
|
|
|
|
|
|||STRUCT_StaticCString|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="CLASS_Char16String"></a>
|
|
|
|
<details><summary>Char16String</summary>
|
|
|
|
|
|
|
|
16 bit (wide char) char string.
|
|
|
|
|
|
|
|
|||CLASS_Char16String|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="CLASS_CharString"></a>
|
|
|
|
<details><summary>CharString</summary>
|
|
|
|
|
|
|
|
8 bit char string.
|
|
|
|
|
|
|
|
|||CLASS_CharString|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="CLASS_CharProxy"></a>
|
|
|
|
<details><summary>CharProxy</summary>
|
|
|
|
|
|
|
|
Properly stores a reference to an element in a String.
|
|
|
|
|
|
|
|
|||CLASS_CharProxy|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
Main
|
|
|
|
|
|
|
|
<a name="CLASS_String"></a>
|
|
|
|
<details><summary>String</summary>
|
|
|
|
|
|
|
|
Main String class. This is what you normally use. Stores characters as 32 bit variables. It's COW (Copy on Write).
|
|
|
|
|
|
|
|
If you want to convert this to a char* use it's utf8() method.
|
|
|
|
|
|
|
|
|||CLASS_String|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="CLASS_StringName"></a>
|
|
|
|
<details><summary>StringName</summary>
|
|
|
|
|
|
|
|
A String that is optimized for comparisons using ==.
|
|
|
|
|
|
|
|
|||CLASS_StringName|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
Containers
|
|
|
|
------------------------------------------------------------------
|
|
|
|
|
2024-01-06 17:45:49 +01:00
|
|
|
Helper Structs
|
|
|
|
|
|
|
|
<a name="STRUCT_Pair"></a>
|
|
|
|
<details><summary>Pair</summary>
|
|
|
|
|
|
|
|
|||STRUCT_Pair|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="STRUCT_KeyValue"></a>
|
|
|
|
<details><summary>KeyValue</summary>
|
|
|
|
|
|
|
|
|||STRUCT_KeyValue|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="STRUCT_Comparator"></a>
|
|
|
|
<details><summary>Comparator</summary>
|
|
|
|
|
|
|
|
|||STRUCT_Comparator|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
Helper Classes
|
|
|
|
|
|
|
|
<a name="CLASS_CowData"></a>
|
|
|
|
<details><summary>CowData</summary>
|
|
|
|
|
|
|
|
A helper class that implements COW (Copy-on-Write) functionality.
|
|
|
|
|
|
|
|
|||CLASS_CowData|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="CLASS_VectorWriteProxy"></a>
|
|
|
|
<details><summary>VectorWriteProxy</summary>
|
|
|
|
|
|
|
|
|||CLASS_VectorWriteProxy|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
Lists
|
|
|
|
|
|
|
|
<a name="CLASS_List"></a>
|
|
|
|
<details><summary>List</summary>
|
|
|
|
|
|
|
|
|||CLASS_List|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
Vectors
|
|
|
|
|
|
|
|
<a name="CLASS_Vector"></a>
|
|
|
|
<details><summary>Vector</summary>
|
|
|
|
|
|
|
|
Vector with COW support.
|
|
|
|
|
|
|
|
|||CLASS_Vector|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="CLASS_PoolVector"></a>
|
|
|
|
<details><summary>PoolVector</summary>
|
|
|
|
|
|
|
|
Vector that does not fragment memory.
|
|
|
|
|
|
|
|
|||CLASS_PoolVector|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="CLASS_LocalVector"></a>
|
|
|
|
<details><summary>LocalVector</summary>
|
|
|
|
|
|
|
|
Simple vector. Uses unsigned ints as indexes.
|
|
|
|
|
|
|
|
Saves on allocation calls by overallocating memory.
|
|
|
|
|
|
|
|
This is the most similar to std::vector.
|
|
|
|
|
|
|
|
|||CLASS_LocalVector|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="CLASS_LocalVectori"></a>
|
|
|
|
<details><summary>LocalVectori</summary>
|
|
|
|
|
|
|
|
Simple vector. Uses signed ints as indexes.
|
|
|
|
|
|
|
|
Saves on allocation calls by overallocating memory.
|
|
|
|
|
|
|
|
|||CLASS_LocalVectori|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="CLASS_TightLocalVector"></a>
|
|
|
|
<details><summary>TightLocalVector</summary>
|
|
|
|
|
|
|
|
Simple vector. Uses unsigned ints as indexes.
|
|
|
|
|
|
|
|
Unlike LocalVector it always only allocates the space it needs.
|
|
|
|
|
|
|
|
|||CLASS_TightLocalVector|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="CLASS_TightLocalVectori"></a>
|
|
|
|
<details><summary>TightLocalVectori</summary>
|
|
|
|
|
|
|
|
Simple vector. Uses signed ints as indexes.
|
|
|
|
|
|
|
|
Unlike LocalVector it always only allocates the space it needs.
|
|
|
|
|
|
|
|
|||CLASS_TightLocalVectori|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
Sets
|
|
|
|
|
|
|
|
<a name="CLASS_RBSet"></a>
|
|
|
|
<details><summary>RBSet</summary>
|
|
|
|
|
|
|
|
|||CLASS_RBSet|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="CLASS_VSet"></a>
|
|
|
|
<details><summary>VSet</summary>
|
|
|
|
|
|
|
|
|||CLASS_VSet|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="CLASS_HashSet"></a>
|
|
|
|
<details><summary>HashSet</summary>
|
|
|
|
|
|
|
|
|||CLASS_HashSet|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
Maps
|
|
|
|
|
|
|
|
<a name="CLASS_RBMap"></a>
|
|
|
|
<details><summary>RBMap</summary>
|
|
|
|
|
|
|
|
|||CLASS_RBMap|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="CLASS_VMap"></a>
|
|
|
|
<details><summary>VMap</summary>
|
|
|
|
|
|
|
|
|||CLASS_VMap|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
HashMaps
|
|
|
|
|
|
|
|
<a name="CLASS_OGHashMap"></a>
|
|
|
|
<details><summary>OGHashMap</summary>
|
|
|
|
|
|
|
|
Simple HashMap implementation.
|
|
|
|
|
|
|
|
|||CLASS_OGHashMap|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="CLASS_HashMap"></a>
|
|
|
|
<details><summary>HashMap</summary>
|
|
|
|
|
|
|
|
HashMap implementation that uses open addressing with Robin Hood hashing.
|
|
|
|
|
|
|
|
Use this by default.
|
|
|
|
|
|
|
|
|||CLASS_HashMap|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="CLASS_OrderedHashMap"></a>
|
|
|
|
<details><summary>OrderedHashMap</summary>
|
|
|
|
|
|
|
|
HashMap implementation that keeps the order of it's elements.
|
|
|
|
|
|
|
|
|||CLASS_OrderedHashMap|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
Special
|
|
|
|
|
|
|
|
<a name="CLASS_SortArray"></a>
|
|
|
|
<details><summary>SortArray</summary>
|
|
|
|
|
|
|
|
|||CLASS_SortArray|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="CLASS_RingBuffer"></a>
|
|
|
|
<details><summary>RingBuffer</summary>
|
|
|
|
|
|
|
|
|||CLASS_RingBuffer|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
|
|
|
|
Files
|
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
2024-01-06 17:45:49 +01:00
|
|
|
Time
|
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
<a name="CLASS_STime"></a>
|
|
|
|
<details><summary>STime</summary>
|
|
|
|
|
|
|
|
|||CLASS_STime|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
2024-01-06 17:10:13 +01:00
|
|
|
Threading
|
|
|
|
------------------------------------------------------------------
|
|
|
|
|
2024-01-06 17:45:49 +01:00
|
|
|
TODO There are multiples of the same classes due to defines. Implement a way to select from them.
|
|
|
|
|
|
|
|
TODO also get Thread.
|
|
|
|
|
|
|
|
Atomics
|
|
|
|
|
|
|
|
<a name="CLASS_SafeNumeric"></a>
|
|
|
|
<details><summary>SafeNumeric</summary>
|
|
|
|
|
|
|
|
|||CLASS_SafeNumeric|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="CLASS_SafeFlag"></a>
|
|
|
|
<details><summary>SafeFlag</summary>
|
|
|
|
|
|
|
|
|||CLASS_SafeFlag|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="CLASS_SafeRefCount"></a>
|
|
|
|
<details><summary>SafeRefCount</summary>
|
|
|
|
|
|
|
|
|||CLASS_SafeRefCount|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
Mutex
|
|
|
|
|
|
|
|
<a name="CLASS_MutexImpl"></a>
|
|
|
|
<details><summary>Mutex</summary>
|
|
|
|
|
|
|
|
Typedefined to Mutex.
|
|
|
|
|
|
|
|
|||CLASS_MutexImpl|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="CLASS_MutexLock"></a>
|
|
|
|
<details><summary>MutexLock</summary>
|
|
|
|
|
|
|
|
Helper class to lock and automatically release it on leaving scope.
|
|
|
|
|
|
|
|
|||CLASS_MutexLock|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
RWLock
|
|
|
|
|
|
|
|
<a name="CLASS_RWLock"></a>
|
|
|
|
<details><summary>RWLock</summary>
|
|
|
|
|
|
|
|
|||CLASS_RWLock|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="CLASS_RWLockRead"></a>
|
|
|
|
<details><summary>RWLockRead</summary>
|
|
|
|
|
|
|
|
|||CLASS_RWLockRead|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<a name="CLASS_RWLockWrite"></a>
|
|
|
|
<details><summary>RWLockWrite</summary>
|
|
|
|
|
|
|
|
|||CLASS_RWLockWrite|||
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
SpinLock
|
|
|
|
|
|
|
|
<a name="CLASS_SpinLock"></a>
|
|
|
|
<details><summary>SpinLock</summary>
|
|
|
|
|
|
|
|
|||CLASS_SpinLock|||
|
|
|
|
|
|
|
|
</details>
|
2024-01-06 17:10:13 +01:00
|
|
|
|
|
|
|
OBJECT
|
|
|
|
====================================================================================
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RENDER CORE
|
|
|
|
====================================================================================
|
|
|
|
|
|
|
|
Coordinate Systems
|
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
3D TODO doube check z
|
|
|
|
|
2024-01-06 11:55:43 +01:00
|
|
|
******************************************************************
|
2024-01-06 17:10:13 +01:00
|
|
|
*
|
|
|
|
* +x
|
|
|
|
* *--->--------. .--->--------.
|
|
|
|
* | | | |
|
|
|
|
* v +y | | |
|
|
|
|
* | | +y ^ ^ +z |
|
|
|
|
* | | |/ |
|
|
|
|
* '------------' *--->--------'
|
|
|
|
* / +x
|
|
|
|
* -z
|
|
|
|
* 2D 3D
|
2024-01-06 11:55:43 +01:00
|
|
|
******************************************************************
|
2024-01-06 17:10:13 +01:00
|
|
|
|
|
|
|
|
|
|
|
Application
|
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
Input
|
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
Rendering
|
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Materials
|
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RENDER IMMEDIATE
|
|
|
|
====================================================================================
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RENDER OBJECTS
|
|
|
|
====================================================================================
|
|
|
|
|
|
|
|
|
2024-01-06 11:55:43 +01:00
|
|
|
|
|
|
|
<script>markdeepOptions = {tocStyle:'long', definitionStyle:'long', linkAPIDefinitions: true};</script>
|
|
|
|
<link rel="stylesheet" href="slate.css">
|
|
|
|
<!-- Markdeep: --><style class="fallback">body{visibility:hidden;white-space:pre;font-family:monospace}</style><script src="markdeep.min.js"></script><script src="https://casual-effects.com/markdeep/latest/markdeep.min.js?"></script><script>window.alreadyProcessedMarkdeep||(document.body.style.visibility="visible")</script>
|
|
|
|
|