Reset a GPU query pool. More...
#include <kanzi/gfx/commands.hpp>
Public Member Functions | |
| ResetQueryPoolCommand () | |
| Constructor. | |
Public Member Functions inherited from kanzi::gfx::BaseCommand | |
| uint32_t | getSize () const |
| Gets the command size in bytes. | |
| uint8_t | getTag () const |
| Gets the command tag. | |
| CommandType | getType () const |
| Gets the command type. | |
| void | setTag (uint8_t tag) |
| Sets the command tag. | |
Public Attributes | |
| uint32_t | count |
| Query count to reset. When the maximum value is specified, the rest of the pool is reset. | |
| uint32_t | first |
| First index to reset. | |
| QueryPoolHandleGuard | pool |
| The GPU query pool to reset. | |
Additional Inherited Members | |
Protected Member Functions inherited from kanzi::gfx::BaseCommand | |
| BaseCommand (CommandType t, uint32_t s) | |
| Constructor. | |
| BaseCommand (const BaseCommand &other) | |
| Copy Constructor. | |
| BaseCommand & | operator= (const BaseCommand &other) |
| Assignment operator. | |
Reset a GPU query pool.
Pools need to be reset before queries can be issued.
|
inline |
Constructor.
| QueryPoolHandleGuard kanzi::gfx::ResetQueryPoolCommand::pool |
The GPU query pool to reset.
| uint32_t kanzi::gfx::ResetQueryPoolCommand::first |
First index to reset.
| uint32_t kanzi::gfx::ResetQueryPoolCommand::count |
Query count to reset. When the maximum value is specified, the rest of the pool is reset.