C# Class ProjectMercury.Renderers.QuadRenderer

Inheritance: ProjectMercury.Renderers.AbstractRenderer
Afficher le fichier Open project: Indiefreaks/igf

Private Properties

Свойство Type Description
LoadContent void
VertexDeclaration System

Méthodes publiques

Méthode Description
QuadRenderer ( ) : System
QuadRenderer ( int bufferSize ) : System

Creates a new QuadRenderer

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

PreRender ( Matrix &worldMatrix, Matrix &viewMatrix, Matrix &projectionMatrix ) : void

Allows the renderer class to perform one time set up for each particle effect.

At this stage the will have its world, view and projection matrices set, as well as the camera position. Other properties such as the particle pointer or blend state will not be set.

Render ( RenderContext &context, ParticleIterator &iterator ) : void

Performs rendering of particles.

Private Methods

Méthode Description
LoadContent ( ContentManager content ) : void
VertexDeclaration ( ) : System

Method Details

Dispose() protected méthode

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Résultat void

PreRender() protected méthode

Allows the renderer class to perform one time set up for each particle effect.
At this stage the will have its world, view and projection matrices set, as well as the camera position. Other properties such as the particle pointer or blend state will not be set.
protected PreRender ( Matrix &worldMatrix, Matrix &viewMatrix, Matrix &projectionMatrix ) : void
worldMatrix Matrix
viewMatrix Matrix
projectionMatrix Matrix
Résultat void

QuadRenderer() public méthode

public QuadRenderer ( ) : System
Résultat System

QuadRenderer() public méthode

Creates a new QuadRenderer
public QuadRenderer ( int bufferSize ) : System
bufferSize int
Résultat System

Render() protected méthode

Performs rendering of particles.
protected Render ( RenderContext &context, ParticleIterator &iterator ) : void
context RenderContext The render context containing rendering information.
iterator ParticleIterator The particle iterator object.
Résultat void