C# 클래스 FSO.Common.Utils.PPXDepthEngine

파일 보기 프로젝트 열기: RHY3756547/FreeSO

공개 메소드들

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

메소드 상세

CreateRenderTarget() 공개 정적인 메소드

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
리턴 Microsoft.Xna.Framework.Graphics.RenderTarget2D

DrawBackbuffer() 공개 정적인 메소드

public static DrawBackbuffer ( ) : void
리턴 void

InitGD() 공개 정적인 메소드

public static InitGD ( GraphicsDevice gd ) : void
gd GraphicsDevice
리턴 void

InitScreenTargets() 공개 정적인 메소드

public static InitScreenTargets ( GraphicsDevice gd ) : void
gd GraphicsDevice
리턴 void

RenderPPXDepth() 공개 정적인 메소드

public static RenderPPXDepth ( Effect effect, bool forceDepth, RenderPPXProcedureDelegate proc ) : void
effect Microsoft.Xna.Framework.Graphics.Effect
forceDepth bool
proc RenderPPXProcedureDelegate
리턴 void

SetPPXTarget() 공개 정적인 메소드

public static SetPPXTarget ( RenderTarget2D color, RenderTarget2D depth, bool clear ) : void
color Microsoft.Xna.Framework.Graphics.RenderTarget2D
depth Microsoft.Xna.Framework.Graphics.RenderTarget2D
clear bool
리턴 void