OGRE 14.3
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::IShader Struct Referenceabstract

#include <OgreTinyRenderSystem.h>

Public Types

typedef Matrix3 mat3
 
typedef Matrix4 mat4
 
typedef Vector< 2, floatvec2
 
typedef Vector< 3, floatvec3
 
typedef Vector< 3, ucharvec3b
 
typedef Vector< 4, floatvec4
 
typedef Vector< 4, ucharvec4b
 

Public Member Functions

virtual bool fragment (const vec3 &bar, ColourValue &gl_FragColor)=0
 

Static Public Member Functions

static int mod (int a, int b)
 
static const vec4bsample2D (const Image &img, const vec2 &uv)
 

Member Typedef Documentation

◆ vec2

◆ vec3

◆ vec4

◆ vec3b

◆ vec4b

◆ mat3

◆ mat4

Member Function Documentation

◆ mod()

static int Ogre::IShader::mod ( int  a,
int  b 
)
inlinestatic

Referenced by sample2D().

◆ sample2D()

static const vec4b & Ogre::IShader::sample2D ( const Image img,
const vec2 uv 
)
inlinestatic

References mod().

◆ fragment()

virtual bool Ogre::IShader::fragment ( const vec3 bar,
ColourValue gl_FragColor 
)
pure virtual

The documentation for this struct was generated from the following file: