Euphoria
assets.h
Go to the documentation of this file.
1#pragma once
2
3#include <memory>
4
6#include "eu/render/texture.h"
7
8namespace eu::render
9{
10
11struct Assets
12{
13 // todo(Gustav): some default assets?
14 std::shared_ptr<Texture2d> white;
15 std::shared_ptr<Texture2d> black;
16
17 // todo(Gustav): load from file or pakwad
18 ShaderSource default_shader_source = { .vertex = "", .fragment = "" };
19 ShaderSource skybox_shader_source = { .vertex = "", .fragment = "" };
20
21 std::string pp_vert_glsl;
25};
26
27}
Definition ui.h:4
std::string pp_extract_frag_glsl
Definition assets.h:23
std::string pp_realize_frag_glsl
Definition assets.h:22
ShaderSource skybox_shader_source
Definition assets.h:19
ShaderSource default_shader_source
Definition assets.h:18
std::shared_ptr< Texture2d > white
Definition assets.h:14
std::shared_ptr< Texture2d > black
Definition assets.h:15
std::string pp_vert_glsl
Definition assets.h:21
std::string pp_ping_pong_blur_frag_glsl
Definition assets.h:24