C

FrameBufferInterface Class

class SafeRenderer::FrameBufferInterface

FrameBuffer interface class. More...

Header: #include <FrameBufferInterface>
Since: QtSafeRenderer 3.0

Public Functions

virtual SafeRenderer::quint8 bitsPerPixel() const = 0
virtual SafeRenderer::quint32 bytesPerLine() = 0
virtual SafeRenderer::quint8 *framebufferData() = 0
virtual SafeRenderer::FrameBufferPixelFormat framebufferFormat() const = 0

Detailed Description

FrameBufferInterface is an interface class for the graphics adaptation specific implementations for framebuffer.

Member Function Documentation

[pure virtual] SafeRenderer::quint8 FrameBufferInterface::bitsPerPixel() const

Return the bits per pixel count.

This function must be overwritten by the graphics adaptation's framebuffer implementation.

Returns Bits per pixel count

[pure virtual] SafeRenderer::quint32 FrameBufferInterface::bytesPerLine()

Return the bytes per line count.

This function must be overwritten by the graphics adaptation's framebuffer implementation.

Returns Bytes per line count

[pure virtual] SafeRenderer::quint8 *FrameBufferInterface::framebufferData()

Get the framebuffer data.

This function must be overwritten by the graphics adaptation's framebuffer implementation.

Returns Framebuffer data

[pure virtual] SafeRenderer::FrameBufferPixelFormat FrameBufferInterface::framebufferFormat() const

Returns the format of the framebuffer. Format is described in the FrameBufferPixelFormat enum.

This function must be overwritten by the graphics adaptation's framebuffer implementation.

Returns Framebuffer pixel format.

Available under certain Qt licenses.
Find out more.