Torque3D Documentation / _generateds / VideoFrameGrabber

VideoFrameGrabber

Engine/source/gfx/video/videoCapture.h

Abstract frame grabber class implementation and initalization depends on video device.

More...

Public Friends

Protected Attributes

Protected Functions

Texture event callback.

Captures the current backbuffer. If the last capture wasn't made into a bitmap, it will be overriden.

Returns one captured bitmap. Returns NULL if there are no more bitmaps.

Starts converting the last backbuffer capture to a bitmap Depending on the VideoFrameGrabber implementation, this may not produce a bitmap right away.

Pushes a fresh bitmap into our list.

Releases internal textures.

Sets the output frame resolution.

Detailed Description

Abstract frame grabber class implementation and initalization depends on video device.

Public Friends

Protected Attributes

Vector< GBitmap * > mBitmapList 
Point2I mResolution 

Protected Functions

_onTextureEvent(GFXTexCallbackCode code)

Texture event callback.

captureBackBuffer()

Captures the current backbuffer. If the last capture wasn't made into a bitmap, it will be overriden.

fetchBitmap()

Returns one captured bitmap. Returns NULL if there are no more bitmaps.

--------------------------------- ---------------------------------

makeBitmap()

Starts converting the last backbuffer capture to a bitmap Depending on the VideoFrameGrabber implementation, this may not produce a bitmap right away.

pushNewBitmap(GBitmap * bitmap)

Pushes a fresh bitmap into our list.

releaseTextures()

Releases internal textures.

setOutResolution(const Point2I & res)

Sets the output frame resolution.