CoriEngine
Loading...
Searching...
No Matches
Cori::Graphics::AnimationPack::Descriptor Class Reference

AnimationPack Descriptor meant to be used with AssetManager only. More...

#include <AnimationPack.hpp>

Classes

struct  Hasher

Public Types

using AssetType = AnimationPack

Public Member Functions

constexpr Descriptor (std::string name, std::filesystem::path jsonPath, const ConfigType type) noexcept
 Constructs a descriptor.
uint32_t GetRuntimeID () const
constexpr bool operator== (const Descriptor &other) const noexcept

Public Attributes

const std::filesystem::path m_JsonPath
const ConfigType m_ConfigType
const std::string m_Name

Detailed Description

AnimationPack Descriptor meant to be used with AssetManager only.

Definition at line 97 of file AnimationPack.hpp.

Member Typedef Documentation

◆ AssetType

Constructor & Destructor Documentation

◆ Descriptor()

Cori::Graphics::AnimationPack::Descriptor::Descriptor ( std::string name,
std::filesystem::path jsonPath,
const ConfigType type )
inlineconstexprnoexcept

Constructs a descriptor.

Parameters
nameName to be assigned to the AnimationPack.
jsonPathPath to the json config file.
typeType of the config file, specifies how the config file will be interpreted.

Definition at line 105 of file AnimationPack.hpp.

Member Function Documentation

◆ GetRuntimeID()

uint32_t Cori::Graphics::AnimationPack::Descriptor::GetRuntimeID ( ) const
inlinenodiscard

Definition at line 114 of file AnimationPack.hpp.

◆ operator==()

bool Cori::Graphics::AnimationPack::Descriptor::operator== ( const Descriptor & other) const
inlineconstexprnoexcept

Definition at line 116 of file AnimationPack.hpp.

Here is the call graph for this function:

Member Data Documentation

◆ m_ConfigType

const ConfigType Cori::Graphics::AnimationPack::Descriptor::m_ConfigType

Definition at line 127 of file AnimationPack.hpp.

◆ m_JsonPath

const std::filesystem::path Cori::Graphics::AnimationPack::Descriptor::m_JsonPath

Definition at line 126 of file AnimationPack.hpp.

◆ m_Name

const std::string Cori::Graphics::AnimationPack::Descriptor::m_Name

Definition at line 128 of file AnimationPack.hpp.


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