PCG-FPS
v2 m0.22.4
Simple First Person Shooter with Procedurally Generated Level
fps2
Renderer
OpenGL
Material.h
Go to the documentation of this file.
1
#ifndef SKR_FPS2_RENDERER_OPENGL_MATERIAL_H
2
#define SKR_FPS2_RENDERER_OPENGL_MATERIAL_H
3
4
#include "..\..\pch.h"
5
#include "
Shader.h
"
6
namespace
skr
7
{
8
namespace
fps2
9
{
10
namespace
Renderer
11
{
12
namespace
OpenGL
13
{
16
class
Material
17
{
18
public
:
19
virtual
void
ApplyMaterial
(
Shader
shader) = 0;
20
};
21
22
}
23
}
24
}
25
}
26
27
#endif // !SKR_FPS2_RENDERER_OPENGL_MATERIAL_H
skr::fps2::Renderer::OpenGL::Material::ApplyMaterial
virtual void ApplyMaterial(Shader shader)=0
skr::fps2::Renderer::OpenGL::Shader
handles shader loading, compiling and linking. Also provides access to set uniform ids and usage.
Definition:
Shader.h:31
Shader.h
skr::fps2::Renderer::OpenGL::Material
interface for material types
Definition:
Material.h:17
skr
Definition:
AssetPath.h:10
Generated by
1.8.18