C# Класс ProjectMercury.Renderers.QuadRenderer

Наследование: ProjectMercury.Renderers.AbstractRenderer
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
LoadContent void
VertexDeclaration System

Открытые методы

Метод Описание
QuadRenderer ( ) : System
QuadRenderer ( int bufferSize ) : System

Creates a new QuadRenderer

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
LoadContent ( ContentManager content ) : void
VertexDeclaration ( ) : System

Описание методов

Dispose() защищенный Метод

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.
Результат void

PreRender() защищенный Метод

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
Результат void

QuadRenderer() публичный Метод

public QuadRenderer ( ) : System
Результат System

QuadRenderer() публичный Метод

Creates a new QuadRenderer
public QuadRenderer ( int bufferSize ) : System
bufferSize int
Результат System

Render() защищенный Метод

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.
Результат void