A single BGA layer.
More...
#include <Bga.h>
|
| | Bga (std::vector< std::pair< std::chrono::nanoseconds, QMediaPlayer * > > videoFiles, std::vector< std::pair< std::chrono::nanoseconds, QVideoFrame * > > images, QObject *parent=nullptr) |
| |
| auto | isBitmapOnly () const -> bool |
| |
| auto | getVideoSink () const -> QVideoSink * |
| |
| void | setVideoSink (QVideoSink *newVideoSink) |
| |
| void | update (std::chrono::nanoseconds offsetFromStart) |
| |
A single BGA layer.
https://hitkey.nekokan.dyndns.info/cmds.htm#BMPXX In QML, assign a QVideoSink to the videoSink property. When a chart is played, it will update the bga and that will update the pixels in the provided videoSink.
◆ Bga()
| qml_components::Bga::Bga |
( |
std::vector< std::pair< std::chrono::nanoseconds, QMediaPlayer * > > |
videoFiles, |
|
|
std::vector< std::pair< std::chrono::nanoseconds, QVideoFrame * > > |
images, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ getVideoSink()
| auto qml_components::Bga::getVideoSink |
( |
| ) |
const -> QVideoSink* |
◆ isBitmapOnly()
| auto qml_components::Bga::isBitmapOnly |
( |
| ) |
const -> bool |
|
inline |
◆ setVideoSink()
| void qml_components::Bga::setVideoSink |
( |
QVideoSink * |
newVideoSink | ) |
|
◆ update()
| void qml_components::Bga::update |
( |
std::chrono::nanoseconds |
offsetFromStart | ) |
|
◆ videoSinkChanged
| void qml_components::Bga::videoSinkChanged |
( |
| ) |
|
|
signal |
◆ bitmapOnly
| bool qml_components::Bga::bitmapOnly |
|
read |
◆ videoSink
| QVideoSink* qml_components::Bga::videoSink |
|
readwrite |
The documentation for this class was generated from the following files: