Méthode | Description | |
---|---|---|
Batcher ( GraphicsDevice graphicsDevice ) : System | ||
begin ( ) : void | ||
begin ( |
||
begin ( |
||
begin ( |
||
begin ( |
||
begin ( |
||
begin ( |
||
begin ( Material material ) : void | ||
begin ( Material material, Matrix transformationMatrix ) : void | ||
begin ( Matrix transformationMatrix ) : void | ||
draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, |
||
draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, |
||
draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, |
||
draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, |
||
draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, |
||
draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position ) : void | ||
draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, Color color ) : void | ||
draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, |
||
draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, |
||
draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, |
||
draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, |
||
drawPrimitives ( |
||
drawRaw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector3 verts, Vector2 textureCoords, Color colors ) : void |
direct access to setting vert positions, UVs and colors. The order of elements is top-left, top-right, bottom-left, bottom-right
|
|
enableScissorTest ( bool shouldEnable ) : void |
enables/disables scissor testing. If the RasterizerState changes it will cause a batch flush.
|
|
end ( ) : void | ||
flushBatch ( ) : void | ||
prepRenderState ( ) : void |
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Méthode | Description | |
---|---|---|
DrawString ( |
||
checkBegin ( ) : void | ||
generateIndexArray ( ) : short[] | ||
pushSprite ( Microsoft.Xna.Framework.Graphics.Texture2D texture, |
public Batcher ( GraphicsDevice graphicsDevice ) : System | ||
graphicsDevice | GraphicsDevice | |
Résultat | System |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Résultat | void |
public begin ( |
||
blendState | ||
Résultat | void |
public begin ( |
||
blendState | ||
samplerState | ||
depthStencilState | ||
rasterizerState | ||
Résultat | void |
public begin ( |
||
blendState | ||
samplerState | ||
depthStencilState | ||
rasterizerState | ||
effect | ||
Résultat | void |
public begin ( |
||
blendState | ||
samplerState | ||
depthStencilState | ||
rasterizerState | ||
effect | ||
transformationMatrix | Matrix | |
Résultat | void |
public begin ( |
||
blendState | ||
samplerState | ||
depthStencilState | ||
rasterizerState | ||
effect | ||
transformationMatrix | Matrix | |
disableBatching | bool | |
Résultat | void |
public begin ( |
||
effect | ||
Résultat | void |
public begin ( Material material, Matrix transformationMatrix ) : void | ||
material | Material | |
transformationMatrix | Matrix | |
Résultat | void |
public begin ( Matrix transformationMatrix ) : void | ||
transformationMatrix | Matrix | |
Résultat | void |
public draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, |
||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
destinationRectangle | ||
Résultat | void |
public draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, |
||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
destinationRectangle | ||
color | Color | |
Résultat | void |
public draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, |
||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
destinationRectangle | ||
sourceRectangle | ||
color | Color | |
Résultat | void |
public draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, |
||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
destinationRectangle | ||
sourceRectangle | ||
color | Color | |
rotation | float | |
effects | SpriteEffects | |
layerDepth | float | |
skewTopX | float | |
skewBottomX | float | |
skewLeftY | float | |
skewRightY | float | |
Résultat | void |
public draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, |
||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
destinationRectangle | ||
sourceRectangle | ||
color | Color | |
rotation | float | |
origin | Vector2 | |
effects | SpriteEffects | |
layerDepth | float | |
Résultat | void |
public draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position ) : void | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
position | Vector2 | |
Résultat | void |
public draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, Color color ) : void | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
position | Vector2 | |
color | Color | |
Résultat | void |
public draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, |
||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
position | Vector2 | |
sourceRectangle | ||
color | Color | |
Résultat | void |
public draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, |
||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
position | Vector2 | |
sourceRectangle | ||
color | Color | |
rotation | float | |
origin | Vector2 | |
scale | Vector2 | |
effects | SpriteEffects | |
layerDepth | float | |
Résultat | void |
public draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, |
||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
position | Vector2 | |
sourceRectangle | ||
color | Color | |
rotation | float | |
origin | Vector2 | |
scale | Vector2 | |
effects | SpriteEffects | |
layerDepth | float | |
skewTopX | float | |
skewBottomX | float | |
skewLeftY | float | |
skewRightY | float | |
Résultat | void |
public draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, |
||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
position | Vector2 | |
sourceRectangle | ||
color | Color | |
rotation | float | |
origin | Vector2 | |
scale | float | |
effects | SpriteEffects | |
layerDepth | float | |
Résultat | void |
public drawPrimitives ( |
||
texture | ||
baseSprite | int | |
batchSize | int | |
Résultat | void |
public drawRaw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector3 verts, Vector2 textureCoords, Color colors ) : void | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | Texture. |
verts | Vector3 | Verts. |
textureCoords | Vector2 | Texture coords. |
colors | Color | Colors. |
Résultat | void |
public enableScissorTest ( bool shouldEnable ) : void | ||
shouldEnable | bool | Should enable. |
Résultat | void |