Skia
2DGraphicsLibrary
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GrTextureAccess Class Reference

Used to represent a texture that is required by a GrProcessor. More...

#include <GrTextureAccess.h>

Inheritance diagram for GrTextureAccess:

Public Member Functions

 GrTextureAccess ()
 Must be initialized before adding to a GrProcessor's texture access list.
 
 GrTextureAccess (GrTexture *, const GrTextureParams &)
 
 GrTextureAccess (GrTexture *, GrTextureParams::FilterMode=GrTextureParams::kNone_FilterMode, SkShader::TileMode tileXAndY=SkShader::kClamp_TileMode, GrShaderFlags visibility=kFragment_GrShaderFlag)
 
void reset (GrTexture *, const GrTextureParams &, GrShaderFlags visibility=kFragment_GrShaderFlag)
 
void reset (GrTexture *, GrTextureParams::FilterMode=GrTextureParams::kNone_FilterMode, SkShader::TileMode tileXAndY=SkShader::kClamp_TileMode, GrShaderFlags visibility=kFragment_GrShaderFlag)
 
bool operator== (const GrTextureAccess &that) const
 
bool operator!= (const GrTextureAccess &other) const
 
GrTexturegetTexture () const
 
GrShaderFlags getVisibility () const
 
const GrGpuResourceRefgetProgramTexture () const
 For internal use by GrProcessor.
 
const GrTextureParamsgetParams () const
 

Private Types

typedef GrTGpuResourceRef
< GrTexture
ProgramTexture
 
typedef SkNoncopyable INHERITED
 

Private Attributes

ProgramTexture fTexture
 
GrTextureParams fParams
 
GrShaderFlags fVisibility
 

Detailed Description

Used to represent a texture that is required by a GrProcessor.

It holds a GrTexture along with an associated GrTextureParams


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