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

#include <ShaderProgram.hpp>

Classes

struct  Hasher

Public Types

using AssetType = ShaderProgram

Public Member Functions

constexpr Descriptor (std::string name, std::filesystem::path vertexPath, std::filesystem::path fragmentPath, std::filesystem::path geometryPath={}) noexcept
uint32_t GetRuntimeID () const
constexpr bool operator== (const Descriptor &other) const noexcept

Public Attributes

const std::filesystem::path m_VertexPath
const std::filesystem::path m_FragmentPath
const std::filesystem::path m_GeometryPath
const std::string m_Name

Detailed Description

Definition at line 7 of file ShaderProgram.hpp.

Member Typedef Documentation

◆ AssetType

Constructor & Destructor Documentation

◆ Descriptor()

Cori::Graphics::ShaderProgram::Descriptor::Descriptor ( std::string name,
std::filesystem::path vertexPath,
std::filesystem::path fragmentPath,
std::filesystem::path geometryPath = {} )
inlineconstexprnoexcept

Definition at line 9 of file ShaderProgram.hpp.

Member Function Documentation

◆ GetRuntimeID()

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

Definition at line 19 of file ShaderProgram.hpp.

◆ operator==()

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

Definition at line 21 of file ShaderProgram.hpp.

Here is the call graph for this function:

Member Data Documentation

◆ m_FragmentPath

const std::filesystem::path Cori::Graphics::ShaderProgram::Descriptor::m_FragmentPath

Definition at line 32 of file ShaderProgram.hpp.

◆ m_GeometryPath

const std::filesystem::path Cori::Graphics::ShaderProgram::Descriptor::m_GeometryPath

Definition at line 33 of file ShaderProgram.hpp.

◆ m_Name

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

Definition at line 34 of file ShaderProgram.hpp.

◆ m_VertexPath

const std::filesystem::path Cori::Graphics::ShaderProgram::Descriptor::m_VertexPath

Definition at line 31 of file ShaderProgram.hpp.


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