A resizable rectangle containing a texture.
Sets the current transformation matrix and draws this onto the target.
Sets the new size and creates a new mesh after disposing the old mesh.
Abstract draw function called from IRenderTarget.
Property holding the assigned texture.
auto rect = new RectangleShape(); rect.setSize(vec2(100, 50)); // 100x50 px window.draw(rect);
See Implementation
A resizable rectangle containing a texture.