Skia
2DGraphicsLibrary
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SkROBuffer::Iter Class Reference

Public Member Functions

 Iter (const SkROBuffer *)
 
 Iter (const sk_sp< SkROBuffer > &)
 
void reset (const SkROBuffer *)
 
const void * data () const
 Return the current continuous block of memory, or nullptr if the iterator is exhausted.
 
size_t size () const
 Returns the number of bytes in the current continguous block of memory, or 0 if the iterator is exhausted.
 
bool next ()
 Advance to the next contiguous block of memory, returning true if there is another block, or false if the iterator is exhausted.
 

Private Attributes

const SkBufferBlock * fBlock
 
size_t fRemaining
 
const SkROBufferfBuffer
 

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