Skia
2D Graphics Library
sksg::Scene Class Referencefinal

Holds a scene root. More...

#include <SkSGScene.h>

Public Member Functions

 ~Scene ()
 
 Scene (const Scene &)=delete
 
Sceneoperator= (const Scene &)=delete
 
void render (SkCanvas *) const
 
void revalidate (InvalidationController *=nullptr)
 
const RenderNodenodeAt (const SkPoint &) const
 

Static Public Member Functions

static std::unique_ptr< SceneMake (sk_sp< RenderNode > root)
 

Detailed Description

Holds a scene root.

Provides high-level methods for rendering.

Constructor & Destructor Documentation

◆ ~Scene()

sksg::Scene::~Scene ( )

◆ Scene()

sksg::Scene::Scene ( const Scene )
delete

Member Function Documentation

◆ Make()

static std::unique_ptr<Scene> sksg::Scene::Make ( sk_sp< RenderNode root)
static

◆ nodeAt()

const RenderNode* sksg::Scene::nodeAt ( const SkPoint &  ) const

◆ operator=()

Scene& sksg::Scene::operator= ( const Scene )
delete

◆ render()

void sksg::Scene::render ( SkCanvas ) const

◆ revalidate()

void sksg::Scene::revalidate ( InvalidationController = nullptr)

The documentation for this class was generated from the following file: