Flutter Engine
The Flutter Engine
|
An immutable collection of shaders loaded from a shader bundle asset. More...
#include <shader.h>
Classes | |
struct | UniformBinding |
Static Public Member Functions | |
static fml::RefPtr< Shader > | Make (std::string entrypoint, impeller::ShaderStage stage, std::shared_ptr< fml::Mapping > code_mapping, std::vector< impeller::ShaderStageIOSlot > inputs, std::vector< impeller::ShaderStageBufferLayout > layouts, std::unordered_map< std::string, UniformBinding > uniform_structs, std::unordered_map< std::string, impeller::SampledImageSlot > uniform_textures, std::vector< impeller::DescriptorSetLayout > descriptor_set_layouts) |
Additional Inherited Members | |
Public Types inherited from tonic::DartWrappable | |
enum | DartNativeFields { kPeerIndex , kNumberOfNativeFields } |
Protected Member Functions inherited from fml::RefCountedThreadSafe< Shader > | |
RefCountedThreadSafe () | |
~RefCountedThreadSafe () | |
Protected Member Functions inherited from fml::internal::RefCountedThreadSafeBase | |
RefCountedThreadSafeBase () | |
~RefCountedThreadSafeBase () | |
bool | Release () const |
void | Adopt () |
Protected Member Functions inherited from tonic::DartWrappable | |
virtual | ~DartWrappable () |
Static Protected Member Functions inherited from tonic::DartWrappable | |
static Dart_PersistentHandle | GetTypeForWrapper (tonic::DartState *dart_state, const tonic::DartWrapperInfo &wrapper_info) |
An immutable collection of shaders loaded from a shader bundle asset.
|
overridedefault |
std::shared_ptr< impeller::VertexDescriptor > flutter::gpu::Shader::CreateVertexDescriptor | ( | ) | const |
const std::vector< impeller::DescriptorSetLayout > & flutter::gpu::Shader::GetDescriptorSetLayouts | ( | ) | const |
std::shared_ptr< const impeller::ShaderFunction > flutter::gpu::Shader::GetFunctionFromLibrary | ( | impeller::ShaderLibrary & | library | ) |
impeller::ShaderStage flutter::gpu::Shader::GetShaderStage | ( | ) | const |
const Shader::UniformBinding * flutter::gpu::Shader::GetUniformStruct | ( | const std::string & | name | ) | const |
const impeller::SampledImageSlot * flutter::gpu::Shader::GetUniformTexture | ( | const std::string & | name | ) | const |
bool flutter::gpu::Shader::IsRegistered | ( | Context & | context | ) |
Definition at line 65 of file shader.cc.
|
static |
Definition at line 38 of file shader.cc.
bool flutter::gpu::Shader::RegisterSync | ( | Context & | context | ) |
Definition at line 70 of file shader.cc.