Original Post
🔒 Locked
simple fill Rect
Advertisement
Simplest way to do it is probably to just draw 2 triangles in screenspace. Basically the same way its done in Tutorial 2 from the SDK. Set the colors of the vertices to whatever you want and render it.
The only way to do it without using vertices at all would be to lock the actual backbuffer and fill in the pixels yourself. You'd have to create a backbuffer which is lockable (performance hit) and then lock the sections you need during rendering and fill them yourself (large performance hit).
neneboricua
The only way to do it without using vertices at all would be to lock the actual backbuffer and fill in the pixels yourself. You'd have to create a backbuffer which is lockable (performance hit) and then lock the sections you need during rendering and fill them yourself (large performance hit).
neneboricua
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement