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