[][src]Struct sfml_rust::compute::compu_buffer::CompuBuffers

pub struct CompuBuffers { /* fields omitted */ }

Methods

impl CompuBuffers[src]

pub fn new(
    device: Arc<Device>,
    data: Vec<u8>,
    dimensions: (u32, u32),
    stride: u32,
    handle: Arc<CompuBufferHandle>
) -> CompuBuffers
[src]

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]

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]

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]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

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]

impl<T> Content for T[src]

impl<T> Erased for T[src]

impl<T> SafeBorrow<T> for T[src]