Nazara Engine  0.4
A fast, complete, cross-platform API designed for game development
Nz::Resource Class Reference

Core class that represents a resource. More...

Inheritance diagram for Nz::Resource:
Nz::Material Nz::Model Nz::Music Nz::SoundBuffer Nz::SkeletalModel

Public Member Functions

 Resource (const Resource &)=default
 
 Resource (Resource &&) noexcept=default
 
const StringGetFilePath () const
 Gets the file path associated with the resource. More...
 
void SetFilePath (const String &filePath)
 Sets the file path associated with the resource. More...
 
Resourceoperator= (const Resource &)=default
 
Resourceoperator= (Resource &&) noexcept=default
 

Detailed Description

Core class that represents a resource.

Member Function Documentation

◆ GetFilePath()

const String & Nz::Resource::GetFilePath ( ) const

Gets the file path associated with the resource.

Returns
A reference to the path

◆ SetFilePath()

void Nz::Resource::SetFilePath ( const String filePath)

Sets the file path associated with the resource.

Parameters
filePathPath to the resource

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