| 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
Options for selecting and filtering between mipmap levels.
Definition: formats.h:419
impeller::MinMagFilter
MinMagFilter
Describes how the texture should be sampled when the texture is being shrunk (minified) or expanded (...
Definition: formats.h:409
sampler_descriptor.h
std
Definition: comparable.h:95
impeller::SamplerDescriptor::SamplerDescriptor
SamplerDescriptor()
impeller
Definition: aiks_blend_unittests.cc:18