PixelControlLayer
(GraphicsDevice
)
PixelControlLayer
(GraphicsDevice
, int
, int
)
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. |
Definition | Summary |
---|---|
void Draw (SpriteBatch spriteBatch ) |
Draws texture using spritebatch |
void ClearBuffer () |
Shorthand for clearing buffer |