Flutter Engine
Loading...
Searching...
No Matches
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
namespace
impeller
{
8
9
SamplerDescriptor::SamplerDescriptor
() =
default
;
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
impeller
Definition
texture.h:16
impeller::MipFilter
MipFilter
Options for selecting and filtering between mipmap levels.
Definition
formats.h:425
impeller::MinMagFilter
MinMagFilter
Describes how the texture should be sampled when the texture is being shrunk (minified) or expanded (...
Definition
formats.h:415
sampler_descriptor.h
impeller::SamplerDescriptor::SamplerDescriptor
SamplerDescriptor()
impeller
core
sampler_descriptor.cc
Generated on Thu Nov 6 2025 16:11:22 for Flutter Engine by
1.9.8