Public Types | Public Member Functions

mozilla::layers::ComponentAlphaTextureLayerProgram Class Reference

#include <LayerManagerOGLProgram.h>

Inheritance diagram for mozilla::layers::ComponentAlphaTextureLayerProgram:
Collaboration diagram for mozilla::layers::ComponentAlphaTextureLayerProgram:

List of all members.

Public Types

enum  { BlackTextureUniform = NumLayerUniforms, WhiteTextureUniform, NumUniforms }
enum  { TexCoordAttrib = NumLayerAttribs, NumAttribs }

Public Member Functions

 ComponentAlphaTextureLayerProgram (GLContext *aGL)
bool Initialize (const char *aVertexShaderString, const char *aFragmentShaderString)
void SetBlackTextureUnit (GLint aUnit)
void SetWhiteTextureUnit (GLint aUnit)

Member Enumeration Documentation

anonymous enum
Enumerator:
BlackTextureUniform 
WhiteTextureUniform 
NumUniforms 
anonymous enum
Enumerator:
TexCoordAttrib 
NumAttribs 

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from mozilla::layers::LayerProgram.

void mozilla::layers::ComponentAlphaTextureLayerProgram::SetBlackTextureUnit ( GLint  aUnit  )  [inline]
void mozilla::layers::ComponentAlphaTextureLayerProgram::SetWhiteTextureUnit ( GLint  aUnit  )  [inline]

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