dao::render::Watcher

class

A plugin’s watch on the draws: a handle to the library’s record of it.

Declared in dao/Render.h.

Functions

Arm()

void Arm(std::uint32_t frames, std::vector<std::uint32_t> states={}) const

Hands the draws to the watch’s callbacks from the next frame’s first draw, for a number of frames, or with 0 until Disarm.

Parameter  
states the render states to read at each draw, D3DRENDERSTATETYPE values

Armed()

bool Armed() const

Returns true while it is armed and has frames left.

Disarm()

void Disarm() const

Stops handing the draws, at once.

Watcher()

Watcher(std::size_t id)

The library’s own; a plugin gets its watcher from Watch.