C# 클래스 OpenRA.Graphics.SpriteRenderer

파일 보기 프로젝트 열기: pchote/OpenRA 1 사용 예제들

공개 메소드들

메소드 설명
DrawSprite ( Sprite s, Vertex sourceVertices, int offset ) : void
DrawSprite ( Sprite s, float3 location ) : void
DrawSprite ( Sprite s, float3 location, OpenRA.Graphics.PaletteReference pal ) : void
DrawSprite ( Sprite s, float3 location, OpenRA.Graphics.PaletteReference pal, float3 size ) : void
DrawSprite ( Sprite s, float3 location, float3 size ) : void
DrawSprite ( Sprite s, float3 a, float3 b, float3 c, float3 d ) : void
DrawVertexBuffer ( IVertexBuffer buffer, int start, int length, PrimitiveType type, Sheet sheet, BlendMode blendMode ) : void
Flush ( ) : void
SetDepthPreviewEnabled ( bool enabled ) : void
SetPalette ( ITexture palette ) : void
SetViewportParams ( Size screen, float depthScale, float depthOffset, float zoom, int2 scroll ) : void
SpriteRenderer ( Renderer renderer, IShader shader ) : System

비공개 메소드들

메소드 설명
DrawSprite ( Sprite s, float3 location, float paletteTextureIndex, float3 size ) : void
SetRenderStateForSprite ( Sprite s ) : void

메소드 상세

DrawSprite() 공개 메소드

public DrawSprite ( Sprite s, Vertex sourceVertices, int offset ) : void
s Sprite
sourceVertices Vertex
offset int
리턴 void

DrawSprite() 공개 메소드

public DrawSprite ( Sprite s, float3 location ) : void
s Sprite
location float3
리턴 void

DrawSprite() 공개 메소드

public DrawSprite ( Sprite s, float3 location, OpenRA.Graphics.PaletteReference pal ) : void
s Sprite
location float3
pal OpenRA.Graphics.PaletteReference
리턴 void

DrawSprite() 공개 메소드

public DrawSprite ( Sprite s, float3 location, OpenRA.Graphics.PaletteReference pal, float3 size ) : void
s Sprite
location float3
pal OpenRA.Graphics.PaletteReference
size float3
리턴 void

DrawSprite() 공개 메소드

public DrawSprite ( Sprite s, float3 location, float3 size ) : void
s Sprite
location float3
size float3
리턴 void

DrawSprite() 공개 메소드

public DrawSprite ( Sprite s, float3 a, float3 b, float3 c, float3 d ) : void
s Sprite
a float3
b float3
c float3
d float3
리턴 void

DrawVertexBuffer() 공개 메소드

public DrawVertexBuffer ( IVertexBuffer buffer, int start, int length, PrimitiveType type, Sheet sheet, BlendMode blendMode ) : void
buffer IVertexBuffer
start int
length int
type PrimitiveType
sheet Sheet
blendMode BlendMode
리턴 void

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

SetDepthPreviewEnabled() 공개 메소드

public SetDepthPreviewEnabled ( bool enabled ) : void
enabled bool
리턴 void

SetPalette() 공개 메소드

public SetPalette ( ITexture palette ) : void
palette ITexture
리턴 void

SetViewportParams() 공개 메소드

public SetViewportParams ( Size screen, float depthScale, float depthOffset, float zoom, int2 scroll ) : void
screen Size
depthScale float
depthOffset float
zoom float
scroll int2
리턴 void

SpriteRenderer() 공개 메소드

public SpriteRenderer ( Renderer renderer, IShader shader ) : System
renderer Renderer
shader IShader
리턴 System