C# Class Fusion.Engine.Graphics.LightRenderer

Mostra file Open project: demiurghg/FusionEngine Class Usage Examples

Private Properties

Property Type Description
CheckShadowSize void
ComputeEnvLightsTiles void
ComputeOmniLightsTiles void
ComputeSpotLightsTiles void
CreateShadowMaps void
EnumVoxel void
GetFrustumExtent bool
GetSphereExtent bool
GetSphereExtentAxis bool
LoadContent void
RenderLighting void
RenderShadows void
SetDefaults void
exp float
sqrt float
square float

Public Methods

Method Description
Initialize ( ) : void

LightRenderer ( Game game ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
CheckShadowSize ( ) : void

ComputeEnvLightsTiles ( System.Matrix view, System.Matrix proj, LightSet lightSet ) : void

ComputeOmniLightsTiles ( System.Matrix view, System.Matrix proj, LightSet lightSet ) : void

ComputeSpotLightsTiles ( System.Matrix view, System.Matrix projection, LightSet lightSet ) : void

CreateShadowMaps ( ) : void

EnumVoxel ( PipelineState ps, VoxelFlags flags ) : void
GetFrustumExtent ( System.Matrix view, System.Matrix projection, Rectangle viewport, BoundingFrustum frustum, System.Vector4 &min, System.Vector4 &max ) : bool

GetSphereExtent ( System.Matrix view, System.Matrix projection, System.Vector3 position, Rectangle vp, float radius, System.Vector4 &min, System.Vector4 &max ) : bool

GetSphereExtentAxis ( float znear, float a, float z, float r, float &min, float &max ) : bool

LoadContent ( ) : void

RenderLighting ( StereoEye stereoEye, Camera camera, HdrFrame hdrFrame, RenderWorld viewLayer, RenderTargetCube envLight ) : void

RenderShadows ( RenderWorld renderWorld, LightSet lightSet ) : void

SetDefaults ( ) : void
exp ( float x ) : float
sqrt ( float x ) : float
square ( float x ) : float

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Initialize() public method

public Initialize ( ) : void
return void

LightRenderer() public method

public LightRenderer ( Game game ) : System
game Game
return System