Holds information about a resource set (project) saving query. More...
Public Member Functions | |
ResourceSetSaveQuery () noexcept | |
nkMemory::StringView | getPath () const |
Node * | getNode () const |
ResourceDeclAugmentCallback * | getAugmentCallback () const |
bool | getScene () const |
bool | getMeshes () const |
bool | getShaders () const |
bool | getShaderPrograms () const |
bool | getCompositors () const |
bool | getDefaultCompositor () const |
bool | getRenderQueues () const |
bool | getSamplers () const |
bool | getTextures () const |
bool | getBuffers () const |
bool | getBlendState () const |
bool | getDepthStencilState () const |
bool | getRasterState () const |
bool | getCompressDecl () const |
bool | getCameras () const |
void | setPath (const nkMemory::StringView &value) |
void | setNode (Node *value) |
void | setAugmentCallback (ResourceDeclAugmentCallback *value) |
void | setScene (bool value) |
void | setMeshes (bool value) |
void | setShaders (bool value) |
void | setShaderPrograms (bool value) |
void | setCompositors (bool value) |
void | setDefaultCompositor (bool value) |
void | setRenderQueues (bool value) |
void | setSamplers (bool value) |
void | setTextures (bool value) |
void | setBuffers (bool value) |
void | setBlendState (bool value) |
void | setDepthStencilState (bool value) |
void | setRasterState (bool value) |
void | setCompressDecl (bool value) |
void | setCameras (bool value) |
Holds information about a resource set (project) saving query.
A resource set saved allows to save the declaration of all non hidden, available resources in the component.
|
noexcept |
Constructor.
nkMemory::StringView nkGraphics::ResourceSetSaveQuery::getPath | ( | ) | const |
Node* nkGraphics::ResourceSetSaveQuery::getNode | ( | ) | const |
ResourceDeclAugmentCallback* nkGraphics::ResourceSetSaveQuery::getAugmentCallback | ( | ) | const |
bool nkGraphics::ResourceSetSaveQuery::getScene | ( | ) | const |
bool nkGraphics::ResourceSetSaveQuery::getMeshes | ( | ) | const |
bool nkGraphics::ResourceSetSaveQuery::getShaders | ( | ) | const |
bool nkGraphics::ResourceSetSaveQuery::getShaderPrograms | ( | ) | const |
bool nkGraphics::ResourceSetSaveQuery::getCompositors | ( | ) | const |
bool nkGraphics::ResourceSetSaveQuery::getDefaultCompositor | ( | ) | const |
bool nkGraphics::ResourceSetSaveQuery::getRenderQueues | ( | ) | const |
bool nkGraphics::ResourceSetSaveQuery::getSamplers | ( | ) | const |
bool nkGraphics::ResourceSetSaveQuery::getTextures | ( | ) | const |
bool nkGraphics::ResourceSetSaveQuery::getBuffers | ( | ) | const |
bool nkGraphics::ResourceSetSaveQuery::getBlendState | ( | ) | const |
bool nkGraphics::ResourceSetSaveQuery::getDepthStencilState | ( | ) | const |
bool nkGraphics::ResourceSetSaveQuery::getRasterState | ( | ) | const |
bool nkGraphics::ResourceSetSaveQuery::getCompressDecl | ( | ) | const |
bool nkGraphics::ResourceSetSaveQuery::getCameras | ( | ) | const |
void nkGraphics::ResourceSetSaveQuery::setPath | ( | const nkMemory::StringView & | value | ) |
Sets the path to export to. Relative to the working directory. See nkResources::ResourceManager for path naming conventions.
value | The path to export to. |
void nkGraphics::ResourceSetSaveQuery::setNode | ( | Node * | value | ) |
Sets the node from which to export the scene. If left unspecified, the scene will start from the root.
value | The node to start exporting from. |
void nkGraphics::ResourceSetSaveQuery::setAugmentCallback | ( | ResourceDeclAugmentCallback * | value | ) |
Sets the augmentation callback used, when processing resources.
value | The callback structure to use. |
void nkGraphics::ResourceSetSaveQuery::setScene | ( | bool | value | ) |
Sets whether the scene, symbolized by the node given, should be exported or not.
value | Whether it should be exported (true) or not (false). |
void nkGraphics::ResourceSetSaveQuery::setMeshes | ( | bool | value | ) |
Sets whether the meshes should be exported.
value | Whether it should be exported (true) or not (false). |
void nkGraphics::ResourceSetSaveQuery::setShaders | ( | bool | value | ) |
Sets whether the shaders should be exported.
value | Whether it should be exported (true) or not (false). |
void nkGraphics::ResourceSetSaveQuery::setShaderPrograms | ( | bool | value | ) |
Sets whether the programs should be exported.
value | Whether it should be exported (true) or not (false). |
void nkGraphics::ResourceSetSaveQuery::setCompositors | ( | bool | value | ) |
Sets whether the compositors should be exported or not.
value | Whether it should be exported (true) or not (false). |
void nkGraphics::ResourceSetSaveQuery::setDefaultCompositor | ( | bool | value | ) |
Sets whether the default compositor used should be exported.
value | Whether it should be exported (true) or not (false). |
void nkGraphics::ResourceSetSaveQuery::setRenderQueues | ( | bool | value | ) |
Sets whether the render queues should be exported.
value | Whether it should be exported (true) or not (false). |
void nkGraphics::ResourceSetSaveQuery::setSamplers | ( | bool | value | ) |
Sets whether the samplers should be exported.
value | Whether it should be exported (true) or not (false). |
void nkGraphics::ResourceSetSaveQuery::setTextures | ( | bool | value | ) |
Sets whether the textures should be exported.
value | Whether it should be exported (true) or not (false). |
void nkGraphics::ResourceSetSaveQuery::setBuffers | ( | bool | value | ) |
Sets whether the buffers should be exported.
value | Whether it should be exported (true) or not (false). |
void nkGraphics::ResourceSetSaveQuery::setBlendState | ( | bool | value | ) |
Sets whether the blend states should be exported.
value | Whether it should be exported (true) or not (false). |
void nkGraphics::ResourceSetSaveQuery::setDepthStencilState | ( | bool | value | ) |
Sets whether the depth and stencil states should be exported.
value | Whether it should be exported (true) or not (false). |
void nkGraphics::ResourceSetSaveQuery::setRasterState | ( | bool | value | ) |
Sets whether the raster states should be exported.
value | Whether it should be exported (true) or not (false). |
void nkGraphics::ResourceSetSaveQuery::setCompressDecl | ( | bool | value | ) |
Sets whether the declarations should be compressed as one declaration or not.
value | Whether it should be compressed (true) or not (false). |
void nkGraphics::ResourceSetSaveQuery::setCameras | ( | bool | value | ) |
Sets whether the cameras should be exported.
value | Whether it should be exported (true) or not (false). |