메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
메소드 | 설명 | |
---|---|---|
DrawString ( |
||
checkBegin ( ) : void | ||
generateIndexArray ( ) : short[] | ||
pushSprite ( Microsoft.Xna.Framework.Graphics.Texture2D texture, |
public Batcher ( GraphicsDevice graphicsDevice ) : System | ||
graphicsDevice | GraphicsDevice | |
리턴 | System |
public begin ( |
||
blendState | ||
리턴 | void |
public begin ( |
||
blendState | ||
samplerState | ||
depthStencilState | ||
rasterizerState | ||
리턴 | void |
public begin ( |
||
blendState | ||
samplerState | ||
depthStencilState | ||
rasterizerState | ||
effect | ||
리턴 | void |
public begin ( |
||
blendState | ||
samplerState | ||
depthStencilState | ||
rasterizerState | ||
effect | ||
transformationMatrix | Matrix | |
리턴 | void |
public begin ( |
||
blendState | ||
samplerState | ||
depthStencilState | ||
rasterizerState | ||
effect | ||
transformationMatrix | Matrix | |
disableBatching | bool | |
리턴 | void |
public begin ( |
||
effect | ||
리턴 | void |
public begin ( Material material, Matrix transformationMatrix ) : void | ||
material | Material | |
transformationMatrix | Matrix | |
리턴 | void |
public begin ( Matrix transformationMatrix ) : void | ||
transformationMatrix | Matrix | |
리턴 | void |
public draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, |
||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
destinationRectangle | ||
리턴 | void |
public draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, |
||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
destinationRectangle | ||
color | Color | |
리턴 | void |
public draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, |
||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
destinationRectangle | ||
sourceRectangle | ||
color | Color | |
리턴 | 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 | |
리턴 | 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 | |
리턴 | void |
public draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position ) : void | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
position | Vector2 | |
리턴 | void |
public draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, Color color ) : void | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
position | Vector2 | |
color | Color | |
리턴 | void |
public draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, |
||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
position | Vector2 | |
sourceRectangle | ||
color | Color | |
리턴 | 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 | |
리턴 | 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 | |
리턴 | 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 | |
리턴 | void |
public drawPrimitives ( |
||
texture | ||
baseSprite | int | |
batchSize | int | |
리턴 | 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. |
리턴 | void |
public enableScissorTest ( bool shouldEnable ) : void | ||
shouldEnable | bool | Should enable. |
리턴 | void |