diff options
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/interface/DeviceContext.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngine/interface/DeviceContext.h b/Graphics/GraphicsEngine/interface/DeviceContext.h index 79f8bd39..f0c4acf5 100644 --- a/Graphics/GraphicsEngine/interface/DeviceContext.h +++ b/Graphics/GraphicsEngine/interface/DeviceContext.h @@ -609,6 +609,16 @@ struct CopyTextureAttribs }; typedef struct CopyTextureAttribs CopyTextureAttribs; + +/// BeginRenderPass command attributes. + +/// This structure is used by IDeviceContext::BeginRenderPass(). +struct BeginRenderPassAttribs +{ + int TBD; +}; +typedef struct BeginRenderPassAttribs BeginRenderPassAttribs; + #define DILIGENT_INTERFACE_NAME IDeviceContext #include "../../../Primitives/interface/DefineInterfaceHelperMacros.h" @@ -864,6 +874,21 @@ DILIGENT_BEGIN_INTERFACE(IDeviceContext, IObject) RESOURCE_STATE_TRANSITION_MODE StateTransitionMode) PURE; + /// Begins a new render pass. + + /// \param [in] Attribs - The command attributes, see Diligent::BeginRenderPassAttribs for details. + VIRTUAL void METHOD(BeginRenderPass)(THIS_ + const BeginRenderPassAttribs REF Attribs) PURE; + + + /// Transitions to the next subpass in the render pass instance. + VIRTUAL void METHOD(NextSubpass)(THIS) PURE; + + + /// Ends current render pass. + VIRTUAL void METHOD(EndRenderPass)(THIS) PURE; + + /// Executes a draw command. /// \param [in] Attribs - Draw command attributes, see Diligent::DrawAttribs for details. |
