1
Graphics / Drawing Outside of RenderTexture
« on: May 15, 2019, 06:34:16 pm »
I know the documentation states that using SetPixel outside of an Image is undefined. What about drawing shapes on a RenderTexture? The Draw documentation doesn't mention this, that I've found. This is broken up into two questions then, because I'm drawing a thick line to a RenderTexture:
1. Must the beginning and end points of a line be inside the RenderTexture?
2. Must all pixels of a thick line be inside the RenderTexture?
Unlike SetPixel on an Image, I haven't had the program crash on me yet for drawing outside the RenderTarget but I'd like to know for sure.
Thank you.
1. Must the beginning and end points of a line be inside the RenderTexture?
2. Must all pixels of a thick line be inside the RenderTexture?
Unlike SetPixel on an Image, I haven't had the program crash on me yet for drawing outside the RenderTarget but I'd like to know for sure.
Thank you.