Blamite Game Engine - blam!  00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
glsl_shader_program.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "../tagclass.h"
4 
5 #include <d2d1.h>
6 
7 #ifndef BLAM
8 #define BLAM
9 #endif
10 
11 namespace Blam::Content::Tags
12 {
14  {
15  //tag_block<> e;
16  };
17 
18  namespace Classes
19  {
24  {
25  public:
27  {
28  class_name_long = "glsl_shader_program";
29  class_name_short = "glsp";
30  version = 1;
31 
32  revisions = {
33  {1, "haloman30", "Initial implementation."}
34  };
35 
36  tag_size = sizeof(glsl_shader_program);
37 
38  fields =
39  {
40 
41  };
42  }
43  };
44  }
45 
46  BLAM glsl_shader_program* GetGLSLShaderProgramTag(std::string tag_path);
47 }
Blam::Content::Tags
Namespace containing things related to tag data.
Definition: bitmap.h:9
Blam::Content::Tags::Classes::GLSLShaderProgramTagClass
Tag class information for GLSL Shader tags.
Definition: glsl_shader_program.h:23
Blam::Content::Tags::BlamTagClass::tag_size
int tag_size
The size of the tag's data. Used on loading/writing tag files.
Definition: tagclass.h:53
Blam::Content::Tags::BlamTagClass
Class representing a tag class.
Definition: tagclass.h:43
Blam::Content::Tags::Classes::GLSLShaderProgramTagClass::GLSLShaderProgramTagClass
GLSLShaderProgramTagClass()
Definition: glsl_shader_program.h:26
Blam::Content::Tags::glsl_shader_program
Definition: glsl_shader_program.h:13
Blam::Content::Tags::BlamTagClass::class_name_short
std::string class_name_short
The short, 4-character name of the tag class.
Definition: tagclass.h:47
Blam::Content::Tags::GetGLSLShaderProgramTag
BLAM glsl_shader_program * GetGLSLShaderProgramTag(std::string tag_path)
Definition: glsl_shader_program.cpp:5
BLAM
#define BLAM
Definition: discord_rpc.h:8
Blam::Content::Tags::BlamTagClass::version
int version
The tag class version. Should be incremented any time a tag class is modified whatsoever.
Definition: tagclass.h:48
Blam::Content::Tags::BlamTagClass::class_name_long
std::string class_name_long
The longer class name. Typically shown alongside short name for user-friendliness.
Definition: tagclass.h:46
Blam::Content::Tags::BlamTagClass::revisions
std::vector< BlamTagClassRevision > revisions
List of all tag class revisions. Does not get written to tags, but is included in plugin files.
Definition: tagclass.h:49
Blam::Content::Tags::BlamTagClass::fields
std::vector< TagField * > fields
A series of tag fields that store the layout of the tag.
Definition: tagclass.h:51