Flutter Engine
The Flutter Engine
impeller
core
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
logging.h
impeller
Definition:
texture.h:18
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
std
Definition:
ref_ptr.h:256
sampler_descriptor.h
impeller::SamplerDescriptor::SamplerDescriptor
SamplerDescriptor()
Generated on Sun Jun 23 2024 21:55:00 for Flutter Engine by
1.9.4