mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-29 02:04:37 +00:00
Remove the unused CommandBufferBuild trait (#813)
This commit is contained in:
parent
df9d2f60db
commit
e0d700a044
@ -92,7 +92,6 @@ pub use self::auto::UpdateBufferError;
|
||||
pub use self::state_cacher::StateCacher;
|
||||
pub use self::state_cacher::StateCacherOutcome;
|
||||
pub use self::traits::CommandBuffer;
|
||||
pub use self::traits::CommandBufferBuild;
|
||||
pub use self::traits::CommandBufferExecError;
|
||||
pub use self::traits::CommandBufferExecFuture;
|
||||
|
||||
|
@ -145,17 +145,6 @@ pub unsafe trait CommandBuffer: DeviceOwned {
|
||||
// FIXME: lots of other methods
|
||||
}
|
||||
|
||||
/// Turns a command buffer builder into a real command buffer.
|
||||
pub unsafe trait CommandBufferBuild {
|
||||
/// The type of the built command buffer.
|
||||
type Out;
|
||||
/// Error that can be returned when building.
|
||||
type Err;
|
||||
|
||||
/// Builds the command buffer.
|
||||
fn build(self) -> Result<Self::Out, Self::Err>;
|
||||
}
|
||||
|
||||
unsafe impl<T> CommandBuffer for T
|
||||
where T: SafeDeref,
|
||||
T::Target: CommandBuffer
|
||||
|
Loading…
Reference in New Issue
Block a user