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

Used to represent a texel buffer that will be read in a GrProcessor. More...

#include <GrBufferAccess.h>

Inheritance diagram for GrBufferAccess:

Public Member Functions

void reset (GrPixelConfig texelConfig, GrBuffer *buffer, GrShaderFlags visibility=kFragment_GrShaderFlag)
 Must be initialized before adding to a GrProcessor's buffer access list.
 
bool operator== (const GrBufferAccess &that) const
 
bool operator!= (const GrBufferAccess &that) const
 
GrPixelConfig texelConfig () const
 
GrBufferbuffer () const
 
GrShaderFlags visibility () const
 
const GrGpuResourceRefgetProgramBuffer () const
 For internal use by GrProcessor.
 

Private Types

typedef SkNoncopyable INHERITED
 

Private Attributes

GrPixelConfig fTexelConfig
 
GrTGpuResourceRef< GrBufferfBuffer
 
GrShaderFlags fVisibility
 

Detailed Description

Used to represent a texel buffer that will be read in a GrProcessor.

It holds a GrBuffer along with an associated offset and texel config.


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