Struct vulkano::query::UnsafeQueryPool
[−]
[src]
pub struct UnsafeQueryPool<P = Arc<Device>> where P: SafeDeref<Target=Device> { /* fields omitted */ }
Methods
impl<P> UnsafeQueryPool<P> where P: SafeDeref<Target=Device>
[src]
fn new(device: P, ty: QueryType, num_slots: u32) -> Result<UnsafeQueryPool<P>, QueryPoolCreationError>
Builds a new query pool.
fn num_slots(&self) -> u32
Returns the number of slots of that query pool.
fn device(&self) -> &P
Returns the device used to create the pool.