Flutter Engine
shader.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 "flutter/lib/ui/painting/shader.h"
6 
7 #include "flutter/lib/ui/ui_dart_state.h"
8 
9 namespace flutter {
10 
11 IMPLEMENT_WRAPPERTYPEINFO(ui, Shader);
12 
14  : shader_(std::move(shader)) {}
15 
16 Shader::~Shader() = default;
17 
18 } // namespace flutter
Shader(flutter::SkiaGPUObject< SkShader > shader={})
Definition: shader.cc:13
Definition: ref_ptr.h:252
~Shader() override
IMPLEMENT_WRAPPERTYPEINFO(ui, Scene)