Struct gfx_device_vulkan::GraphicsQueue
[−]
[src]
pub struct GraphicsQueue { /* fields omitted */ }
Trait Implementations
impl Device for GraphicsQueue
[src]
type Resources = Resources
Associated Resources
type.
type CommandBuffer = Buffer
Associated CommandBuffer
type. Every Device
type can only work with one CommandBuffer
type. Read more
fn get_capabilities(&self) -> &Capabilities
Returns the capabilities of this Ðevice
.
fn pin_submitted_resources(&mut self, _: &Manager<Resources>)
Pin everything from this handle manager to live for a frame.
fn submit(&mut self, com: &mut Buffer, access: &AccessInfo<Resources>)
Submits a CommandBuffer
to the GPU for execution.
fn fenced_submit(
&mut self,
_: &mut Buffer,
_: &AccessInfo<Resources>,
_after: Option<Fence<Resources>>
) -> Fence<Resources>
&mut self,
_: &mut Buffer,
_: &AccessInfo<Resources>,
_after: Option<Fence<Resources>>
) -> Fence<Resources>
Submits a CommandBuffer
to the GPU for execution. returns a fence that is signaled after the GPU has executed all commands Read more
fn wait_fence(&mut self, fence: &Fence<Self::Resources>)
Stalls the current thread until the fence is satisfied
fn cleanup(&mut self)
Cleanup unused resources. This should be called between frames.