Trait vulkano::sync::Resource [] [src]

pub unsafe trait Resource {
    fn sharing_mode(&self) -> &SharingMode;

    fn requires_fence(&self) -> bool { ... }
    fn requires_semaphore(&self) -> bool { ... }
}

Base trait for objects that can be used as resources and must be synchronized.

Required Methods

Returns in which queue family or families this resource can be used.

Provided Methods

Returns true if the gpu_access function should be passed a fence.

Returns true if the gpu_access function should be passed a semaphore.

Implementors