Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
GrFragmentProcessor::ProgramImpl::Iter Class Reference

#include <GrFragmentProcessor.h>

Public Member Functions

 Iter (std::unique_ptr< ProgramImpl > fps[], int cnt)
 
 Iter (ProgramImpl &fp)
 
ProgramImploperator* () const
 
ProgramImploperator-> () const
 
Iteroperator++ ()
 
 operator bool () const
 
 Iter (const Iter &)=delete
 
Iteroperator= (const Iter &)=delete
 

Detailed Description

Pre-order traversal of a GLSLFP hierarchy, or of multiple trees with roots in an array of GLSLFPS. If initialized with an array color followed by coverage processors installed in a program thenthe iteration order will agree with a GrFragmentProcessor::Iter initialized with a GrPipeline that produces the same program key.

Definition at line 617 of file GrFragmentProcessor.h.

Constructor & Destructor Documentation

◆ Iter() [1/3]

GrFragmentProcessor::ProgramImpl::Iter::Iter ( std::unique_ptr< ProgramImpl fps[],
int  cnt 
)

◆ Iter() [2/3]

Definition at line 620 of file GrFragmentProcessor.h.

620{ fFPStack.push_back(&fp); }
const uint32_t fp

◆ Iter() [3/3]

Member Function Documentation

◆ operator bool()

GrFragmentProcessor::ProgramImpl::Iter::operator bool ( ) const
inlineexplicit

Definition at line 625 of file GrFragmentProcessor.h.

625{ return !fFPStack.empty(); }

◆ operator*()

ProgramImpl & GrFragmentProcessor::ProgramImpl::Iter::operator* ( ) const

◆ operator++()

Iter & GrFragmentProcessor::ProgramImpl::Iter::operator++ ( )

◆ operator->()

ProgramImpl * GrFragmentProcessor::ProgramImpl::Iter::operator-> ( ) const

◆ operator=()

Iter & GrFragmentProcessor::ProgramImpl::Iter::operator= ( const Iter )
delete

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