Helios Engine 0.1.0
A modular ECS based data-oriented C++23 game engine
 
Loading...
Searching...
No Matches
helios::example::ExampleResource Struct Reference

Example resource to demonstrate module resources. More...

#include <example.hpp>

Static Public Member Functions

static constexpr std::string_view GetName () noexcept
 Returns the name of the resource.
 

Public Attributes

int counter = 0
 

Detailed Description

Example resource to demonstrate module resources.

Definition at line 22 of file example.hpp.

Member Function Documentation

◆ GetName()

static constexpr std::string_view helios::example::ExampleResource::GetName ( )
inlinestaticconstexprnoexcept

Returns the name of the resource.

Returns
Resource name.
Examples
/home/runner/work/HeliosEngine/HeliosEngine/src/modules/example/include/helios/example/example.hpp.

Definition at line 29 of file example.hpp.

29{ return "ExampleResource"; }

Member Data Documentation

◆ counter

int helios::example::ExampleResource::counter = 0