| Flutter Impeller |

sampler.cc
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "impeller/core/sampler.h"
6
7 namespace impeller {
8
9 Sampler::Sampler(SamplerDescriptor desc) : desc_(std::move(desc)) {}
10
11 Sampler::~Sampler() = default;
12
13 const SamplerDescriptor& Sampler::GetDescriptor() const {
14 return desc_;
15 }
16
17 } // namespace impeller
impeller::Sampler::Sampler
Sampler(SamplerDescriptor desc)
Definition: sampler.cc:9
sampler.h
impeller::Sampler::~Sampler
virtual ~Sampler()
impeller::SamplerDescriptor
Definition: sampler_descriptor.h:15
std
Definition: comparable.h:95
impeller::Sampler::GetDescriptor
const SamplerDescriptor & GetDescriptor() const
Definition: sampler.cc:13
impeller
Definition: allocation.cc:12
impeller::Sampler::desc_
SamplerDescriptor desc_
Definition: sampler.h:22