Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::BoundBoxRenderer::RenderAttribs Struct Reference

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.
 

Detailed Description

Render attributes.

Member Data Documentation

◆ BoundBoxTransform

const float4x4* Diligent::BoundBoxRenderer::RenderAttribs::BoundBoxTransform = nullptr

Bounding box transformation matrix.

Can't be null.

◆ Color

const float4* Diligent::BoundBoxRenderer::RenderAttribs::Color = nullptr

Bounding box color.

If null, white color will be used.

◆ PatternMask

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.