C# 클래스 Indiefreaks.Xna.Rendering.Instancing.InstancingManager

The InstancingManager allows developers to create Hardware instances of a given mesh using a simple approach.
상속: IInstancingManager
파일 보기 프로젝트 열기: Indiefreaks/igf

공개 메소드들

메소드 설명
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