RootLayoutBase *const Hatchit::Graphics::RootLayout::GetBase |
( |
| ) |
const |
Gets a pointer to the RootLayoutBase that this class wraps.
- Returns
- A pointer to the RootLayoutBaseObject that this object is wrapping
bool Hatchit::Graphics::RootLayout::Initialize |
( |
const std::string & |
file | ) |
|
Initialize a RootLayout with the GPUResourcePool.
This initialization step takes place on the GPUResourceThread but LOCKS the main thread. An InitializeAsync method should be used for asynchronous requests. If the pool is already in use we will assume that the request is made inside the thread and the RootLayout will be created immediately.
- Parameters
-
file | The file path to the shader we want to load from disk |
- Returns
- A boolean representing whether or not this operation succeeded
The documentation for this class was generated from the following files: