/* * Copyright 2021 Google LLC * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef skgpu_graphite_Attribute_DEFINED #define skgpu_graphite_Attribute_DEFINED #include "include/private/base/SkAlign.h" #include "src/core/SkSLTypeShared.h" #include "src/gpu/graphite/DrawTypes.h" namespace skgpu::graphite { /** Describes a vertex or instance attribute. */ class Attribute { … }; enum class Interpolation { … }; /**Describes an interpolated value passed between a vertex and fragment shader. */ class Varying { … }; } // namespace skgpu::graphite #endif // skgpu_graphite_Attribute_DEFINED