Bomberman
sources
System
Shaders
ShaderModelSystem.hpp
Go to the documentation of this file.
1
//
2
// Created by cbihan on 15/06/2021.
3
//
4
5
#pragma once
6
7
#include "
ShaderSystem.hpp
"
8
#include "
System/System.hpp
"
9
#include "
Wal.hpp
"
10
11
namespace
BBM
12
{
13
class
ShaderModelSystem
:
public
WAL::System
<ShaderComponentModel>
14
{
15
public
:
16
18
void
onUpdate
(
WAL::ViewEntity<ShaderComponentModel>
&entity, std::chrono::nanoseconds dtime)
override
;
19
21
explicit
ShaderModelSystem
(
WAL::Wal
&wal);
23
ShaderModelSystem
(
const
ShaderModelSystem
&) =
default
;
25
~ShaderModelSystem
()
override
=
default
;
27
ShaderModelSystem
&
operator=
(
const
ShaderModelSystem
&) =
delete
;
28
};
29
}
BBM::ShaderModelSystem::onUpdate
void onUpdate(WAL::ViewEntity< ShaderComponentModel > &entity, std::chrono::nanoseconds dtime) override
Definition:
ShaderModelSystem.cpp:14
WAL::ViewEntity
Definition:
View.hpp:19
System.hpp
BBM
Definition:
AnimationsComponent.cpp:9
WAL::Wal
The main WAL class, it is used to setup and run the ECS.
Definition:
Wal.hpp:27
ShaderSystem.hpp
WAL::System
A base system of WAL.
Definition:
System.hpp:22
Wal.hpp
BBM::ShaderModelSystem::ShaderModelSystem
ShaderModelSystem(WAL::Wal &wal)
ctor
Definition:
ShaderModelSystem.cpp:9
BBM::ShaderModelSystem
Definition:
ShaderModelSystem.hpp:13
BBM::ShaderModelSystem::~ShaderModelSystem
~ShaderModelSystem() override=default
Default dtor.
BBM::ShaderModelSystem::operator=
ShaderModelSystem & operator=(const ShaderModelSystem &)=delete
A render screen system can't be assigned.
Generated by
1.8.17