Silicon
A realtime platform for creating interactive media.
|
Namespaces | |
namespace | Engine |
namespace | Event |
namespace | graphics |
A base for a system that allows handles to be attached to other handles and recreating handles and their dependents. | |
namespace | Log |
namespace | Vulkan |
The namespace for everything Vulkan related. | |
namespace | VulkanRenderer |
Classes | |
class | Asset |
struct | GraphList |
List for use in Graphs. More... | |
struct | GraphVector |
Vector for use in Graphs. More... | |
class | Node |
class | PlainTextAsset |
class | Renderer |
The Renderer class is the base class for all Renderer implementations. More... | |
struct | RequestableItem |
A convenience structure for representing required or optional items that can be requested. More... | |
class | Shader |
class | Sub |
The Subscriber class allows you to listen in on published events of type T. More... | |
struct | Vertex |
class | Window |
Typedefs | |
template<typename T > | |
using | Allocator = boost::pool_allocator< T > |
template<typename T > | |
using | Future = tf::Future< T > |
using | AsyncExecutor = tf::Executor |
using | NodeGraph = Graph< NotNull< Node * >, GraphList > |
using | Vec2 = glm::vec2 |
using | Vec3 = glm::vec3 |
template<typename T > | |
using | NotNull = gsl::strict_not_null< T > |
template<typename T > | |
using | Vector = std::vector< T, Allocator< T > > |
template<typename T > | |
using | List = std::list< T, Allocator< T > > |
template<typename Key , typename Value , typename Compare = std::less<Key>> | |
using | Map = std::map< Key, Value, Compare, Allocator< std::pair< const Key, Value > > > |
A STL map with a Silicon allocator. More... | |
template<typename Key , typename Value , typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>> | |
using | HashMap = std::unordered_map< Key, Value, Hash, KeyEqual, Allocator< std::pair< const Key, Value > > > |
A STL unordered map with a Silicon allocator. More... | |
template<typename T , typename ContainerT = GraphVector> | |
using | Graph = boost::adjacency_list< ContainerT, ContainerT, boost::bidirectionalS, T > |
Container for representing relationships between objects. More... | |
Enumerations | |
enum class | Locale { en_US } |
Functions | |
AsyncExecutor & | GetAsyncExecutor () |
template<typename T , typename F > | |
Future< T > | Async (F &&f) |
template<typename F > | |
void | Async (F &&f) |
template<typename T > | |
void | Pub (const T &data) |
Publishes an event of type T to all subscribers immediately. More... | |
void | SetLocale (Locale locale) |
bool | AddLocalizationFile (Locale locale, const std::string &filename) |
std::string | GetLocalized (const std::string &key) |
template<typename... Args> | |
void | Trace (Args &&... args) |
template<typename... Args> | |
void | Info (Args &&... args) |
template<typename... Args> | |
void | Debug (Args &&... args) |
template<typename... Args> | |
void | Warn (Args &&... args) |
template<typename... Args> | |
void | Error (Args &&... args) |
template<typename... Args> | |
void | Critical (Args &&... args) |
bool | Initialize () |
void | SetLoop (std::function< bool()> loop) |
bool | Loop () |
void | Run () |
void | Deinitialize () |
void | InitializeModules () |
void | DeinitializeModules () |
using Si::Allocator = typedef boost::pool_allocator<T> |
Definition at line 38 of file Allocator.hpp.
using Si::AsyncExecutor = typedef tf::Executor |
using Si::Future = typedef tf::Future<T> |
using Si::Graph = typedef boost::adjacency_list<ContainerT, ContainerT, boost::bidirectionalS, T> |
using Si::HashMap = typedef std::unordered_map<Key, Value, Hash, KeyEqual, Allocator<std::pair<const Key, Value> >> |
using Si::NodeGraph = typedef Graph<NotNull<Node *>, GraphList> |
using Si::NotNull = typedef gsl::strict_not_null<T> |
using Si::Vec2 = typedef glm::vec2 |
Definition at line 40 of file Vertex.hpp.
using Si::Vec3 = typedef glm::vec3 |
Definition at line 41 of file Vertex.hpp.
using Si::Vector = typedef std::vector<T, Allocator<T> > |
|
strong |
Enumerator | |
---|---|
en_US |
Definition at line 38 of file Localization.hpp.
bool Si::AddLocalizationFile | ( | Locale | locale, |
const std::string & | filename | ||
) |
Definition at line 91 of file Localization.cpp.
Future< T > Si::Async | ( | F && | f | ) |
void Si::Critical | ( | Args &&... | args | ) |
void Si::Deinitialize | ( | ) |
Definition at line 59 of file Silicon.cpp.
void Si::DeinitializeModules | ( | ) |
AsyncExecutor & Si::GetAsyncExecutor | ( | ) |
std::string Si::GetLocalized | ( | const std::string & | key | ) |
Definition at line 81 of file Localization.cpp.
bool Si::Initialize | ( | ) |
Definition at line 45 of file Silicon.cpp.
void Si::InitializeModules | ( | ) |
bool Si::Loop | ( | ) |
Definition at line 69 of file Silicon.cpp.
void Si::Pub | ( | const T & | data | ) |
void Si::SetLocale | ( | Locale | locale | ) |
Definition at line 53 of file Localization.cpp.
void Si::SetLoop | ( | std::function< bool()> | loop | ) |
Definition at line 64 of file Silicon.cpp.