Cogs.Core
|
Public Member Functions | |
virtual void | annotate (RenderTargetHandle, const StringView &) override |
Associate a name with an object for use in graphics debugging. | |
virtual void | annotate (DepthStencilHandle, const StringView &) override |
Associate a name with an object for use in graphics debugging. | |
virtual RenderTargetHandle | createRenderTarget (const RenderTargetViewDescription *, const size_t) override |
Create a render target using the given view descriptions. | |
virtual void | releaseRenderTarget (RenderTargetHandle renderTargetHandle) override |
Release the render target with the given renderTargetHandle. | |
virtual DepthStencilHandle | createDepthStencilTarget (const RenderTargetHandle) override |
Creates a depth/stencil target to back the render target with the given handle. | |
virtual DepthStencilHandle | createDepthStencilTarget (const RenderTargetHandle, const TextureHandle) override |
Creates a depth/stencil target to back the render target with the given handle. | |
virtual DepthStencilHandle | createDepthStencilTarget (const RenderTargetHandle, const DepthStencilViewDescription &) override |
Creates a depth stencil view using the given description. | |
virtual void | releaseDepthStencilTarget (DepthStencilHandle depthStencilHandle) override |
Release the depth target with the given depthStencilHandle. | |
virtual DepthStencilStateHandle | loadDepthStencilState (const DepthStencilState &depthStencilState) override |
Load a depth stencil state object. | |
virtual void | releaseDepthStencilState (DepthStencilStateHandle depthStencilStateHandle) override |
Release the depth stencil state with the given handle. | |
virtual RasterizerStateHandle | loadRasterizerState (const RasterizerState &rasterizerState) override |
Load a rasterizer state object. | |
virtual void | releaseRasterizerState (RasterizerStateHandle rasterizerStateHandle) override |
Release the rasterizer state with the given handle. | |
virtual BlendStateHandle | loadBlendState (const BlendState &blendState) override |
Load a blend state object. | |
virtual BlendStateHandle | loadBlendState (const BlendState &, const BlendState &) override |
Load a blend state object with separate blending for alpha channel. | |
virtual BlendStateHandle | loadBlendState (const BlendState &, const BlendState &, const uint32_t) override |
virtual BlendStateHandle | loadBlendState (const BlendState *, const BlendState *, const uint32_t, const uint32_t) override |
virtual void | releaseBlendState (BlendStateHandle blendStateHandle) override |
Release the blend state with the given handle. | |
virtual void | releaseResources () override |
Release all allocated render target resources. | |
![]() | |
virtual void | annotate (RenderTargetHandle handle, const StringView &name) |
Associate a name with an object for use in graphics debugging. | |
virtual void | annotate (DepthStencilHandle handle, const StringView &name) |
Associate a name with an object for use in graphics debugging. | |
virtual RenderTargetHandle | createRenderTarget (TextureHandle textureHandle) |
Create a render target using the given texture to render into. | |
virtual RenderTargetHandle | createRenderTarget (TextureHandle *textureHandles, const size_t numTextureHandles) |
Create a multi render target (MRT) with using the given textures to render into. | |
virtual RenderTargetHandle | createRenderTarget (const RenderTargetViewDescription *renderTargetViews, const size_t numViews)=0 |
Create a render target using the given view descriptions. | |
virtual RenderTargetHandle | createRenderTarget (const RenderTargetViewDescription *, const size_t, const MultiViewDescription &) |
virtual void | releaseRenderTarget (RenderTargetHandle renderTargetHandle)=0 |
Release the render target with the given renderTargetHandle. | |
virtual DepthStencilHandle | createDepthStencilTarget (const RenderTargetHandle handle)=0 |
Creates a depth/stencil target to back the render target with the given handle. | |
virtual DepthStencilHandle | createDepthStencilTarget (const RenderTargetHandle handle, const TextureHandle textureHandle)=0 |
Creates a depth/stencil target to back the render target with the given handle. | |
virtual DepthStencilHandle | createDepthStencilTarget (const RenderTargetHandle handle, const DepthStencilViewDescription &depthStencilView)=0 |
Creates a depth stencil view using the given description. | |
virtual DepthStencilHandle | createDepthStencilTarget (const RenderTargetHandle, const DepthStencilViewDescription &, const MultiViewDescription &) |
virtual void | releaseDepthStencilTarget (DepthStencilHandle depthStencilHandle)=0 |
Release the depth target with the given depthStencilHandle. | |
virtual DepthStencilStateHandle | loadDepthStencilState (const DepthStencilState &depthStencilState)=0 |
Load a depth stencil state object. | |
virtual void | releaseDepthStencilState (DepthStencilStateHandle handle)=0 |
Release the depth stencil state with the given handle. | |
virtual RasterizerStateHandle | loadRasterizerState (const RasterizerState &rasterizerState)=0 |
Load a rasterizer state object. | |
virtual void | releaseRasterizerState (RasterizerStateHandle handle)=0 |
Release the rasterizer state with the given handle. | |
virtual BlendStateHandle | loadBlendState (const BlendState &blendState)=0 |
Load a blend state object. | |
virtual BlendStateHandle | loadBlendState (const BlendState &blendStateColor, const BlendState &blendStateAlpha) |
Load a blend state object with separate blending for alpha channel. | |
virtual BlendStateHandle | loadBlendState (const BlendState &blendStateColor, const BlendState &blendStateAlpha, const uint32_t flags) |
virtual BlendStateHandle | loadBlendState (const BlendState *blendStateColor, const BlendState *blendStateAlpha, const uint32_t numBlendStates, const uint32_t flags) |
virtual void | releaseBlendState (BlendStateHandle handle)=0 |
Release the blend state with the given handle. | |
virtual void | releaseResources ()=0 |
Release all allocated render target resources. | |
Definition at line 6 of file RenderTargetsNull.h.
|
inlineoverridevirtual |
Associate a name with an object for use in graphics debugging.
Reimplemented from Cogs::IRenderTargets.
Definition at line 9 of file RenderTargetsNull.h.
|
inlineoverridevirtual |
Associate a name with an object for use in graphics debugging.
Reimplemented from Cogs::IRenderTargets.
Definition at line 8 of file RenderTargetsNull.h.
|
inlineoverridevirtual |
Creates a depth/stencil target to back the render target with the given handle.
The dimensions of the render target are matched and a suitable depth format for the graphics device is chosen.
handle | Valid handle to a render target to create depth target backing for. |
Implements Cogs::IRenderTargets.
Definition at line 19 of file RenderTargetsNull.h.
|
inlineoverridevirtual |
Creates a depth stencil view using the given description.
handle | Valid handle to a render target to create depth target backing for. |
depthStencilView | Depth stencil view description. |
Implements Cogs::IRenderTargets.
Definition at line 27 of file RenderTargetsNull.h.
|
inlineoverridevirtual |
Creates a depth/stencil target to back the render target with the given handle.
The texture with the given textureHandle is used as backing for the depth target. The texture must be of a format that supports depth values, and be flagged for use as a depth texture.
handle | Valid handle to a render target to create depth target backing for. |
textureHandle | Valid handle to a texture to use as backing to render depth values to. |
Implements Cogs::IRenderTargets.
Definition at line 23 of file RenderTargetsNull.h.
|
inlineoverridevirtual |
Create a render target using the given view descriptions.
renderTargetViews | Pointer to an array of render target view descriptions. |
numViews | Number of views in the array pointed to by renderTargetViews. |
Implements Cogs::IRenderTargets.
Definition at line 11 of file RenderTargetsNull.h.
|
inlineoverridevirtual |
Load a blend state object with separate blending for alpha channel.
blendStateColor | Blend state object for the color channels to load. |
blendStateAlpha | Blend state object for the alpha channel to load. |
Reimplemented from Cogs::IRenderTargets.
Definition at line 55 of file RenderTargetsNull.h.
|
inlineoverridevirtual |
Reimplemented from Cogs::IRenderTargets.
Definition at line 59 of file RenderTargetsNull.h.
|
inlineoverridevirtual |
Load a blend state object.
blendState | Blend state object to load. |
Implements Cogs::IRenderTargets.
Definition at line 51 of file RenderTargetsNull.h.
|
inlineoverridevirtual |
Reimplemented from Cogs::IRenderTargets.
Definition at line 63 of file RenderTargetsNull.h.
|
inlineoverridevirtual |
Load a depth stencil state object.
depthStencilState | Depth stencil state object to load. |
Implements Cogs::IRenderTargets.
Definition at line 35 of file RenderTargetsNull.h.
|
inlineoverridevirtual |
Load a rasterizer state object.
rasterizerState | Rasterizer state object to load. |
Implements Cogs::IRenderTargets.
Definition at line 43 of file RenderTargetsNull.h.
|
inlineoverridevirtual |
Release the blend state with the given handle.
handle | Valid handle to a blend state object. |
Implements Cogs::IRenderTargets.
Definition at line 67 of file RenderTargetsNull.h.
References Cogs::Handle_t< Type, Convertible >::handle.
|
inlineoverridevirtual |
Release the depth stencil state with the given handle.
handle | Valid handle to a depth stencil state object. |
Implements Cogs::IRenderTargets.
Definition at line 39 of file RenderTargetsNull.h.
References Cogs::Handle_t< Type, Convertible >::handle.
|
inlineoverridevirtual |
Release the depth target with the given depthStencilHandle.
depthStencilHandle | Valid handle to a previously created depth/stencil target. |
Implements Cogs::IRenderTargets.
Definition at line 31 of file RenderTargetsNull.h.
References Cogs::Handle_t< Type, Convertible >::handle.
|
inlineoverridevirtual |
Release the rasterizer state with the given handle.
handle | Valid handle to a rasterizer state object. |
Implements Cogs::IRenderTargets.
Definition at line 47 of file RenderTargetsNull.h.
References Cogs::Handle_t< Type, Convertible >::handle.
|
inlineoverridevirtual |
Release the render target with the given renderTargetHandle.
renderTargetHandle | Valid handle to a previously created render target. |
Implements Cogs::IRenderTargets.
Definition at line 15 of file RenderTargetsNull.h.
References Cogs::Handle_t< Type, Convertible >::handle.
|
inlineoverridevirtual |
Release all allocated render target resources.
Implements Cogs::IRenderTargets.
Definition at line 71 of file RenderTargetsNull.h.