Holds the result of a loading operation for a resource set. More...
Public Member Functions | |
ResourceSetLoadResult () noexcept | |
std::vector< Mesh * > & | getMeshes () |
std::vector< Shader * > & | getShaders () |
std::vector< Program * > & | getPrograms () |
std::vector< Sampler * > & | getSamplers () |
std::vector< Texture * > & | getTextures () |
std::vector< Node * > & | getScenes () |
std::vector< Compositor * > & | getCompositors () |
std::vector< Buffer * > & | getBuffers () |
std::vector< BlendState * > & | getBlendStates () |
std::vector< DepthStencilState * > & | getDepthStencilStates () |
std::vector< RasterState * > & | getRasterStates () |
std::vector< Camera * > & | getCameras () |
std::vector< RenderQueue * > & | getRenderQueues () |
Compositor * | getDefaultCompositor () const |
void | setDefaultCompositor (Compositor *value) |
void | clear () |
Holds the result of a loading operation for a resource set.
All resources that have been parsed will be stored in offered structures.
|
noexcept |
Constructor.
std::vector<Mesh*>& nkGraphics::ResourceSetLoadResult::getMeshes | ( | ) |
std::vector<Shader*>& nkGraphics::ResourceSetLoadResult::getShaders | ( | ) |
std::vector<Program*>& nkGraphics::ResourceSetLoadResult::getPrograms | ( | ) |
std::vector<Sampler*>& nkGraphics::ResourceSetLoadResult::getSamplers | ( | ) |
std::vector<Texture*>& nkGraphics::ResourceSetLoadResult::getTextures | ( | ) |
std::vector<Node*>& nkGraphics::ResourceSetLoadResult::getScenes | ( | ) |
std::vector<Compositor*>& nkGraphics::ResourceSetLoadResult::getCompositors | ( | ) |
std::vector<Buffer*>& nkGraphics::ResourceSetLoadResult::getBuffers | ( | ) |
std::vector<BlendState*>& nkGraphics::ResourceSetLoadResult::getBlendStates | ( | ) |
std::vector<DepthStencilState*>& nkGraphics::ResourceSetLoadResult::getDepthStencilStates | ( | ) |
std::vector<RasterState*>& nkGraphics::ResourceSetLoadResult::getRasterStates | ( | ) |
std::vector<Camera*>& nkGraphics::ResourceSetLoadResult::getCameras | ( | ) |
std::vector<RenderQueue*>& nkGraphics::ResourceSetLoadResult::getRenderQueues | ( | ) |
Compositor* nkGraphics::ResourceSetLoadResult::getDefaultCompositor | ( | ) | const |
void nkGraphics::ResourceSetLoadResult::setDefaultCompositor | ( | Compositor * | value | ) |
Sets the default compositor parsed.
value | The compositor parsed. |
void nkGraphics::ResourceSetLoadResult::clear | ( | ) |
Clears the structure to its empty state.