C# Класс Indiefreaks.Xna.Rendering.Instancing.InstancingManager

The InstancingManager allows developers to create Hardware instances of a given mesh using a simple approach.
Наследование: IInstancingManager
Показать файл Открыть проект

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

Метод Описание
ApplyPreferences ( ISystemPreferences preferences ) : void

Use to apply user quality and performance preferences to the resources managed by this object.

Clear ( ) : void

Removes resources managed by this object. Commonly used while clearing the scene.

CreateInstanceFactory ( IInstanceSource source, Effect shader ) : InstanceFactory

Creates an InstanceFactory used to create new InstanceEntity instances.

CreateSkinnedInstanceFactory ( ISkinnedInstanceSource source, DeferredSasEffect shader ) : SkinnedInstanceFactory
InstancingManager ( IManagerServiceProvider sceneInterface ) : System
Unload ( ) : void

Disposes any graphics resource used internally by this object, and removes scene resources managed by this object. Commonly used during Game.UnloadContent.

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

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

Use to apply user quality and performance preferences to the resources managed by this object.
public ApplyPreferences ( ISystemPreferences preferences ) : void
preferences ISystemPreferences
Результат void

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

Removes resources managed by this object. Commonly used while clearing the scene.
public Clear ( ) : void
Результат void

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

Creates an InstanceFactory used to create new InstanceEntity instances.
public CreateInstanceFactory ( IInstanceSource source, Effect shader ) : InstanceFactory
source IInstanceSource The mesh data information used to create InstanceEntity instances.
shader Microsoft.Xna.Framework.Graphics.Effect The shader shared accross all instances
Результат InstanceFactory

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

public CreateSkinnedInstanceFactory ( ISkinnedInstanceSource source, DeferredSasEffect shader ) : SkinnedInstanceFactory
source ISkinnedInstanceSource
shader DeferredSasEffect
Результат Indiefreaks.Xna.Rendering.Instancing.Skinned.SkinnedInstanceFactory

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

public InstancingManager ( IManagerServiceProvider sceneInterface ) : System
sceneInterface IManagerServiceProvider
Результат System

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

Disposes any graphics resource used internally by this object, and removes scene resources managed by this object. Commonly used during Game.UnloadContent.
public Unload ( ) : void
Результат void