A class that tracks all clips that have been recorded in the current entity pass stencil. More...
#include <entity_pass.h>
Public Member Functions | |
| EntityPassClipRecorder () | |
| ~EntityPassClipRecorder ()=default | |
| void | RecordEntity (const Entity &entity, Contents::ClipCoverage::Type type) |
| Record the entity based on the provided coverage [type]. More... | |
| const std::vector< Entity > & | GetReplayEntities () const |
A class that tracks all clips that have been recorded in the current entity pass stencil.
These clips are replayed when restoring the backdrop so that the stencil buffer is left in an identical state.
Definition at line 329 of file entity_pass.h.
| impeller::EntityPassClipRecorder::EntityPassClipRecorder | ( | ) |
Definition at line 1170 of file entity_pass.cc.
|
default |
| const std::vector< Entity > & impeller::EntityPassClipRecorder::GetReplayEntities | ( | ) | const |
Definition at line 1186 of file entity_pass.cc.
| void impeller::EntityPassClipRecorder::RecordEntity | ( | const Entity & | entity, |
| Contents::ClipCoverage::Type | type | ||
| ) |
Record the entity based on the provided coverage [type].
Definition at line 1172 of file entity_pass.cc.
References impeller::Entity::Clone(), and impeller::kRestore.