class ILxDrawingOverride

The DrawingOverride interface is an optional interface on package servers. This allows the package, when present in a scene, to override the default drawing of the scene in the interactive viewports,

Public Functions

int Flags(LXtObjectID self)

The flags on the interface determine the overrides that it supports.

LxResult AffectedItems(LXtObjectID self, LXtObjectID scene, LXtObjectID collection)

Get a collection of the affected items

LxResult SetItem(LXtObjectID self, LXtObjectID item, unsigned *styles)

Set a specific item and read the style bits for override.

LxResult GetColor(LXtObjectID self, unsigned style, LXtVector4 rgba)

Read the color for a specific style bit.

LxResult InitContext(LXtObjectID self)

Initialize pass drawing with the GL context pointer.

void CleanupContext(LXtObjectID self)

Cleanup any state in the GL context.

LxResult DrawVisitor(LXtObjectID self, LXtObjectID scene, LXtObjectID view, void **ppvObj)

Allocate a draw visitor. This is an object specific to a scene and a view, and it draws itself when the Visitor::Evaluate() method is called.