C# Class Pokemon3D.Rendering.Compositor.ForwardSceneRenderer

Inheritance: Pokemon3D.Common.GameContextObject, SceneRenderer
ファイルを表示 Open project: nilllzz/Pokemon3D

Public Methods

Method Description
AddPostProcessingStep ( PostProcessingStep step ) : void
CreateCamera ( int cameraMask = 1 ) : Camera
CreateDirectionalLight ( Vector3 direction ) : Light
CreateDrawableElement ( bool initializing, int cameraMask = 1 ) : DrawableElement
Draw ( ) : void
ForwardSceneRenderer ( GameContext context, SceneEffect effect, RenderSettings settings ) : Microsoft.Xna.Framework
LateDebugDraw3D ( ) : void
OnViewSizeChanged ( Rectangle oldSize, Rectangle newSize ) : void
RemoveDrawableElement ( DrawableElement element ) : void

Private Methods

Method Description
DoPostProcessing ( ) : void
DrawDebugShadowMap ( SpriteBatch spriteBatch, Rectangle target ) : void
DrawSceneForCamera ( Camera camera ) : void
DrawShadowCastersToDepthmap ( Light light, Camera camera ) : void
GetShadowCasterSceneNodes ( ) : IList
GetShadowCasterSceneNodesTransparent ( ) : IList
GetSolidObjects ( ) : IList
GetTransparentObjects ( ) : IList
HandleCameraClearOrSkyPass ( Camera camera ) : void
HandleEffectTransparentObjects ( Data material ) : void
HandleShadowCasterObjects ( Data material ) : void
HandleSolidObjects ( Data material ) : void
OnEndInitializing ( DrawableElement element ) : void
PreparePostProcessing ( ) : void
UpdateNodeLists ( ) : void

Method Details

AddPostProcessingStep() public method

public AddPostProcessingStep ( PostProcessingStep step ) : void
step PostProcessingStep
return void

CreateCamera() public method

public CreateCamera ( int cameraMask = 1 ) : Camera
cameraMask int
return Camera

CreateDirectionalLight() public method

public CreateDirectionalLight ( Vector3 direction ) : Light
direction Vector3
return Light

CreateDrawableElement() public method

public CreateDrawableElement ( bool initializing, int cameraMask = 1 ) : DrawableElement
initializing bool
cameraMask int
return DrawableElement

Draw() public method

public Draw ( ) : void
return void

ForwardSceneRenderer() public method

public ForwardSceneRenderer ( GameContext context, SceneEffect effect, RenderSettings settings ) : Microsoft.Xna.Framework
context GameContext
effect SceneEffect
settings RenderSettings
return Microsoft.Xna.Framework

LateDebugDraw3D() public method

public LateDebugDraw3D ( ) : void
return void

OnViewSizeChanged() public method

public OnViewSizeChanged ( Rectangle oldSize, Rectangle newSize ) : void
oldSize Microsoft.Xna.Framework.Rectangle
newSize Microsoft.Xna.Framework.Rectangle
return void

RemoveDrawableElement() public method

public RemoveDrawableElement ( DrawableElement element ) : void
element DrawableElement
return void