Kanzi 4.1.0
kanzi::gfx::ResetQueryPoolCommand Struct Reference

Reset a GPU query pool. More...

#include <kanzi/gfx/commands.hpp>

Inheritance diagram for kanzi::gfx::ResetQueryPoolCommand:
[legend]

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.
 
BaseCommandoperator= (const BaseCommand &other)
 Assignment operator.
 

Detailed Description

Reset a GPU query pool.

Pools need to be reset before queries can be issued.

Since
Kanzi 4.1.0

Constructor & Destructor Documentation

◆ ResetQueryPoolCommand()

kanzi::gfx::ResetQueryPoolCommand::ResetQueryPoolCommand ( )
inline

Constructor.

Member Data Documentation

◆ pool

QueryPoolHandleGuard kanzi::gfx::ResetQueryPoolCommand::pool

The GPU query pool to reset.

◆ first

uint32_t kanzi::gfx::ResetQueryPoolCommand::first

First index to reset.

◆ count

uint32_t kanzi::gfx::ResetQueryPoolCommand::count

Query count to reset. When the maximum value is specified, the rest of the pool is reset.


The documentation for this struct was generated from the following file: