RenderTexture.isPowerOfTwo Manual     Reference     Scripting  
Scripting > Runtime Classes > RenderTexture

var isPowerOfTwo : bool


Is the size of the render texture constrained to power of two sizes?

When creating image post-processing effects, you should always set this to false because that allows matching the RenderTexture size to arbitrary screen size.

When using the RenderTexture for regular materials and shaders you should always set this to true because that allows using a RenderTexture just like any ordinary texture.