XLE
v0.02.0
|
Startup and manage a minimal set of asset services More...
#include <MinimalAssetServices.h>
Public Member Functions | |
MinimalAssetServices (RenderCore::IDevice *device) | |
void | AttachCurrentModule () |
void | DetachCurrentModule () |
MinimalAssetServices (const MinimalAssetServices &)=delete | |
const MinimalAssetServices & | operator= (const MinimalAssetServices &)=delete |
Static Public Member Functions | |
static BufferUploads::IManager & | GetBufferUploads () |
Protected Attributes | |
std::unique_ptr< BufferUploads::IManager > | _bufferUploads |
std::unique_ptr< RenderCore::ShaderService > | _shaderService |
Static Protected Attributes | |
static MinimalAssetServices * | s_instance = nullptr |
Startup and manage a minimal set of asset services
This is similar to RenderCore::Assets::Services, but provides reduced functionality for special-case command line programs. This works much better in cases where we don't want to cache the compiled shaders to disk.