Scene renderer interface. More...
#include <RadientRenderer.h>
Public Member Functions | |
| virtual const RadientRendererDesc &DILIGENT_CALL_TYPE | GetDesc () const =0 |
| Returns the renderer description. | |
| virtual RADIENT_STATUS DILIGENT_CALL_TYPE | CreateRenderTarget (const RadientRenderTargetDesc &Desc, IRadientRenderTarget **ppTarget)=0 |
| Creates a render target. | |
| virtual RADIENT_STATUS DILIGENT_CALL_TYPE | CreateView (const RadientViewDesc &Desc, IRadientView **ppView)=0 |
| Creates a persistent render view. | |
| virtual RADIENT_STATUS DILIGENT_CALL_TYPE | BeginFrame (const RadientFrameAttribs &Attribs)=0 |
| virtual RADIENT_STATUS DILIGENT_CALL_TYPE | Render (const RadientRenderAttribs &Attribs)=0 |
| virtual RADIENT_STATUS DILIGENT_CALL_TYPE | EndFrame ()=0 |
| Ends the current application render frame. | |
| Public Member Functions inherited from Diligent.IObject | |
| virtual void DILIGENT_CALL_TYPE | QueryInterface (const INTERFACE_ID &IID, IObject **ppInterface)=0 |
| Queries the specific interface. | |
| template<typename DerivedType, typename = typename std::enable_if<std::is_base_of<IObject, DerivedType>::value>::type> | |
| void | QueryInterface (const INTERFACE_ID &IID, DerivedType **ppInterface) |
| virtual ReferenceCounterValueType DILIGENT_CALL_TYPE | AddRef ()=0 |
| Increments the number of strong references by 1. | |
| virtual ReferenceCounterValueType DILIGENT_CALL_TYPE | Release ()=0 |
| virtual IReferenceCounters *DILIGENT_CALL_TYPE | GetReferenceCounters () const =0 |
Scene renderer interface.
|
pure virtual |
Begins an application render frame.
Zero or more views may be rendered before EndFrame() is called. Frames may not be nested. After this method succeeds, EndFrame() must be called regardless of the status returned by Render().
|
pure virtual |
Renders one view in the current application frame. Returns RADIENT_STATUS_PENDING when the view is rendered with ready content while renderer-specific drawable resources are still being prepared asynchronously. BeginFrame() must have succeeded before this method is called.