RendererTexture.lock

Use this function to lock a portion of the texture for write-only pixel access. Returns the pixel data of given area. If area is null, the whole pixel data returns.

struct RendererTexture
void*
lock
(
out int pitch
,
const ShortRect* area = null
)

Meta