Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

What's the simplest way to draw a rectangular outline without generating the texture?

$
0
0

@darthdeus wrote:

I'm looking for a simple way to draw a rectangular border/outline, or just a simple line, without having to either generate a texture first. I've seen people draw "pixel by pixel" using a texture, which seems horrible.

I do have some experience with OpenGL, so I kind of know how I would use this by using OpenTK directly, but I'm not sure if that's a good practice? Is there some MonoGame specific API that allows access for primitive drawing?

Posts: 5

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles