Render attributes. More...
#include <BoundBoxRenderer.hpp>
Public Attributes | |
const float4x4 * | BoundBoxTransform = nullptr |
Bounding box transformation matrix. | |
const float4 * | Color = nullptr |
Bounding box color. | |
float | PatternLength = 32 |
Pattern length in pixels. | |
Uint32 | PatternMask = 0xFFFFFFFFu |
Pattern mask. | |
OPTION_FLAGS | Options = OPTION_FLAG_NONE |
Render options. | |
Render attributes.
const float4x4* Diligent::BoundBoxRenderer::RenderAttribs::BoundBoxTransform = nullptr |
Bounding box transformation matrix.
Can't be null.
const float4* Diligent::BoundBoxRenderer::RenderAttribs::Color = nullptr |
Bounding box color.
If null, white color will be used.
Uint32 Diligent::BoundBoxRenderer::RenderAttribs::PatternMask = 0xFFFFFFFFu |
Pattern mask.
Each bit defines whether the corresponding 1/32 section of the pattern is filled or not. For example, use 0x0000FFFFu to draw a dashed line.