unsafe IDirect3DBaseTexture9 * GetComPtr()
static unsafe void GetAndValidateRect(_D3DSURFACE_DESC *__unnamed000, uint *pdwLockWidth, uint *pdwLockHeight, Rectangle? rect)
static unsafe void CopyData< T >(void *pData, int pitch, T[] data, int dataIndex, int elementCount, _D3DSURFACE_DESC *pSurface, uint dwLockWidth, uint dwLockHeight, [MarshalAs(UnmanagedType.U1)] bool isSetting)
bool renderTargetContentsDirty
static unsafe void GetAndValidateSizes< T >(_D3DSURFACE_DESC *pSurface, uint *pdwFormatSize, uint *pdwElementSize)
static bool IsPowerOfTwo(uint dwNumber)
unsafe StateTrackerTexture * pStateTracker
static unsafe void SwapBgr(void *pDest, void *pSrc, uint dwSize)
static unsafe void ValidateTotalSize(_D3DSURFACE_DESC *__unnamed000, uint dwLockWidth, uint dwLockHeight, uint dwFormatSize, uint dwElementSize, uint elementCount)
unsafe int CompareTo(Texture other)
bool isActiveRenderTarget
static byte GetExpectedByteSizeFromFormat(_D3DFORMAT format)
unsafe void InitializeDescription(SurfaceFormat format)
unsafe int CreateStateWrapper()
static bool CheckCompressedTexture(_D3DFORMAT format)