Equalizer  1.12.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 uint32_t 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...
 
uint32_t 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
 
uint32_t _buffers
 

Friends

template<class T >
void lunchbox::byteswap (T &)
 

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 54 of file fabric/frameData.h.

uint32_t 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 63 of file fabric/frameData.h.

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

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

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

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

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

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

void eq::fabric::FrameData::setBuffers ( const uint32_t  buffers)
inline

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

Definition at line 51 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 60 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 45 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 77 of file fabric/frameData.h.

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

Set additional zoom for input frames.

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


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