OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4Shader.h File Reference
#include "C4ForbidLibraryCompilation.h"
#include "lib/StdMeshMath.h"
#include "graphics/C4Surface.h"
#include <GL/glew.h>
#include <stack>
Include dependency graph for C4Shader.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  C4Shader
 
class  C4ShaderCall
 
class  C4ScriptShader
 
class  C4ScriptUniform
 
class  C4ScriptUniform::Popper
 
union  C4ScriptUniform::Uniform.__unnamed__
 

Variables

const int C4Shader_Version = 150
 
const int C4Shader_MaxTexCoords = 8
 
const int C4ShaderCall_MaxUnits = 32
 
const int C4Shader_PositionInit = 0
 
const int C4Shader_PositionCoordinate = 20
 
const int C4Shader_PositionTexture = 40
 
const int C4Shader_PositionMaterial = 60
 
const int C4Shader_PositionNormal = 80
 
const int C4Shader_PositionLight = 100
 
const int C4Shader_PositionColor = 120
 
const int C4Shader_PositionFinish = 140
 
const int C4Shader_LastPosition = 256
 
const int C4Shader_Vertex_TexCoordPos = 50
 
const int C4Shader_Vertex_NormalPos = 60
 
const int C4Shader_Vertex_ColorPos = 70
 
const int C4Shader_Vertex_PositionPos = 80
 
C4ScriptShader ScriptShader
 

Class Documentation

union C4ScriptUniform::Uniform.__unnamed__

Definition at line 358 of file C4Shader.h.

Class Members
int intVec[4]

Variable Documentation

const int C4Shader_LastPosition = 256

Definition at line 53 of file C4Shader.h.

const int C4Shader_MaxTexCoords = 8

Definition at line 39 of file C4Shader.h.

const int C4Shader_PositionColor = 120

Definition at line 51 of file C4Shader.h.

const int C4Shader_PositionCoordinate = 20

Definition at line 46 of file C4Shader.h.

const int C4Shader_PositionFinish = 140

Definition at line 52 of file C4Shader.h.

const int C4Shader_PositionInit = 0

Definition at line 45 of file C4Shader.h.

const int C4Shader_PositionLight = 100

Definition at line 50 of file C4Shader.h.

const int C4Shader_PositionMaterial = 60

Definition at line 48 of file C4Shader.h.

const int C4Shader_PositionNormal = 80

Definition at line 49 of file C4Shader.h.

const int C4Shader_PositionTexture = 40

Definition at line 47 of file C4Shader.h.

const int C4Shader_Version = 150

Definition at line 36 of file C4Shader.h.

const int C4Shader_Vertex_ColorPos = 70

Definition at line 58 of file C4Shader.h.

const int C4Shader_Vertex_NormalPos = 60

Definition at line 57 of file C4Shader.h.

const int C4Shader_Vertex_PositionPos = 80

Definition at line 59 of file C4Shader.h.

const int C4Shader_Vertex_TexCoordPos = 50

Definition at line 56 of file C4Shader.h.

const int C4ShaderCall_MaxUnits = 32

Definition at line 42 of file C4Shader.h.

Referenced by C4ShaderCall::AllocTexUnit().

C4ScriptShader ScriptShader

Definition at line 717 of file C4Shader.cpp.

Referenced by C4Shader::Refresh(), and C4ShaderCall::Start().