On this page

C

SafeRenderer::FrameBufferInterface Class

class SafeRenderer::FrameBufferInterface

FrameBuffer interface class. More...

Header: #include <FrameBufferInterface>
Since: QtSafeRenderer 3.0

Public Functions

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

Detailed Description

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

Member Function Documentation

[constexpr noexcept default] FrameBufferInterface::FrameBufferInterface()

Default-constructs an instance of FrameBufferInterface.

[delete] FrameBufferInterface::FrameBufferInterface(const SafeRenderer::FrameBufferInterface &other)

Copy-constructs an instance of FrameBufferInterface. This function is deleted.

[delete] FrameBufferInterface::FrameBufferInterface(SafeRenderer::FrameBufferInterface &&other)

Move-constructs an instance of FrameBufferInterface. This function is deleted.

[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.

[delete] SafeRenderer::FrameBufferInterface &FrameBufferInterface::operator=(SafeRenderer::FrameBufferInterface &&other)

Move-assigns other to this FrameBufferInterface instance. This function is deleted.

[delete] SafeRenderer::FrameBufferInterface &FrameBufferInterface::operator=(const SafeRenderer::FrameBufferInterface &other)

Copy-assigns other to this FrameBufferInterface instance. This function is deleted.

Available under certain Qt licenses.
Find out more.