- Begin
void Begin()
Begin begins the spritebatch, setting up sorting modes, blend states and sampling.
Begin also attaches a custom shader (if chosen) and sets the camera/view matrix.
- Begin
void Begin(SpriteSorting sortMode, Blending blendState, Sampling sampleState, RasterizerState rasterState, Shader shader, Matrix4x4 matrix)
Begin begins the spritebatch, setting up sorting modes, blend states and sampling.
Begin also attaches a custom shader (if chosen) and sets the camera/view matrix.
- Begin
void Begin(SpriteSorting sortMode, Blending blendState, Sampling sampleState, RasterizerState rasterState, Shader shader, Camera camera)
Begin begins the spritebatch, setting up sorting modes, blend states and sampling.
Begin also attaches a custom shader (if chosen) and sets the camera/view matrix.
- Begin
void Begin(SpriteSorting sortMode, Blending blendState, Sampling sampleState, RasterizerState rasterState, ProjectionState pstate, Shader shader, Camera camera)
Undocumented in source. Be warned that the author may not have intended to support it.
- BeginString
void BeginString(SpriteFont font, Shader textShader)
- Draw
void Draw(Texture2D texture, T pos, Y cutout, Color color, SpriteFlip flip, float zlayer)
Undocumented in source. Be warned that the author may not have intended to support it.
- Draw
void Draw(Texture2D texture, T pos, Y cutout, float rotation, Vector2 origin, Color color, SpriteFlip flip, float zlayer)
Undocumented in source. Be warned that the author may not have intended to support it.
- Draw
void Draw(polyplex.core.render.Framebuffer buffer, T pos, Y cutout, Color color, SpriteFlip flip, float zlayer)
Undocumented in source. Be warned that the author may not have intended to support it.
- Draw
void Draw(polyplex.core.render.Framebuffer buffer, T pos, Y cutout, float rotation, Vector2 origin, Color color, SpriteFlip flip, float zlayer)
Undocumented in source. Be warned that the author may not have intended to support it.
- DrawChar
Vector2 DrawChar(SpriteFont font, dchar character, Vector2 position, Color color, float scale, float zlayer)
Draws a single character, returns the spot for the next character to be drawn
- DrawString
void DrawString(SpriteFont font, dstring text, Vector2 position, Color color, float scale, float zlayer, Shader textShader)
- DrawString
void DrawString(SpriteFont font, string utf8text, Vector2 position, Color color, float scale, float zlayer, Shader textShader)
- DrawString
void DrawString(SpriteFont font, wstring utf16text, Vector2 position, Color color, float scale, float zlayer, Shader textShader)
- End
void End()
Undocumented in source. Be warned that the author may not have intended to support it.
- EndString
void EndString()
- Flush
void Flush()
Undocumented in source. Be warned that the author may not have intended to support it.
- SwapChain
void SwapChain()
Undocumented in source. Be warned that the author may not have intended to support it.