Cinder  0.9.1
Public Member Functions | Protected Attributes | Friends | List of all members
cinder::gl::ShaderDef Class Reference

#include <Shader.h>

Public Member Functions

 ShaderDef ()
 
ShaderDefcolor ()
 
ShaderDeftexture (const TextureRef &tex=TextureRef())
 
ShaderDeftexture (GLenum target)
 
ShaderDeflambert ()
 
ShaderDefuniformBasedPosAndTexCoord ()
 
bool isTextureSwizzleDefault () const
 
std::string getTextureSwizzleString () const
 
bool operator< (const ShaderDef &rhs) const
 

Protected Attributes

bool mTextureMapping
 
bool mTextureMappingRectangleArb
 
std::array< GLint, 4 > mTextureSwizzleMask
 
bool mUniformBasedPosAndTexCoord
 
bool mColor
 
bool mLambert
 

Friends

class EnvironmentCore
 
class EnvironmentEs
 

Constructor & Destructor Documentation

cinder::gl::ShaderDef::ShaderDef ( )

Member Function Documentation

ShaderDef & cinder::gl::ShaderDef::color ( )
ShaderDef & cinder::gl::ShaderDef::texture ( const TextureRef tex = TextureRef())
ShaderDef & cinder::gl::ShaderDef::texture ( GLenum  target)
ShaderDef & cinder::gl::ShaderDef::lambert ( )
ShaderDef & cinder::gl::ShaderDef::uniformBasedPosAndTexCoord ( )
bool cinder::gl::ShaderDef::isTextureSwizzleDefault ( ) const
std::string cinder::gl::ShaderDef::getTextureSwizzleString ( ) const
bool cinder::gl::ShaderDef::operator< ( const ShaderDef rhs) const

Friends And Related Function Documentation

friend class EnvironmentCore
friend
friend class EnvironmentEs
friend

Member Data Documentation

bool cinder::gl::ShaderDef::mTextureMapping
protected
bool cinder::gl::ShaderDef::mTextureMappingRectangleArb
protected
std::array<GLint,4> cinder::gl::ShaderDef::mTextureSwizzleMask
protected
bool cinder::gl::ShaderDef::mUniformBasedPosAndTexCoord
protected
bool cinder::gl::ShaderDef::mColor
protected
bool cinder::gl::ShaderDef::mLambert
protected

The documentation for this class was generated from the following files: