Bounding box renderer. More...
#include <BoundBoxRenderer.hpp>
Classes | |
struct | CreateInfo |
Bound box renderer creation info. More... | |
struct | RenderAttribs |
Render attributes. More... | |
Public Types | |
enum | OPTION_FLAGS : Uint32 { OPTION_FLAG_NONE = 0u , OPTION_FLAG_CONVERT_OUTPUT_TO_SRGB = 1u << 0u , OPTION_FLAG_COMPUTE_MOTION_VECTORS = 1u << 1u , OPTION_FLAG_USE_REVERSE_DEPTH = 1u << 2u } |
Option flags. More... | |
Public Member Functions | |
void | Prepare (IDeviceContext *pContext, const RenderAttribs &Attribs) |
Prepares the renderer. | |
void | Render (IDeviceContext *pContext) |
Renders the bounding box. | |
Bounding box renderer.
void Diligent::BoundBoxRenderer::Prepare | ( | IDeviceContext * | pContext, |
const RenderAttribs & | Attribs ) |
Prepares the renderer.
[in] | pContext | - Device context. |
[in] | Attribs | - Render attributes. |