30 #ifndef EQ_PLY_CHANNEL_H
31 #define EQ_PLY_CHANNEL_H
51 bool stopRendering()
const;
56 bool configInit(
const eq::uint128_t& initID )
override;
58 void frameClear(
const eq::uint128_t& frameID )
override;
59 void frameDraw(
const eq::uint128_t& frameID )
override;
62 void frameStart(
const eq::uint128_t&,
const uint32_t )
override;
63 void frameFinish(
const eq::uint128_t&,
const uint32_t )
override;
71 { _frameRestart = lastFrameNumber + 1; }
74 void _drawModel(
const Model* model );
77 void _updateNearFar(
const triply::BoundingSphere& boundingSphere );
85 eq::Vector2i _getJitterStep()
const;
88 const Model* _getModel();
91 eq::uint128_t _modelID;
92 uint32_t _frameRestart;
96 Accum() : buffer( 0 ), step( 0 ), stepsDone( 0 ), transfer( false )
104 _accum[ eq::NUM_EYES ];
106 eq::PixelViewport _currentPVP;
110 #endif // EQ_PLY_CHANNEL_H
A channel represents a two-dimensional viewport within a Window.
A C++ class to abstract an accumulation buffer.
virtual ~Channel()
Destruct the channel.
bool useOrtho() const override
Select perspective or orthographic rendering.
void frameReadback(const eq::uint128_t &, const eq::Frames &) override
Read back the rendered frame buffer into the output frames.
void frameAssemble(const eq::uint128_t &, const eq::Frames &) override
Assemble all input frames.
void notifyStopFrame(const uint32_t lastFrameNumber) override
Notify interruption of the rendering.
The rendering entity, updating a part of a Window.
void frameClear(const eq::uint128_t &frameID) override
Clear the frame buffer.
A Window represents an on-screen or off-screen drawable.
void frameViewFinish(const eq::uint128_t &frameID) override
Finish updating a destination channel.
std::vector< Frame * > Frames
A vector of pointers to eq::Frame.
bool configInit(const eq::uint128_t &initID) override
Initialize this channel.
eq::Vector2f getJitter() const override
bool configExit() override
Exit this channel.
void frameViewStart(const eq::uint128_t &frameID) override
Start updating a destination channel.
void frameFinish(const eq::uint128_t &, const uint32_t) override
Finish rendering a frame.
void frameStart(const eq::uint128_t &, const uint32_t) override
Start rendering a frame.
void frameDraw(const eq::uint128_t &frameID) override
Draw the scene.