| Flutter Impeller |

sampler_descriptor.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_descriptor.h"
6
7 #include "fml/logging.h"
8
9 namespace impeller {
10
11 SamplerDescriptor::SamplerDescriptor() = default;
12
13 SamplerDescriptor::SamplerDescriptor(std::string label,
14 MinMagFilter min_filter,
15 MinMagFilter mag_filter,
16 MipFilter mip_filter)
17 : min_filter(min_filter),
18 mag_filter(mag_filter),
19 mip_filter(mip_filter),
20 label(std::move(label)) {}
21
22 } // namespace impeller
impeller::MipFilter
MipFilter
Definition: formats.h:412
impeller::MinMagFilter
MinMagFilter
Definition: formats.h:404
sampler_descriptor.h
std
Definition: comparable.h:95
impeller::SamplerDescriptor::SamplerDescriptor
SamplerDescriptor()
impeller
Definition: aiks_context.cc:10