|
| DeviceContextBase (IReferenceCounters *pRefCounters, DeviceImplType *pRenderDevice, const DeviceContextDesc &Desc) |
|
virtual const DeviceContextDesc &DILIGENT_CALL_TYPE | GetDesc () const override final |
| Implementation of IDeviceContext::GetDesc().
|
|
virtual void DILIGENT_CALL_TYPE | SetRenderTargets (Uint32 NumRenderTargets, ITextureView *ppRenderTargets[], ITextureView *pDepthStencil, RESOURCE_STATE_TRANSITION_MODE StateTransitionMode) override final |
| Implementation of IDeviceContext::SetRenderTargets().
|
|
virtual void DILIGENT_CALL_TYPE | SetVertexBuffers (Uint32 StartSlot, Uint32 NumBuffersSet, IBuffer *const *ppBuffers, const Uint64 *pOffsets, RESOURCE_STATE_TRANSITION_MODE StateTransitionMode, SET_VERTEX_BUFFERS_FLAGS Flags) override=0 |
|
void | CommitShaderResources (IShaderResourceBinding *pShaderResourceBinding, RESOURCE_STATE_TRANSITION_MODE StateTransitionMode, int) |
| Base implementation of IDeviceContext::CommitShaderResources(); validates parameters.
|
|
virtual void DILIGENT_CALL_TYPE | SetIndexBuffer (IBuffer *pIndexBuffer, Uint64 ByteOffset, RESOURCE_STATE_TRANSITION_MODE StateTransitionMode) override=0 |
| Base implementation of IDeviceContext::SetIndexBuffer(); caches the strong reference to the index buffer.
|
|
void | SetViewports (Uint32 NumViewports, const Viewport *pViewports, Uint32 &RTWidth, Uint32 &RTHeight) |
| Caches the viewports.
|
|
void | SetScissorRects (Uint32 NumRects, const Rect *pRects, Uint32 &RTWidth, Uint32 &RTHeight) |
| Caches the scissor rects.
|
|
virtual void DILIGENT_CALL_TYPE | UpdateBuffer (IBuffer *pBuffer, Uint64 Offset, Uint64 Size, const void *pData, RESOURCE_STATE_TRANSITION_MODE StateTransitionMode) override=0 |
| Base implementation of IDeviceContext::UpdateBuffer(); validates input parameters.
|
|
virtual void DILIGENT_CALL_TYPE | CopyBuffer (IBuffer *pSrcBuffer, Uint64 SrcOffset, RESOURCE_STATE_TRANSITION_MODE SrcBufferTransitionMode, IBuffer *pDstBuffer, Uint64 DstOffset, Uint64 Size, RESOURCE_STATE_TRANSITION_MODE DstBufferTransitionMode) override=0 |
| Base implementation of IDeviceContext::CopyBuffer(); validates input parameters.
|
|
virtual void DILIGENT_CALL_TYPE | MapBuffer (IBuffer *pBuffer, MAP_TYPE MapType, MAP_FLAGS MapFlags, PVoid &pMappedData) override=0 |
| Base implementation of IDeviceContext::MapBuffer(); validates input parameters.
|
|
virtual void DILIGENT_CALL_TYPE | UnmapBuffer (IBuffer *pBuffer, MAP_TYPE MapType) override=0 |
| Base implementation of IDeviceContext::UnmapBuffer()
|
|
virtual void DILIGENT_CALL_TYPE | UpdateTexture (ITexture *pTexture, Uint32 MipLevel, Uint32 Slice, const Box &DstBox, const TextureSubResData &SubresData, RESOURCE_STATE_TRANSITION_MODE SrcBufferTransitionMode, RESOURCE_STATE_TRANSITION_MODE TextureTransitionMode) override=0 |
| Base implementation of IDeviceContext::UpdateData(); validates input parameters.
|
|
virtual void DILIGENT_CALL_TYPE | CopyTexture (const CopyTextureAttribs &CopyAttribs) override=0 |
| Base implementation of IDeviceContext::CopyTexture(); validates input parameters.
|
|
virtual void DILIGENT_CALL_TYPE | MapTextureSubresource (ITexture *pTexture, Uint32 MipLevel, Uint32 ArraySlice, MAP_TYPE MapType, MAP_FLAGS MapFlags, const Box *pMapRegion, MappedTextureSubresource &MappedData) override=0 |
| Base implementation of IDeviceContext::MapTextureSubresource()
|
|
virtual void DILIGENT_CALL_TYPE | UnmapTextureSubresource (ITexture *pTexture, Uint32 MipLevel, Uint32 ArraySlice) override=0 |
| Base implementation of IDeviceContext::UnmapTextureSubresource()
|
|
virtual void DILIGENT_CALL_TYPE | SetUserData (IObject *pUserData) override final |
| Implementation of IDeviceContext::SetUserData.
|
|
virtual IObject *DILIGENT_CALL_TYPE | GetUserData () const override final |
| Implementation of IDeviceContext::GetUserData.
|
|
virtual void DILIGENT_CALL_TYPE | DispatchTile (const DispatchTileAttribs &Attribs) override |
| Base implementation of IDeviceContext::DispatchTile.
|
|
virtual void DILIGENT_CALL_TYPE | GetTileSize (Uint32 &TileSizeX, Uint32 &TileSizeY) override |
| Base implementation of IDeviceContext::GetTileSize.
|
|
void | GetPipelineState (IPipelineState **ppPSO, float *BlendFactors, Uint32 &StencilRef) |
| Returns currently bound pipeline state and blend factors.
|
|
void | GetRenderTargets (Uint32 &NumRenderTargets, ITextureView **ppRTVs, ITextureView **ppDSV) |
| Returns currently bound render targets.
|
|
void | GetViewports (Uint32 &NumViewports, Viewport *pViewports) |
| Returns currently set viewports.
|
|
IRenderDevice * | GetDevice () |
| Returns the render device.
|
|
bool | UnbindTextureFromFramebuffer (TextureImplType *pTexture, bool bShowMessage) |
|
template<typename EngineImplTraits>
class Diligent::DeviceContextBase< EngineImplTraits >
Base implementation of the device context.
- Template Parameters
-
EngineImplTraits | - Engine implementation traits that define specific implementation details (texture implementation type, buffer implementation type, etc.) |