C# 클래스 hqNx.Hqnx

상속: Microsoft.Xna.Framework.DrawableGameComponent
파일 보기 프로젝트 열기: pdjonov/hqnx 1 사용 예제들

공개 메소드들

메소드 설명
Draw2x ( Vector2 position ) : void
Draw2x ( Vector2 position, float rotation, Vector2 origin ) : void
Draw3x ( Vector2 position ) : void
Draw3x ( Vector2 position, float rotation, Vector2 origin ) : void
Draw4x ( Vector2 position ) : void
Draw4x ( Vector2 position, float rotation, Vector2 origin ) : void
Hqnx ( Microsoft.Xna.Framework.Game game ) : System
Initialize ( ) : void
Prepare ( Microsoft.Xna.Framework.Graphics.Texture2D image ) : void

Prepares an image for magnification.

Note that this will change the render target, but will not revert it to its previous value - you must immediately set the desired next target after calling this function.

보호된 메소드들

메소드 설명
LoadContent ( ) : void
UnloadContent ( ) : void

비공개 메소드들

메소드 설명
ConvertKernel ( Color pOut, float pKern ) : void
Diff ( int cmp2, int t1, int t2 ) : bool
GenScreenQuad ( Vector2 origin, int width, int height ) : void
InitLutNx ( Texture3D lut, int n, FilterCaseDelegate filterCase ) : void

This really, *really*, needs to be preprocessed into a loaded blob.

Interp0 ( float pc, int t1 ) : void
Interp1 ( float pc, int t1, int t2 ) : void
Interp10 ( float pc, int t1, int t2, int t3 ) : void
Interp2 ( float pc, int t1, int t2, int t3 ) : void
Interp3 ( float pc, int t1, int t2 ) : void
Interp4 ( float pc, int t1, int t2, int t3 ) : void
Interp5 ( float pc, int t1, int t2 ) : void
Interp6 ( float pc, int t1, int t2, int t3 ) : void
Interp7 ( float pc, int t1, int t2, int t3 ) : void
Interp8 ( float pc, int t1, int t2 ) : void
Interp9 ( float pc, int t1, int t2, int t3 ) : void
MagnifyNx ( Vector2 position, Vector2 rotationOrigin, float rotation, int n, EffectPass scalePass ) : void
NormalizeKernel ( float pKern ) : void
NormalizeQuadCoords ( ) : void
RequirePatternBuffer ( int dx, int dy ) : void
RotateScreenQuad ( Vector2 origin, float angle ) : void
SetupTaps ( int width, int height ) : void
ShiftScreenQuad ( Vector2 delta ) : void

메소드 상세

Draw2x() 공개 메소드

public Draw2x ( Vector2 position ) : void
position Vector2
리턴 void

Draw2x() 공개 메소드

public Draw2x ( Vector2 position, float rotation, Vector2 origin ) : void
position Vector2
rotation float
origin Vector2
리턴 void

Draw3x() 공개 메소드

public Draw3x ( Vector2 position ) : void
position Vector2
리턴 void

Draw3x() 공개 메소드

public Draw3x ( Vector2 position, float rotation, Vector2 origin ) : void
position Vector2
rotation float
origin Vector2
리턴 void

Draw4x() 공개 메소드

public Draw4x ( Vector2 position ) : void
position Vector2
리턴 void

Draw4x() 공개 메소드

public Draw4x ( Vector2 position, float rotation, Vector2 origin ) : void
position Vector2
rotation float
origin Vector2
리턴 void

Hqnx() 공개 메소드

public Hqnx ( Microsoft.Xna.Framework.Game game ) : System
game Microsoft.Xna.Framework.Game
리턴 System

Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void

LoadContent() 보호된 메소드

protected LoadContent ( ) : void
리턴 void

Prepare() 공개 메소드

Prepares an image for magnification.
Note that this will change the render target, but will not revert it to its previous value - you must immediately set the desired next target after calling this function.
public Prepare ( Microsoft.Xna.Framework.Graphics.Texture2D image ) : void
image Microsoft.Xna.Framework.Graphics.Texture2D
리턴 void

UnloadContent() 보호된 메소드

protected UnloadContent ( ) : void
리턴 void