Click to Rate and Give Feedback
MSDN
MSDN Library
DirectX
SDK Documentation
DirectX Graphics
Direct3D 9
Reference
Direct3D Reference
Interfaces
IDirect3DTexture9

  Switch on low bandwidth view
IDirect3DTexture9
Bb205909.XDK_CHM_BANNER_left(en-us,VS.85).jpgBb205909.XDK_CHM_BANNER_right(en-us,VS.85).jpg

IDirect3DTexture9

Applications use the methods of the IDirect3DTexture9 interface to manipulate a texture resource.

IDirect3DResource9
   IDirect3DBaseTexture9
      IDirect3DTexture9

IDirect3DTexture9 Members

MethodDescription
IDirect3DTexture9::AddDirtyRectAdds a dirty region to a texture resource.
IDirect3DTexture9::GetLevelDescRetrieves a level description of a texture resource.
IDirect3DTexture9::GetSurfaceLevelRetrieves the specified texture surface level.
IDirect3DTexture9::LockRectLocks a rectangle on a texture resource.
IDirect3DTexture9::UnlockRectUnlocks a rectangle on a texture resource.

Remarks

The IDirect3DTexture9 interface can be obtained by calling the IDirect3DDevice9::CreateTexture method or one of the D3DXCreateTexturexxx functions.

This interface inherits additional functionality from the IDirect3DBaseTexture9 interface.

This interface, like all COM interfaces, inherits from the IUnknown interface.

The LPDIRECT3DTEXTURE9 and PDIRECT3DTEXTURE9 types are defined as pointers to the IDirect3DTexture9 interface.

typedef struct IDirect3DTexture9 *LPDIRECT3DTEXTURE9, *PDIRECT3DTEXTURE9;

See Also

IDirect3DDevice9::CreateTexture, D3DXCreateTexture, D3DXCreateTextureFromFile, D3DXCreateTextureFromFileEx, D3DXCreateTextureFromFileInMemory, D3DXCreateTextureFromFileInMemoryEx, D3DXCreateTextureFromResource, D3DXCreateTextureFromResourceEx

Requirements

Header: Declared in D3D9.h.

Library: Use D3d9.lib.

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker