-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: issue commands instantaneously instead of using a command decoder
- Loading branch information
1 parent
6b2538e
commit 5408c59
Showing
35 changed files
with
1,090 additions
and
1,190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// | ||
// Copyright (c) 2024, SkillerRaptor | ||
// | ||
// SPDX-License-Identifier: MIT | ||
// | ||
|
||
use std::sync::Arc; | ||
|
||
use downcast_rs::Downcast; | ||
|
||
use crate::render_pass::{RenderPass, RenderPassDescriptor}; | ||
|
||
pub trait CommandList: Downcast { | ||
fn begin(&self); | ||
|
||
fn end(&self); | ||
|
||
fn begin_render_pass(&self, descriptor: &RenderPassDescriptor) -> Arc<dyn RenderPass>; | ||
} | ||
|
||
downcast_rs::impl_downcast!(CommandList); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.