|
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, Uint32 Subresource, MAP_TYPE MapType, Uint32 MapFlags, MappedTextureSubresource &MappedData)=0 |
| Map the texture - not implemented yet.
|
|
virtual void | Unmap (IDeviceContext *pContext, Uint32 Subresource, MAP_TYPE MapType, Uint32 MapFlags)=0 |
| Unmap the textute - not implemented yet.
|
|
virtual void * | GetNativeHandle ()=0 |
| Returns native texture handle specific to the underlying graphics API. More...
|
|
virtual void | QueryInterface (const INTERFACE_ID &IID, IObject **ppInterface)=0 |
| Queries the specific interface, see IObject::QueryInterface() for details.
|
|
virtual void Diligent::ITexture::CopyData |
( |
IDeviceContext * |
pContext, |
|
|
ITexture * |
pSrcTexture, |
|
|
Uint32 |
SrcMipLevel, |
|
|
Uint32 |
SrcSlice, |
|
|
const Box * |
pSrcBox, |
|
|
Uint32 |
DstMipLevel, |
|
|
Uint32 |
DstSlice, |
|
|
Uint32 |
DstX, |
|
|
Uint32 |
DstY, |
|
|
Uint32 |
DstZ |
|
) |
| |
|
pure virtual |
Copies data from another texture.
- Parameters
-
[in] | pContext | - Pointer to the device context interface to be used to perform the operation. |
[in] | pSrcTexture | - Source texture for the copy operation |
[in] | SrcMipLevel | - Mip level of the source texture to copy data from. |
[in] | SrcSlice | - Array slice of the source texture to copy data from. Should be 0 for non-array textures. |
[in] | pSrcBox | - Source region to copy. Use nullptr to copy the entire subresource. |
[in] | DstMipLevel | - Mip level to copy data to. |
[in] | DstSlice | - Array slice to copy data to. Must be 0 for non-array textures. |
[in] | DstX | - X offset on the destination subresource |
[in] | DstY | - Y offset on the destination subresource |
[in] | DstZ | - Z offset on the destination subresource |
Implemented in Diligent::TextureBase< ITextureD3D12, TextureViewD3D12Impl, FixedBlockMemoryAllocator >, Diligent::TextureBase< ITextureGL, TextureViewGLImpl, FixedBlockMemoryAllocator >, Diligent::TextureBase< ITextureD3D11, TextureViewD3D11Impl, FixedBlockMemoryAllocator >, Diligent::TextureBaseGL, Diligent::TextureD3D12Impl, and Diligent::TextureBaseD3D11.