Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 1.98 KB

PixelControlLayer.md

File metadata and controls

20 lines (15 loc) · 1.98 KB

ThePigeonGenerator.MonoGame.Render.PixelControlLayer

PixelControlLayer(GraphicsDevice) PixelControlLayer(GraphicsDevice, int, int)

fields

Definition Summary
readonly Texture2D texture the buffer as a texture for drawing.
readonly Color[] buffer stores the state of each pixel as an array.
readonly int Width shorthand to get the texture's width.
readonly int Height shorthand to get the texture's height.

methods

Definition Summary
void Draw(SpriteBatch spriteBatch) Draws texture using spritebatch
void ClearBuffer() Shorthand for clearing buffer