[−][src]Struct sfml_rust::compute::compu_buffer::CompuBuffers
Methods
impl CompuBuffers
[src]
pub fn new(
device: Arc<Device>,
data: Vec<u8>,
dimensions: (u32, u32),
stride: u32,
handle: Arc<CompuBufferHandle>
) -> CompuBuffers
[src]
device: Arc<Device>,
data: Vec<u8>,
dimensions: (u32, u32),
stride: u32,
handle: Arc<CompuBufferHandle>
) -> CompuBuffers
pub fn get_size(&self) -> (u32, u32)
[src]
pub fn get_descriptor_set(
&self,
compute_pipeline: Arc<ComputePipeline<PipelineLayout<Layout>>>
) -> Arc<PersistentDescriptorSet<Arc<ComputePipeline<PipelineLayout<Layout>>>, ((((), PersistentDescriptorSetBuf<Arc<CpuAccessibleBuffer<[u8]>>>), PersistentDescriptorSetBuf<Arc<CpuAccessibleBuffer<[u8]>>>), PersistentDescriptorSetBuf<Arc<CpuAccessibleBuffer<[u32]>>>)>>
[src]
&self,
compute_pipeline: Arc<ComputePipeline<PipelineLayout<Layout>>>
) -> Arc<PersistentDescriptorSet<Arc<ComputePipeline<PipelineLayout<Layout>>>, ((((), PersistentDescriptorSetBuf<Arc<CpuAccessibleBuffer<[u8]>>>), PersistentDescriptorSetBuf<Arc<CpuAccessibleBuffer<[u8]>>>), PersistentDescriptorSetBuf<Arc<CpuAccessibleBuffer<[u32]>>>)>>
pub fn read_output_buffer(&self) -> ImageBuffer<Rgba<u8>, Vec<u8>>
[src]
pub fn get_input_buffer(&self) -> Arc<CpuAccessibleBuffer<[u8]>>
[src]
pub fn get_output_buffer(&self) -> Arc<CpuAccessibleBuffer<[u8]>>
[src]
Trait Implementations
impl Clone for CompuBuffers
[src]
fn clone(&self) -> CompuBuffers
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl Send for CompuBuffers
impl Unpin for CompuBuffers
impl Sync for CompuBuffers
impl UnwindSafe for CompuBuffers
impl RefUnwindSafe for CompuBuffers
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> SetParameter for T
[src]
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
SS: SubsetOf<SP>,