18std::optional<Snapshot> ContentsFilterInput::GetSnapshot(
19 std::string_view label,
22 std::optional<Rect> coverage_limit,
23 int32_t mip_count)
const {
24 if (!coverage_limit.has_value() && entity.
GetContents()) {
25 coverage_limit = entity.
GetContents()->GetCoverageHint();
27 if (!snapshot_.has_value()) {
29 contents_->RenderToSnapshot(renderer,
32 .coverage_limit = coverage_limit,
33 .sampler_descriptor = std::nullopt,
34 .msaa_enabled = msaa_enabled_,
35 .mip_count = mip_count,