Table of Contents

Class LazyView

Namespace
OmegaEngine.Graphics
Assembly
OmegaEngine.dll

An TextureView that only handles OmegaEngine.Graphics.LazyView.Render() when SetDirty() has been called.

public sealed class LazyView : TextureView, IDisposable
Inheritance
LazyView
Implements
Inherited Members
Extension Methods

Remarks

Useful for Scenes and Cameras that stay static for most of the time.

Constructors

LazyView(Scene, Camera, Size)

Creates a new lazy view

public LazyView(Scene scene, Camera camera, Size size)

Parameters

scene Scene

The Scene to render

camera Camera

The Camera to look at the Scene with

size Size

The size of screen area this view should fill (leave empty for fullscreen)

Properties

Dirty

Does this LazyView need handle the next OmegaEngine.Graphics.LazyView.Render() call?

public bool Dirty { get; }

Property Value

bool

Methods

SetDirty()

Sets Dirty to true

public void SetDirty()