#include <scene_context.h>
Public Member Functions | |
| SceneContext (std::shared_ptr< Context > context) | |
| ~SceneContext () | |
| bool | IsValid () const |
| std::shared_ptr< Pipeline< PipelineDescriptor > > | GetPipeline (PipelineKey key, SceneContextOptions opts) const |
| std::shared_ptr< Context > | GetContext () const |
| std::shared_ptr< Texture > | GetPlaceholderTexture () const |
Definition at line 39 of file scene_context.h.
|
explicit |
Definition at line 37 of file scene_context.cc.
References impeller::TextureDescriptor::format, impeller::kHostVisible, impeller::kR8G8B8A8UNormInt, impeller::scene::kSkinned, impeller::scene::kUnlit, impeller::scene::kUnskinned, impeller::TextureDescriptor::mip_count, impeller::TextureDescriptor::size, and impeller::TextureDescriptor::storage_mode.
|
default |
| std::shared_ptr< Context > impeller::scene::SceneContext::GetContext | ( | ) | const |
| std::shared_ptr< Pipeline< PipelineDescriptor > > impeller::scene::SceneContext::GetPipeline | ( | PipelineKey | key, |
| SceneContextOptions | opts | ||
| ) | const |
Definition at line 76 of file scene_context.cc.
References IsValid().
Referenced by impeller::scene::EncodeCommand().
| std::shared_ptr< Texture > impeller::scene::SceneContext::GetPlaceholderTexture | ( | ) | const |
Definition at line 96 of file scene_context.cc.
Referenced by impeller::scene::UnlitMaterial::BindToCommand(), and impeller::scene::SkinnedVertexBufferGeometry::BindToCommand().
| bool impeller::scene::SceneContext::IsValid | ( | ) | const |
Definition at line 88 of file scene_context.cc.
Referenced by GetPipeline().