Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches
Flint::StateOps Struct Reference
+ Collaboration diagram for Flint::StateOps:

Public Attributes

StateTypeId typeId
 
std::size_t size
 
std::size_t alignment
 
void(* handleInput )(State *, IWindow &)
 
void(* update )(State *, float)
 
void(* render )(State *, GPURenderer &, IWindow &)
 
void(* onEnter )(State *)
 
void(* onExit )(State *)
 

Detailed Description

Definition at line 36 of file state-ops.h.

Member Data Documentation

◆ alignment

std::size_t Flint::StateOps::alignment

Definition at line 40 of file state-ops.h.

◆ handleInput

void(* Flint::StateOps::handleInput) (State *, IWindow &)

Definition at line 42 of file state-ops.h.

◆ onEnter

void(* Flint::StateOps::onEnter) (State *)

Definition at line 46 of file state-ops.h.

◆ onExit

void(* Flint::StateOps::onExit) (State *)

Definition at line 47 of file state-ops.h.

◆ render

void(* Flint::StateOps::render) (State *, GPURenderer &, IWindow &)

Definition at line 44 of file state-ops.h.

◆ size

std::size_t Flint::StateOps::size

Definition at line 39 of file state-ops.h.

◆ typeId

StateTypeId Flint::StateOps::typeId

Definition at line 37 of file state-ops.h.

◆ update

void(* Flint::StateOps::update) (State *, float)

Definition at line 43 of file state-ops.h.


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