LockedRect Struct Reference
 
 
 
LockedRect Struct Reference

#include <TextureHandle.h>

Inheritance diagram for LockedRect:
MaxHeapOperators

Class Description

Defines a rectangular region that has been locked by a call to TextureHandle::LockRect().

If a RECT was provided to the LockRect call, pBits will be appropriately offset from the start of the texture resource.

Public Attributes

long  pitch
  Number of bytes in one row of the texture resource.
unsigned char *  pBits
  Pointer to the locked bits.

Member Data Documentation

long pitch

Number of bytes in one row of the texture resource.

unsigned char* pBits

Pointer to the locked bits.