|
virtual void | QueryInterface (const Diligent::INTERFACE_ID &IID, IObject **ppInterface) override |
| Queries the specific interface, see IObject::QueryInterface() for details.
|
|
virtual void | Map (IDeviceContext *pContext, Uint32 Subresource, MAP_TYPE MapType, Uint32 MapFlags, MappedTextureSubresource &MappedData) override |
| Base implementaiton of ITexture::Map()
|
|
virtual void | Unmap (IDeviceContext *pContext, Uint32 Subresource, MAP_TYPE MapType, Uint32 MapFlags) override |
| Base implementaiton of ITexture::Unmap()
|
|
virtual GLenum | GetBindTarget () const override final |
| Returns bind target of the native OpenGL texture.
|
|
virtual void | CopyData (IDeviceContext *pContext, ITexture *pSrcTexture, Uint32 SrcMipLevel, Uint32 SrcSlice, const Box *pSrcBox, Uint32 DstMipLevel, Uint32 DstSlice, Uint32 DstX, Uint32 DstY, Uint32 DstZ) override |
| Base implementaiton of ITexture::CopyData(); validates input parameters.
|
|
virtual GLuint | GetGLTextureHandle () override final |
| Returns OpenGL texture handle.
|
|
virtual void * | GetNativeHandle () override final |
| Returns native texture handle specific to the underlying graphics API. More...
|
|
| TextureBase (IReferenceCounters *pRefCounters, FixedBlockMemoryAllocator &TexViewObjAllocator, IRenderDevice *pDevice, const TextureDesc &Desc, bool bIsDeviceInternal=false) |
|
virtual void | CreateView (const struct TextureViewDesc &ViewDesc, ITextureView **ppView) override |
| Implementaiton of ITexture::CreateView(); calls CreateViewInternal() virtual function that creates texture view for the specific engine implementation.
|
|
virtual void | UpdateData (IDeviceContext *pContext, Uint32 MipLevel, Uint32 Slice, const Box &DstBox, const TextureSubResData &SubresData) override=0 |
| Base implementaiton of ITexture::UpdateData(); validates input parameters.
|
|
void | CreateDefaultViews () |
| Creates default texture views. More...
|
|
| DeviceObjectBase (IReferenceCounters *pRefCounters, IRenderDevice *pDevice, const TextureDesc &ObjDesc, bool bIsDeviceInternal=false) |
|
virtual const TextureDesc & | GetDesc () const override final |
|
UniqueIdentifier | GetUniqueID () const |
| Returns unique identifier. More...
|
|
virtual void | QueryInterface (const INTERFACE_ID &IID, IObject **ppInterface)=0 |
| Queries the specific interface, see IObject::QueryInterface() for details.
|
|
Base implementation of the Diligent::ITextureGL interface.