Search Issue Tracker

Fixed in 4.5.X

Votes

0

Found in

4.3.3b1

Issue ID

584597

Regression

No

Camera.Render doc missing call to Texture2D.Apply

The code sample for Camera.Render doesn't have a call to Texture2D.Apply after Texture2D.ReadPixels which can be confusing for anyone who tries to cut and paste that code.

It's not obvious that Texture2D.ReadPixels necessitates a call to Apply since it's not explicitly mentioned in the ReadPixels doc, either (although it is called in that code sample) and the Texture2D.Apply doc only mentions SetPixel and SetPixels.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.