|
HDK
|
#include <GU_OnionSkin.h>
Public Types | |
| enum | RenderMode { RenderMode::DEFAULT, RenderMode::WIREFRAME, RenderMode::OUTLINE } |
Public Attributes | |
| UT_Vector4F | myColor = UT_Vector4F(1.0f, 1.0f, 1.0f, 1.0f) |
| RGBA tint color. More... | |
| RenderMode | myRenderMode = RenderMode::DEFAULT |
| fpreal32 | myThickness = 0.0f |
Used for outline thickness if myRenderMode is OUTLINE. More... | |
| exint | myIdx = 0 |
Info about how a primitive representing a single onion skin should look/be rendered. This structure is stored on a GR primitive to make it render like an onion skin. It is also stored on a GT primitive to pass along to the GR primitive.
Definition at line 45 of file GU_OnionSkin.h.
|
strong |
| Enumerator | |
|---|---|
| DEFAULT |
Use the viewport's render mode. |
| WIREFRAME |
Force wireframe render. |
| OUTLINE |
Force outline render. |
Definition at line 47 of file GU_OnionSkin.h.
| UT_Vector4F GU_OnionSkinPrimRenderInfo::myColor = UT_Vector4F(1.0f, 1.0f, 1.0f, 1.0f) |
RGBA tint color.
Definition at line 58 of file GU_OnionSkin.h.
| exint GU_OnionSkinPrimRenderInfo::myIdx = 0 |
Used to determine multisample index. Ideally neighbouring onion skins have indices myIdx - 1 and myIdx + 1 to minimize artifacts from rendering, though this is not always easy to achieve.
Definition at line 65 of file GU_OnionSkin.h.
| RenderMode GU_OnionSkinPrimRenderInfo::myRenderMode = RenderMode::DEFAULT |
Definition at line 59 of file GU_OnionSkin.h.
| fpreal32 GU_OnionSkinPrimRenderInfo::myThickness = 0.0f |
Used for outline thickness if myRenderMode is OUTLINE.
Definition at line 61 of file GU_OnionSkin.h.