Kinetic Visualization
Main Page
Related Pages
Classes
Files
File List
All
Classes
Functions
Variables
Pages
ShaderObj.h
1
#pragma once
2
#include "common.hpp"
3
4
class
ShaderObj
5
{
6
public
:
7
enum
ParameterObjType
8
{
9
PT_INT,
10
PT_FLOAT,
11
PT_INT2,
12
PT_FLOAT2,
13
PT_INT3,
14
PT_FLOAT3,
15
PT_INT4,
16
PT_FLOAT4,
17
PT_MAT2,
18
PT_MAT3,
19
PT_MAT4
20
};
21
22
public
:
26
ShaderObj
(
void
);
32
ShaderObj
(std::string name,
int
type,
float
* value);
36
~ShaderObj
(
void
);
37
38
unsigned
int
m_id;
39
int
m_type;
40
float
* m_value;
41
42
std::string m_var;
43
};
44
Generated on Fri Jun 29 2012 09:13:04 for Kinetic Visualization by
1.8.1.1