Public Types | Public Member Functions | Protected Attributes

mozilla::layers::ColorTextureLayerProgram Class Reference

#include <LayerManagerOGLProgram.h>

Inheritance diagram for mozilla::layers::ColorTextureLayerProgram:
Collaboration diagram for mozilla::layers::ColorTextureLayerProgram:

List of all members.

Public Types

enum  { TextureUniform = NumLayerUniforms, NumUniforms }
enum  { TexCoordAttrib = NumLayerAttribs, NumAttribs }

Public Member Functions

 ColorTextureLayerProgram (GLContext *aGL)
bool Initialize (const char *aVertexShaderString, const char *aFragmentShaderString)
void SetTextureUnit (GLint aUnit)
GLint GetTexCoordMultiplierUniformLocation ()

Protected Attributes

GLint mTexCoordMultiplierUniformLocation

Member Enumeration Documentation

anonymous enum
Enumerator:
TextureUniform 
NumUniforms 
anonymous enum
Enumerator:
TexCoordAttrib 
NumAttribs 

Constructor & Destructor Documentation

mozilla::layers::ColorTextureLayerProgram::ColorTextureLayerProgram ( GLContext aGL  )  [inline]

Member Function Documentation

GLint mozilla::layers::ColorTextureLayerProgram::GetTexCoordMultiplierUniformLocation (  )  [inline]
bool mozilla::layers::ColorTextureLayerProgram::Initialize ( const char *  aVertexShaderString,
const char *  aFragmentShaderString 
) [inline]

Reimplemented from mozilla::layers::LayerProgram.

void mozilla::layers::ColorTextureLayerProgram::SetTextureUnit ( GLint  aUnit  )  [inline]

Member Data Documentation


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