Elaztek Developer Hub
Blamite Game Engine - blam!  00367.02.08.23.1815.blamite
The core library for the Blamite Game Engine.
glsl_shader_program.h
Go to the documentation of this file.
1 #pragma once
2 
5 
6 #include <d2d1.h>
7 
8 #ifndef BLAM
9 #define BLAM
10 #endif
11 
12 namespace Blam::Content::Tags
13 {
14 #pragma pack(push, 1)
16  {
17  //tag_block<> e;
18  };
19 #pragma pack(pop)
20 
21  namespace Classes
22  {
27  {
28  public:
30  {
31  class_name_long = "glsl_shader_program";
32  class_name_short = "glsp";
33  version = 1;
34 
35  revisions = {
36  {1, "haloman30", "Initial implementation."}
37  };
38 
39  tag_size = sizeof(glsl_shader_program);
40 
41  fields =
42  {
43 
44  };
45  }
46  };
47  }
48 
49  BLAM glsl_shader_program* GetGLSLShaderProgramTag(std::string tag_path);
50 }
Blam::Content::Tags
Namespace containing functions related to tag data.
Definition: bitmap.h:151
Blam::Content::Tags::Classes::GLSLShaderProgramTagClass
Tag class information for GLSL Shader tags.
Definition: glsl_shader_program.h:26
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
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::Classes::GLSLShaderProgramTagClass::GLSLShaderProgramTagClass
GLSLShaderProgramTagClass()
Definition: glsl_shader_program.h:29
BlamTagClass::version
int version
The tag class version. Should be incremented any time a tag class is modified whatsoever.
Definition: tagclass.h:48
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::glsl_shader_program
Definition: glsl_shader_program.h:15
BLAM
#define BLAM
Definition: glsl_shader_program.h:9
fields.h
Blam::Content::Tags::GetGLSLShaderProgramTag
BLAM glsl_shader_program * GetGLSLShaderProgramTag(std::string tag_path)
Definition: glsl_shader_program.cpp:5
BlamTagClass::tag_size
int tag_size
The size of the tag's data. Used on loading/writing tag files.
Definition: tagclass.h:53
tagclass.h
BlamTagClass
Class representing a tag class.
Definition: tagclass.h:43
BlamTagClass::fields
std::vector< BlamPluginField * > fields
A series of tag fields that store the layout of the tag.
Definition: tagclass.h:51