API Documentation
Public Member Functions | List of all members
nkGraphics::ResourceSetLoadResult Class Referencefinal

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 ()
 
CompositorgetDefaultCompositor () const
 
void setDefaultCompositor (Compositor *value)
 
void clear ()
 

Detailed Description

Holds the result of a loading operation for a resource set.

All resources that have been parsed will be stored in offered structures.

Constructor & Destructor Documentation

◆ ResourceSetLoadResult()

nkGraphics::ResourceSetLoadResult::ResourceSetLoadResult ( )
noexcept

Constructor.

Member Function Documentation

◆ getMeshes()

std::vector<Mesh*>& nkGraphics::ResourceSetLoadResult::getMeshes ( )
Returns
The parsed meshes.

◆ getShaders()

std::vector<Shader*>& nkGraphics::ResourceSetLoadResult::getShaders ( )
Returns
The parsed shaders.

◆ getPrograms()

std::vector<Program*>& nkGraphics::ResourceSetLoadResult::getPrograms ( )
Returns
The parsed programs.

◆ getSamplers()

std::vector<Sampler*>& nkGraphics::ResourceSetLoadResult::getSamplers ( )
Returns
The parsed samplers.

◆ getTextures()

std::vector<Texture*>& nkGraphics::ResourceSetLoadResult::getTextures ( )
Returns
The parsed textures.

◆ getScenes()

std::vector<Node*>& nkGraphics::ResourceSetLoadResult::getScenes ( )
Returns
The parsed scenes.

◆ getCompositors()

std::vector<Compositor*>& nkGraphics::ResourceSetLoadResult::getCompositors ( )
Returns
The parsed compositors.

◆ getBuffers()

std::vector<Buffer*>& nkGraphics::ResourceSetLoadResult::getBuffers ( )
Returns
The parsed buffers.

◆ getBlendStates()

std::vector<BlendState*>& nkGraphics::ResourceSetLoadResult::getBlendStates ( )
Returns
The parsed blend states.

◆ getDepthStencilStates()

std::vector<DepthStencilState*>& nkGraphics::ResourceSetLoadResult::getDepthStencilStates ( )
Returns
The parsed depth and stencil states.

◆ getRasterStates()

std::vector<RasterState*>& nkGraphics::ResourceSetLoadResult::getRasterStates ( )
Returns
The parsed render states.

◆ getCameras()

std::vector<Camera*>& nkGraphics::ResourceSetLoadResult::getCameras ( )
Returns
The parsed cameras.

◆ getRenderQueues()

std::vector<RenderQueue*>& nkGraphics::ResourceSetLoadResult::getRenderQueues ( )
Returns
The parsed render queues.

◆ getDefaultCompositor()

Compositor* nkGraphics::ResourceSetLoadResult::getDefaultCompositor ( ) const
Returns
The default compositor parsed.

◆ setDefaultCompositor()

void nkGraphics::ResourceSetLoadResult::setDefaultCompositor ( Compositor value)

Sets the default compositor parsed.

Parameters
valueThe compositor parsed.

◆ clear()

void nkGraphics::ResourceSetLoadResult::clear ( )

Clears the structure to its empty state.


The documentation for this class was generated from the following file: