Flutter Engine
The Flutter Engine
lib
ui
painting
shader.h
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
#ifndef FLUTTER_LIB_UI_PAINTING_SHADER_H_
6
#define FLUTTER_LIB_UI_PAINTING_SHADER_H_
7
8
#include "flutter/display_list/effects/dl_color_source.h"
9
#include "flutter/lib/ui/ui_dart_state.h"
10
11
namespace
flutter
{
12
13
class
Shader
:
public
RefCountedDartWrappable
<Shader> {
14
DEFINE_WRAPPERTYPEINFO();
15
FML_FRIEND_MAKE_REF_COUNTED(
Shader
);
16
17
public
:
18
~Shader
()
override
;
19
20
virtual
std::shared_ptr<DlColorSource>
shader
(
DlImageSampling
) = 0;
21
22
protected
:
23
Shader
() {}
24
};
25
26
}
// namespace flutter
27
28
#endif
// FLUTTER_LIB_UI_PAINTING_SHADER_H_
flutter::RefCountedDartWrappable
Definition:
dart_wrapper.h:15
flutter::Shader
Definition:
shader.h:13
flutter::Shader::shader
virtual std::shared_ptr< DlColorSource > shader(DlImageSampling)=0
flutter::Shader::~Shader
~Shader() override
flutter::Shader::Shader
Shader()
Definition:
shader.h:23
flutter
Definition:
asset_manager.cc:10
flutter::DlImageSampling
DlImageSampling
Definition:
dl_sampling_options.h:17
Generated on Sun Jun 23 2024 21:55:06 for Flutter Engine by
1.9.4