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 
6 
7 namespace impeller {
8 
10 
11 SamplerDescriptor::SamplerDescriptor(std::string_view label,
12  MinMagFilter min_filter,
13  MinMagFilter mag_filter,
14  MipFilter mip_filter)
15  : min_filter(min_filter),
16  mag_filter(mag_filter),
17  mip_filter(mip_filter),
18  label(label) {}
19 
20 } // namespace impeller
MipFilter
Options for selecting and filtering between mipmap levels.
Definition: formats.h:425
MinMagFilter
Describes how the texture should be sampled when the texture is being shrunk (minified) or expanded (...
Definition: formats.h:415