API Documentation
ContentLoadResult.h
1 // ContentLoadResult.h
3 //
5 
6 namespace nkGraphics
7 {
12  {
13  SUCCESS = 0,
14  PARTIAL,
15  FAILURE
16  } ;
17 
21  template<typename T>
23  {
24  public :
25 
26  // Attributs
27  std::vector<std::string> _errorMessages ;
28  std::vector<T*> _loadResult ;
30  } ;
31 
34 
40 
44 
47 
51 
54 }
nkGraphics::ContentLoadResultRasterState
ContentLoadResult< RasterState > ContentLoadResultRasterState
Load result for raster states.
Definition: ContentLoadResult.h:50
nkGraphics::CONTENT_LOAD_RESULT_STATE::SUCCESS
@ SUCCESS
Fully successful parsing.
nkGraphics::ContentLoadResult::_success
CONTENT_LOAD_RESULT_STATE _success
The success flag of loading.
Definition: ContentLoadResult.h:29
nkGraphics::ContentLoadResultShader
ContentLoadResult< Shader > ContentLoadResultShader
Load result for shaders.
Definition: ContentLoadResult.h:37
nkGraphics::ContentLoadResultPass
ContentLoadResult< Pass > ContentLoadResultPass
Load result for passes.
Definition: ContentLoadResult.h:41
nkGraphics::CONTENT_LOAD_RESULT_STATE
CONTENT_LOAD_RESULT_STATE
The available values for a parsing attempt result.
Definition: ContentLoadResult.h:12
nkGraphics::ContentLoadResultTexture
ContentLoadResult< Texture > ContentLoadResultTexture
Load result for texture.
Definition: ContentLoadResult.h:33
nkGraphics::ContentLoadResultMesh
ContentLoadResult< Mesh > ContentLoadResultMesh
Load result for meshes.
Definition: ContentLoadResult.h:45
nkGraphics::ContentLoadResultCompositor
ContentLoadResult< Compositor > ContentLoadResultCompositor
Load result for compositors.
Definition: ContentLoadResult.h:42
nkGraphics::ContentLoadResultDepthStencilState
ContentLoadResult< DepthStencilState > ContentLoadResultDepthStencilState
Load result for depth and stencil states.
Definition: ContentLoadResult.h:49
nkGraphics::CONTENT_LOAD_RESULT_STATE::FAILURE
@ FAILURE
Fully failed parsing.
nkGraphics::ContentLoadResultBuffer
ContentLoadResult< Buffer > ContentLoadResultBuffer
Load result for buffers.
Definition: ContentLoadResult.h:35
nkGraphics::ContentLoadResult::_errorMessages
std::vector< std::string > _errorMessages
The error messages, if any.
Definition: ContentLoadResult.h:27
nkGraphics::ContentLoadResultProgram
ContentLoadResult< Program > ContentLoadResultProgram
Load result for programs.
Definition: ContentLoadResult.h:39
nkGraphics::ContentLoadResultConstantBuffer
ContentLoadResult< ConstantBuffer > ContentLoadResultConstantBuffer
Load result for constant buffers.
Definition: ContentLoadResult.h:36
nkGraphics::ContentLoadResultSampler
ContentLoadResult< Sampler > ContentLoadResultSampler
Load result for samplers.
Definition: ContentLoadResult.h:32
nkGraphics::ContentLoadResultCompositorNode
ContentLoadResult< CompositorNode > ContentLoadResultCompositorNode
Load result for compositor nodes.
Definition: ContentLoadResult.h:43
nkGraphics::ContentLoadResultShaderMemorySlot
ContentLoadResult< ShaderMemorySlot > ContentLoadResultShaderMemorySlot
Load result for memory slots.
Definition: ContentLoadResult.h:38
nkGraphics::ContentLoadResult
Holds information about an attempt of parsing content declaration sources.
Definition: ContentLoadResult.h:23
nkGraphics::ContentLoadResult::_loadResult
std::vector< T * > _loadResult
The resulting content, if any.
Definition: ContentLoadResult.h:28
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::CONTENT_LOAD_RESULT_STATE::PARTIAL
@ PARTIAL
Partial, there were successful declaration loading alongside failures.
nkGraphics::ContentLoadResultNode
ContentLoadResult< Node > ContentLoadResultNode
Load result for nodes.
Definition: ContentLoadResult.h:46
nkGraphics::ContentLoadResultBlendState
ContentLoadResult< BlendState > ContentLoadResultBlendState
Load result for blend states.
Definition: ContentLoadResult.h:48