Diligent Engine API Reference
|
Interface to the texture object implemented in D3D11. More...
Public Member Functions | |
virtual ID3D11Resource * | GetD3D11Texture ()=0 |
Returns a pointer to the ID3D11Resource interface of the internal Direct3D11 object. More... | |
Public Member Functions inherited from Diligent::ITexture | |
virtual void | QueryInterface (const Diligent::INTERFACE_ID &IID, IObject **ppInterface)=0 |
Queries the specific interface, see IObject::QueryInterface() for details. | |
virtual const TextureDesc & | GetDesc () const =0 |
Returns the texture description used to create the object. | |
virtual void | CreateView (const struct TextureViewDesc &ViewDesc, class ITextureView **ppView)=0 |
Creates a new texture view. More... | |
virtual ITextureView * | GetDefaultView (TEXTURE_VIEW_TYPE ViewType)=0 |
Returns the pointer to the default view. More... | |
virtual void | UpdateData (class IDeviceContext *pContext, Uint32 MipLevel, Uint32 Slice, const Box &DstBox, const TextureSubResData &SubresData)=0 |
Updates the data in the texture. More... | |
virtual void | CopyData (IDeviceContext *pContext, ITexture *pSrcTexture, Uint32 SrcMipLevel, Uint32 SrcSlice, const Box *pSrcBox, Uint32 DstMipLevel, Uint32 DstSlice, Uint32 DstX, Uint32 DstY, Uint32 DstZ)=0 |
Copies data from another texture. More... | |
virtual void | Map (IDeviceContext *pContext, MAP_TYPE MapType, Uint32 MapFlags, PVoid &pMappedData)=0 |
Map the texture - not implemented yet. | |
virtual void | Unmap (IDeviceContext *pContext, MAP_TYPE MapType)=0 |
Unmap the textute - not implemented yet. | |
Public Member Functions inherited from Diligent::IObject | |
virtual Atomics::Long | AddRef ()=0 |
Increments the number of strong references by 1. More... | |
virtual Atomics::Long | Release ()=0 |
Decrements the number of strong references by 1 and destroys the object when the counter reaches zero. More... | |
virtual IReferenceCounters * | GetReferenceCounters () const =0 |
Returns the pointer to IReferenceCounters interface of the associated reference counters object. The metod does NOT increment the number of strong references to the returned object. | |
Interface to the texture object implemented in D3D11.
|
pure virtual |
Returns a pointer to the ID3D11Resource interface of the internal Direct3D11 object.
The method does NOT call AddRef() on the returned interface, so Release() must not be called.
Implemented in Diligent::TextureBaseD3D11.