GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
Shader.hh File Reference
#include <string>
#include <vector>
#include <sstream>
#include "VectorTools.hh"
#include <algorithm>
#include <unordered_map>
#include "GraphI.hh"
Include dependency graph for Shader.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Attrib
class  ShaderSpec
class  SingletonShaderSpec
class  Shader
class  Program
class  TestVertexShader
class  TestFragmentShader
class  ShaderString
class  ShaderStringImpl
class  VertexShader
class  FragmentShader
class  ArrayShader
class  ShaderParameters
class  ShaderAttributes
class  CombineParameters
class  ShaderPair
class  PhongParameters
class  ShaderPiece
class  GouraudPiece
class  NormalParameters
class  NormalPiece
class  PhongPiece
class  EmptyVertexPiece
class  EmptyRGBPiece
class  EmptyAPiece
class  DiscardPiece
class  DiscardParameters
class  DiscardAttributes
class  RandomPositionPiece
class  RandomPositionParameters
class  BlobPiece
class  TextureParameters
class  GlobalTextureParameters
class  GlobalTexturePiece
class  FragColorCombinerPiece
class  TexturePiece
class  WaterPiece
class  WaterAttributes
class  WaterParameters
class  MoveObjectPiece
class  MoveObjectParameters
class  ShaderFromPieces
class  ShaderUse
class  PieceShader
class  VertexMain
class  LinearInterpolationParameters
class  LinearInterpolationParameters2
class  LinearInterpolationShader
class  ShaderFunction
class  CirclePart
class  Curve2dTo3dPart
class  ShaderFile
class  ShaderSeq
struct  AnimState

Enumerations

enum  ShaderProvides {
  ReqNormal , ReqFragColorRGB , ReqFragColorA , ReqPosition ,
  ReqTexCoord0 , ReqFragColorCombiner
}

Functions

std::string stringify (int i)
void UpdateAnim (Anim &anim, AnimState &state, const std::vector< Attrib > &attribs=std::vector< Attrib >())
void DrawAnim (float start, float end, AnimState &state, const std::vector< Attrib > &attribs=std::vector< Attrib >())
std::vector< std::string > replace_c_template_unique_ids (std::string defines, std::string define)

Enumeration Type Documentation

◆ ShaderProvides

Enumerator
ReqNormal 
ReqFragColorRGB 
ReqFragColorA 
ReqPosition 
ReqTexCoord0 
ReqFragColorCombiner 

Function Documentation

◆ DrawAnim()

void DrawAnim ( float start,
float end,
AnimState & state,
const std::vector< Attrib > & attribs = std::vector< Attrib >() )
Here is the caller graph for this function:

◆ replace_c_template_unique_ids()

std::vector< std::string > replace_c_template_unique_ids ( std::string defines,
std::string define )
Here is the caller graph for this function:

◆ stringify()

std::string stringify ( int i)
Here is the caller graph for this function:

◆ UpdateAnim()

void UpdateAnim ( Anim & anim,
AnimState & state,
const std::vector< Attrib > & attribs = std::vector< Attrib >() )
Here is the caller graph for this function: