Timeline for How does Texture2D.GetData return coloured pixels?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 28, 2014 at 10:30 | comment | added | Seta | Its a generic, so it returns an array of objects of the specified type. msdn.microsoft.com/en-us/library/bb197089.aspx | |
Aug 28, 2014 at 10:04 | vote | accept | Scott | ||
Aug 28, 2014 at 9:39 | comment | added | RamblingMad |
Im not an xna developer, but does GetData return an array of 'pixels' or an array of bytes?
|
|
Aug 28, 2014 at 7:10 | answer | added | Seta | timeline score: 2 | |
Aug 28, 2014 at 7:00 | comment | added | Nathan Reed |
Try i*width + j
|
|
Aug 28, 2014 at 6:57 | history | asked | Scott | CC BY-SA 3.0 |