C# 클래스 Some2DRPG.Shaders.LightShader

상속: GameEngine.Shaders.PostGameShader
파일 보기 프로젝트 열기: MichaelAquilina/Some-2D-RPG 1 사용 예제들

공개 메소드들

메소드 설명
ApplyShader ( SpriteBatch spriteBatch, ViewPortInfo viewPortInfo, GameTime gameTime, RenderTarget2D inputBuffer, RenderTarget2D outputBuffer ) : void
LightShader ( GraphicsDevice graphicsDevice, int circlePointAccuracy ) : System
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
SetResolution ( int width, int height ) : void

비공개 메소드들

메소드 설명
SetUpCircle ( float radiusX, float radiusY, Vector3 center, Color color, int points, Vector2 range ) : Microsoft.Xna.Framework.Graphics.VertexPositionColor[]

메소드 상세

ApplyShader() 공개 메소드

public ApplyShader ( SpriteBatch spriteBatch, ViewPortInfo viewPortInfo, GameTime gameTime, RenderTarget2D inputBuffer, RenderTarget2D outputBuffer ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
viewPortInfo GameEngine.Info.ViewPortInfo
gameTime Microsoft.Xna.Framework.GameTime
inputBuffer Microsoft.Xna.Framework.Graphics.RenderTarget2D
outputBuffer Microsoft.Xna.Framework.Graphics.RenderTarget2D
리턴 void

LightShader() 공개 메소드

public LightShader ( GraphicsDevice graphicsDevice, int circlePointAccuracy ) : System
graphicsDevice GraphicsDevice
circlePointAccuracy int
리턴 System

LoadContent() 공개 메소드

public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
리턴 void

SetResolution() 공개 메소드

public SetResolution ( int width, int height ) : void
width int
height int
리턴 void