-
-
Notifications
You must be signed in to change notification settings - Fork 5
Custom types
Stanislav Vasilev edited this page Feb 4, 2025
·
5 revisions
The framework defines the following custom types. You can see them all in the list below.
Caution
You shouldn't use containers from the standard C++ library directly. We provide custom definitions for all standard library containers with a custom allocator in order to allow for plugin support on Windows. It's good practice to use our custom types, but if you're not developing with plugin support in mind you're free to not obey this rule.
C & C++ types:
-
UImGui_FVector2
/FVector2
- 2D float vector -
UImGui_FVector
/FVector
- 3D float vector -
UImGui_FVector4
/FVector4
- 4D float vector -
UImGui_String
/String
- C string a.k.a.const char*
C++ containers:
-
TFunction
- a macro that expands intostd::function
-
FString
- Equivalent tostd::string
-
FString8
- Equivalent tostd::string
-
FString16
- Equivalent tostd::u16string
-
FString32
- Equivalent tostd::u32string
-
FWString
- Equivalent tostd::wstring
-
TVector
- Equivalent tostd::vector
-
TQueue
- Equivalent tostd::queue
-
TDeque
- Equivalent tostd::deque
-
TPriorityQueue
- Equivalent tostd::priority_queue
-
TStack
- Equivalent tostd::stack
-
TForwardList
- Equivalent tostd::forward_list
-
TList
- Equivalent tostd::list
-
TUnorderedSet
- Equivalent tophmap::parallel_flat_hash_set
-
TSet
- Equivalent tophmap::btree_set
-
TSTDSet
- Equivalent tostd::set
-
TSTDUnorderedSet
- Equivalent tostd::unordered_set
-
TMultiset
- Equivalent tophmap::btree_multiset
-
TSTDMultiset
- Equivalent tostd::multiset
-
TSTDUnorderedMultiset
- Equivalent tostd::unordered_multiset
-
TMap
- Equivalent tophmap::btree_map
-
TSTDMap
- Equivalent tostd::map
-
TMultimap
- Equivalent tophmap::btree_multimap
-
TSTDMultimap
- Equivalent tostd::multimap
-
TSTDUnorderedMap
- Equivalent tostd::unordered_map
-
TUnorderedMap
- Equivalent tophmap::parallel_flat_hash_map
-
TSTDUnorderedMultimap
- Equivalent tostd::unordered_multimap
This project is supported by all the people who joined our discord server and became beta testers. If you want to join the discord you can click here.
- Home
- Beginner content
- Install guide
- Creating and using the UI components
- The Instance
- The Init Info struct
- Textures
- Logging
- Unicode support
- Additional features
- Client-side bar
- Custom type definitions
- Memory management
- C API development
- Config files and Folders
- Interfaces
- Internal Event safety
- Customising the build system
- Modules system
- Collaborating with others
- Advanced content
- Developer and contributor resources
- Misc