Equalizer  2.1.0
Parallel Rendering Framework
eq::fabric::FrameData Class Reference
+ Inheritance diagram for eq::fabric::FrameData:
+ Collaboration diagram for eq::fabric::FrameData:

Public Member Functions

void setPixelViewport (const PixelViewport &pvp)
 Set the covered area for readbacks. More...
 
const PixelViewportgetPixelViewport () const
 
void setBuffers (const Frame::Buffer buffers)
 Set the (color, depth) buffers of the source frame. More...
 
void disableBuffer (const Frame::Buffer buffer)
 Disable the usage of a frame buffer attachment for all images. More...
 
Frame::Buffer getBuffers () const
 
void setContext (const RenderContext &context)
 Set the source context decomposition wrt dest channel. More...
 
const RenderContextgetContext () const
 
RenderContextgetContext ()
 
void setZoom (const Zoom &zoom)
 Set additional zoom for input frames. More...
 
const ZoomgetZoom () const
 
void setType (const fabric::Frame::Type type)
 Set the frame storage type. More...
 
Frame::Type getType () const
 
EQFABRIC_API void serialize (co::DataOStream &os) const
 
EQFABRIC_API void deserialize (co::DataIStream &is)
 

Protected Attributes

PixelViewport _pvp
 
RenderContext _context
 
Zoom _zoom
 
Frame::Type _frameType
 
Frame::Buffer _buffers
 

Detailed Description

Definition at line 33 of file fabric/frameData.h.

Member Function Documentation

void eq::fabric::FrameData::disableBuffer ( const Frame::Buffer  buffer)
inline

Disable the usage of a frame buffer attachment for all images.

Definition at line 55 of file fabric/frameData.h.

Frame::Buffer eq::fabric::FrameData::getBuffers ( ) const
inline
Returns
the (color, depth) buffers of the source frame.

Definition at line 57 of file fabric/frameData.h.

const RenderContext& eq::fabric::FrameData::getContext ( ) const
inline
Returns
the source context decomposition wrt dest channel.

Definition at line 61 of file fabric/frameData.h.

const PixelViewport& eq::fabric::FrameData::getPixelViewport ( ) const
inline
Returns
the covered area for readbacks.

Definition at line 51 of file fabric/frameData.h.

Frame::Type eq::fabric::FrameData::getType ( ) const
inline
Returns
the frame storage type.

Definition at line 74 of file fabric/frameData.h.

const Zoom& eq::fabric::FrameData::getZoom ( ) const
inline
Returns
the additional zoom.

Definition at line 66 of file fabric/frameData.h.

void eq::fabric::FrameData::setBuffers ( const Frame::Buffer  buffers)
inline

Set the (color, depth) buffers of the source frame.

Definition at line 53 of file fabric/frameData.h.

void eq::fabric::FrameData::setContext ( const RenderContext context)
inline

Set the source context decomposition wrt dest channel.

Definition at line 59 of file fabric/frameData.h.

void eq::fabric::FrameData::setPixelViewport ( const PixelViewport pvp)
inline

Set the covered area for readbacks.

Preset for Equalizer output frames. The given pixel viewport is used together with the Frame offset to compute the area for the readback() operation.

Definition at line 49 of file fabric/frameData.h.

void eq::fabric::FrameData::setType ( const fabric::Frame::Type  type)
inline

Set the frame storage type.

Parameters
typeframe storage type.

Definition at line 72 of file fabric/frameData.h.

void eq::fabric::FrameData::setZoom ( const Zoom zoom)
inline

Set additional zoom for input frames.

Definition at line 64 of file fabric/frameData.h.


The documentation for this class was generated from the following file: