Elaztek Developer Hub
Blamite Game Engine - blam!  00453.06.08.26.0624.blamite
The core library for the Blamite Game Engine.
shader_info Struct Reference

#include <types.h>

+ Collaboration diagram for shader_info:

Classes

struct  shader
 

Public Member Functions

bool LoadFromDisk (std::string vertex_shader_path, std::string fragment_shader_path)
 
void Release ()
 
bool Reload ()
 

Public Attributes

shader vertex_shader
 
shader fragment_shader
 
bgfx::ProgramHandle program
 
std::string tag_path
 
bool needs_reload = false
 

Member Function Documentation

◆ LoadFromDisk()

bool shader_info::LoadFromDisk ( std::string  vertex_shader_path,
std::string  fragment_shader_path 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Release()

void shader_info::Release ( )
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Reload()

bool shader_info::Reload ( )
+ Here is the call graph for this function:

Member Data Documentation

◆ fragment_shader

shader shader_info::fragment_shader

◆ needs_reload

bool shader_info::needs_reload = false

◆ program

bgfx::ProgramHandle shader_info::program

◆ tag_path

std::string shader_info::tag_path

◆ vertex_shader

shader shader_info::vertex_shader

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