All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SkLights Class Reference
Inheritance diagram for SkLights:
SkRefCnt SkRefCntBase


class  Builder
class  Light

Public Member Functions

int numLights () const
const Lightlight (int index) const
Lightlight (int index)
const SkColor3fambientLightColor () const
void flatten (SkWriteBuffer &buf) const
- Public Member Functions inherited from SkRefCntBase
 SkRefCntBase ()
 Default construct, initializing the reference count to 1.
virtual ~SkRefCntBase ()
 Destruct, asserting that the reference count is 1.
int32_t getRefCnt () const
 Return the reference count. More...
void validate () const
bool unique () const
 May return true if the caller is the only owner. More...
void ref () const
 Increment the reference count. More...
void unref () const
 Decrement the reference count. More...

Static Public Member Functions

static sk_sp< SkLightsMakeFromBuffer (SkReadBuffer &buf)

Private Types

typedef SkRefCnt INHERITED

Private Member Functions

sk_sp< SkLightsmakeColorSpace (SkColorSpaceXformer *xformer) const

Private Attributes

SkTArray< LightfLights
SkColor3f fAmbientLightColor


class SkLightingShaderImpl

Additional Inherited Members

- Protected Member Functions inherited from SkRefCntBase
void internal_dispose_restore_refcnt_to_1 () const
 Allow subclasses to call this if they've overridden internal_dispose so they can reset fRefCnt before the destructor is called or if they choose not to call the destructor (e.g. More...

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