Torque3D Documentation / _generateds / GFXD3D11TextureObject

GFXD3D11TextureObject

Engine/source/gfx/D3D11/gfxD3D11TextureObject.h

More...

Protected Static Attributes

Protected Attributes

ID3D11Texture2D *
ID3D11Resource *
ID3D11DepthStencilView *
D3D11_BOX
bool
DXGI_MAPPED_RECT
ID3D11RenderTargetView *
ID3D11ShaderResourceView *

Public Attributes

bool

Public Functions

bool
ID3D11Texture2D *
ID3D11Texture2D **
ID3D11Texture3D *
ID3D11Texture3D **
ID3D11DepthStencilView *
ID3D11DepthStencilView **
ID3D11Resource *
ID3D11RenderTargetView *
ID3D11RenderTargetView **
ID3D11ShaderResourceView *
ID3D11ShaderResourceView **
ID3D11Texture2D *
ID3D11Texture2D **
lock(U32 mipLevel, RectI * inRect)

Acquire a lock on part of the texture.

When called the resource should restore all device sensitive information destroyed by zombify()

unlock(U32 mipLevel)

Releases a lock previously acquired.

When called the resource should destroy all device sensitive information (e.g. D3D resources in D3DPOOL_DEFAULT.

Detailed Description

Protected Static Attributes

U32 mTexCount 

Protected Attributes

ID3D11Texture2D * mD3DSurface 
ID3D11Resource * mD3DTexture 
ID3D11DepthStencilView * mDSView 
D3D11_BOX mLockBox 
bool mLocked 
U32 mLockedSubresource 
DXGI_MAPPED_RECT mLockRect 
ID3D11RenderTargetView * mRTView 
ID3D11ShaderResourceView * mSRView 
GFXTexHandle mStagingTex 

Public Attributes

bool isManaged 

Public Functions

GFXD3D11TextureObject(GFXDevice * d, GFXTextureProfile * profile)

~GFXD3D11TextureObject()

copyToBmp(GBitmap * bmp)

Reimplemented from: GFXTextureObject

get2DTex()

get2DTexPtr()

get3DTex()

get3DTexPtr()

getDSView()

getDSViewPtr()

getResource()

getRTView()

getRTViewPtr()

getSRView()

getSRViewPtr()

getSurface()

getSurfacePtr()

lock(U32 mipLevel, RectI * inRect)

Reimplemented from: GFXTextureObject

release()

resurrect()

Reimplemented from: GFXResource

unlock(U32 mipLevel)

Reimplemented from: GFXTextureObject

zombify()

Reimplemented from: GFXResource