buffer - A locked graphics buffer handle |
Returns the pitch of a locked graphics buffer.
The pitch is the difference, in bytes, between one row of pixels and the next. This value should be used to calculate pixel postions when directly peeking or poking to the buffer. |