Метод | Описание | |
---|---|---|
CreateDynamicVertexBuffer ( |
||
CreateEffect ( ) : |
||
CreateIndexBuffer ( IndexElementSize id, int s, BufferUsage usage = BufferUsage.WriteOnly ) : IndexBuffer | ||
CreateRenderTarget2D ( int w, int h, SurfaceFormat sf = SurfaceFormat.Color, DepthFormat df = DepthFormat.Depth24Stencil8, RenderTargetUsage usage = RenderTargetUsage.DiscardContents, int msc = 1, bool mipmap = false ) : |
||
CreateTexture2D ( int w, int h, SurfaceFormat format = SurfaceFormat.Color, bool mipmap = false ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
CreateVertexBuffer ( |
||
CreateVoxGeos ( |
||
Dispose ( ) : void | ||
Draw ( |
||
DrawHealth ( ) : void | ||
DrawMap ( Matrix mV, Matrix mP ) : void | ||
HookToGame ( |
||
LoadEffect ( string file ) : |
||
LoadFont ( string file ) : |
||
LoadTexture2D ( Stream s ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
LoadTexture2D ( string file ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
RTSRenderer ( GraphicsDeviceManager gdm, Microsoft.Xna.Framework.Content.ContentManager cm, |
||
Update ( |
||
UpdateAnimations ( |
||
UpdateSelections ( Microsoft.Xna.Framework.Graphics.VertexPositionColorTexture &verts, int &inds ) : void | ||
UpdateVisible ( CollisionGrid cg ) : void |
Метод | Описание | |
---|---|---|
DrawBuildings ( ) : void | ||
DrawParticles ( float t ) : void | ||
DrawSelectionBox ( ) : void | ||
DrawSelectionCircles ( Vector3 c ) : void | ||
DrawUnits ( ) : void | ||
LoadTeamVisuals ( |
||
OnFOWChange ( int x, int y, int p, FogOfWar f ) : void | ||
OnMouseMove ( Vector2 p, Vector2 d ) : void | ||
OnMousePress ( Vector2 p, MouseButton b ) : void | ||
OnMouseRelease ( Vector2 p, MouseButton b ) : void |
public CreateDynamicVertexBuffer ( |
||
vd | ||
s | int | |
usage | BufferUsage | |
Результат | DynamicVertexBuffer |
public CreateEffect ( ) : |
||
Результат |
public CreateIndexBuffer ( IndexElementSize id, int s, BufferUsage usage = BufferUsage.WriteOnly ) : IndexBuffer | ||
id | IndexElementSize | |
s | int | |
usage | BufferUsage | |
Результат | IndexBuffer |
public CreateRenderTarget2D ( int w, int h, SurfaceFormat sf = SurfaceFormat.Color, DepthFormat df = DepthFormat.Depth24Stencil8, RenderTargetUsage usage = RenderTargetUsage.DiscardContents, int msc = 1, bool mipmap = false ) : |
||
w | int | |
h | int | |
sf | SurfaceFormat | |
df | DepthFormat | |
usage | RenderTargetUsage | |
msc | int | |
mipmap | bool | |
Результат |
public CreateTexture2D ( int w, int h, SurfaceFormat format = SurfaceFormat.Color, bool mipmap = false ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
w | int | |
h | int | |
format | SurfaceFormat | |
mipmap | bool | |
Результат | Microsoft.Xna.Framework.Graphics.Texture2D |
public CreateVertexBuffer ( |
||
vd | ||
s | int | |
usage | BufferUsage | |
Результат | VertexBuffer |
public CreateVoxGeos ( |
||
atlas | ||
Результат | void |
public Draw ( |
||
s | ||
dt | float | |
Результат | void |
public DrawMap ( Matrix mV, Matrix mP ) : void | ||
mV | Matrix | |
mP | Matrix | |
Результат | void |
public HookToGame ( |
||
state | ||
ti | int | |
camera | ||
Результат | void |
public LoadEffect ( string file ) : |
||
file | string | |
Результат |
public LoadFont ( string file ) : |
||
file | string | |
Результат |
public LoadTexture2D ( Stream s ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
s | Stream | |
Результат | Microsoft.Xna.Framework.Graphics.Texture2D |
public LoadTexture2D ( string file ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
file | string | |
Результат | Microsoft.Xna.Framework.Graphics.Texture2D |
public RTSRenderer ( GraphicsDeviceManager gdm, Microsoft.Xna.Framework.Content.ContentManager cm, |
||
gdm | GraphicsDeviceManager | |
cm | Microsoft.Xna.Framework.Content.ContentManager | |
ria | ||
w | ||
Результат | System |
public Update ( |
||
state | ||
Результат | void |
public UpdateAnimations ( |
||
s | ||
dt | float | |
Результат | void |
public UpdateSelections ( Microsoft.Xna.Framework.Graphics.VertexPositionColorTexture &verts, int &inds ) : void | ||
verts | Microsoft.Xna.Framework.Graphics.VertexPositionColorTexture | |
inds | int | |
Результат | void |
public UpdateVisible ( CollisionGrid cg ) : void | ||
cg | CollisionGrid | |
Результат | void |