|
API Documentation
|
|
|
ContentLoadResultMesh processMeshSources(nkMemory::StringView sources, bool loadResource=true)
ContentLoadResultBuffer processBufferSources(nkMemory::StringView sources, bool loadResource=true)
ContentLoadResultNode processNodeSources(nkMemory::StringView sources)
ContentLoadResultRasterState loadRasterStateDeclaration(nkMemory::StringView pathFromData, bool loadResource=true)
ContentLoadResultConstantBuffer processConstantBufferDeclarationTree(nkExport::Node *tree)
ContentLoadResultProgram processShaderProgramSources(nkMemory::StringView sources, bool loadResource=true)
ContentLoadResultCamera loadCameraDeclaration(nkMemory::StringView pathFromData)
An interface to define objects that can be exported using this component.
Definition: Exportable.h:15
bool saveObjectDeclaration(nkExport::Exportable *object, nkMemory::StringView pathFromData)
A compositor, describing how to compose the rendering pipeline.
Definition: Compositor.h:23
ContentLoadResultNode loadNodeDeclaration(nkMemory::StringView pathFromData)
nkExport::ExporterLoadResult inputData(nkMemory::StringView filePath)
ContentLoadResultProgram processShaderProgramTree(nkExport::Node *tree, bool loadResource=true)
ContentLoadResultBuffer loadBufferDeclaration(nkMemory::StringView pathFromData, bool loadResource=true)
nkExport::ExporterLoadResult inputDataSources(nkMemory::StringView sources)
ContentLoadResultCompositorNode appendCompositorNodeFromSources(nkMemory::StringView sources, Compositor *parent)
Holds the information about a try to import data sources.
Definition: ExporterLoadResult.h:15
ContentLoadResultSampler processSamplerSources(nkMemory::StringView sources, bool loadResource=true)
ContentLoadResultDepthStencilState loadDepthStencilStateDeclaration(nkMemory::StringView pathFromData, bool loadResource=true)
bool outputData(nkMemory::StringView content, nkMemory::StringView path)
ContentLoadResultConstantBuffer loadConstantBufferDeclaration(nkMemory::StringView pathFromData)
std::string inputDataStr(nkMemory::StringView filePath)
ContentLoadResultBuffer processBufferDeclarationTree(nkExport::Node *tree, bool loadResource=true)
ContentLoadResultConstantBuffer processConstantBufferSources(nkMemory::StringView sources)
ContentLoadResultRenderQueue processRenderQueueSources(nkMemory::StringView sources)
ContentLoadResultMesh processMeshTree(nkExport::Node *tree, bool loadResource=true)
ContentLoader(System *system) noexcept
bool saveTreeDeclaration(nkExport::Node *tree, nkMemory::StringView pathFromData)
ContentLoadResultSampler processSamplerTree(nkExport::Node *tree, bool loadResource=true)
ContentLoadResultDepthStencilState processDepthStencilStateTree(nkExport::Node *tree, bool loadResource=true)
ContentLoadResultShaderMemorySlot processShaderMemorySlotDeclarationTree(nkExport::Node *tree)
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
ContentLoadResultPass processPassTree(nkExport::Node *tree)
ContentLoadResultBlendState processBlendStateSources(nkMemory::StringView sources, bool loadResource=true)
ContentLoadResultCamera processCameraTree(nkExport::Node *tree)
ContentLoadResultTexture processTextureSources(nkMemory::StringView sources, bool loadResource=true)
ContentLoadResultCompositor processCompositorSources(nkMemory::StringView sources)
ContentLoadResultShaderMemorySlot processShaderMemorySlotSources(nkMemory::StringView sources)
ContentLoadResultRenderQueue processRenderQueueTree(nkExport::Node *tree)
Utility class that allows to load content through their declaration files.
Definition: ContentLoader.h:12
ContentLoadResultTexture processTextureTree(nkExport::Node *tree, bool loadResource=true)
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
ContentLoadResultRasterState processRasterStateTree(nkExport::Node *tree, bool loadResource=true)
ContentLoadResultCompositor processCompositorTree(nkExport::Node *tree)
ContentLoadResultDepthStencilState processDepthStencilStateSources(nkMemory::StringView sources, bool loadResource=true)
ContentLoadResultSampler loadSamplerDeclaration(nkMemory::StringView pathFromData, bool loadResource=true)
ContentLoadResultPass loadPassDeclaration(nkMemory::StringView pathFromData)
ContentLoadResultCompositorNode appendCompositorNodeFromFile(nkMemory::StringView pathFromData, Compositor *parent)
ContentLoadResultBlendState processBlendStateTree(nkExport::Node *tree, bool loadResource=true)
ContentLoadResultShader loadShaderDeclaration(nkMemory::StringView pathFromData, bool loadResource=true)
ContentLoadResultCompositorNode appendCompositorNodeFromTree(nkExport::Node *tree, Compositor *parent)
Holds information about an attempt of parsing content declaration sources.
Definition: ContentLoadResult.h:23
ContentLoadResultShaderMemorySlot loadShaderMemorySlotDeclaration(nkMemory::StringView pathFromData)
ContentLoadResultMesh loadMeshDeclaration(nkMemory::StringView pathFromData, bool loadResource=true)
ContentLoadResultShader processShaderDeclarationSources(nkMemory::StringView sources, bool loadResource=true)
ContentLoadResultBlendState loadBlendStateDeclaration(nkMemory::StringView pathFromData, bool loadResource=true)
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
ContentLoadResultPass processPassSources(nkMemory::StringView sources)
ContentLoadResultProgram loadShaderProgramDeclaration(nkMemory::StringView pathFromData, bool loadResource=true)
ContentLoadResultRenderQueue loadRenderQueueDeclaration(nkMemory::StringView pathFromData)
ContentLoadResultCompositor loadCompositorDeclaration(nkMemory::StringView pathFromData)
ContentLoadResultCamera processCameraSources(nkMemory::StringView sources)
ContentLoadResultRasterState processRasterStateSources(nkMemory::StringView sources, bool loadResource=true)
ContentLoadResultTexture loadTextureDeclaration(nkMemory::StringView pathFromData, bool loadResource=true)
ContentLoadResultNode processNodeTree(nkExport::Node *tree)
ContentLoadResultShader processShaderDeclarationTree(nkExport::Node *tree, bool loadResource=true)