C# Class FSO.Common.Utils.PPXDepthEngine

Afficher le fichier Open project: RHY3756547/FreeSO

Méthodes publiques

Méthode Description
CreateRenderTarget ( GraphicsDevice device, int numberLevels, int multisample, SurfaceFormat surface, int width, int height, DepthFormat dformat ) : RenderTarget2D
DrawBackbuffer ( ) : void
InitGD ( GraphicsDevice gd ) : void
InitScreenTargets ( GraphicsDevice gd ) : void
RenderPPXDepth ( Effect effect, bool forceDepth, RenderPPXProcedureDelegate proc ) : void
SetPPXTarget ( RenderTarget2D color, RenderTarget2D depth, bool clear ) : void

Method Details

CreateRenderTarget() public static méthode

public static CreateRenderTarget ( GraphicsDevice device, int numberLevels, int multisample, SurfaceFormat surface, int width, int height, DepthFormat dformat ) : RenderTarget2D
device GraphicsDevice
numberLevels int
multisample int
surface SurfaceFormat
width int
height int
dformat DepthFormat
Résultat Microsoft.Xna.Framework.Graphics.RenderTarget2D

DrawBackbuffer() public static méthode

public static DrawBackbuffer ( ) : void
Résultat void

InitGD() public static méthode

public static InitGD ( GraphicsDevice gd ) : void
gd GraphicsDevice
Résultat void

InitScreenTargets() public static méthode

public static InitScreenTargets ( GraphicsDevice gd ) : void
gd GraphicsDevice
Résultat void

RenderPPXDepth() public static méthode

public static RenderPPXDepth ( Effect effect, bool forceDepth, RenderPPXProcedureDelegate proc ) : void
effect Microsoft.Xna.Framework.Graphics.Effect
forceDepth bool
proc RenderPPXProcedureDelegate
Résultat void

SetPPXTarget() public static méthode

public static SetPPXTarget ( RenderTarget2D color, RenderTarget2D depth, bool clear ) : void
color Microsoft.Xna.Framework.Graphics.RenderTarget2D
depth Microsoft.Xna.Framework.Graphics.RenderTarget2D
clear bool
Résultat void