[][src]Struct sfml_rust::compute::compu_kernel::CompuKernel

pub struct CompuKernel { /* fields omitted */ }

Methods

impl CompuKernel[src]

pub fn new(
    filename: String,
    device: Arc<Device>,
    handle: Arc<CompuKernelHandle>
) -> CompuKernel
[src]

pub fn get_pipeline(&mut self) -> Arc<ComputePipeline<PipelineLayout<Layout>>>[src]

pub fn recompile_kernel(
    &mut self
) -> Arc<ComputePipeline<PipelineLayout<Layout>>>
[src]

pub fn compile_kernel(
    &mut self,
    filename: String
) -> Arc<ComputePipeline<PipelineLayout<Layout>>>
[src]

pub fn get_handle(&self) -> Arc<CompuKernelHandle>[src]

pub fn get_name(&self) -> String[src]

Trait Implementations

impl Clone for CompuKernel[src]

Auto Trait Implementations

impl Send for CompuKernel

impl Unpin for CompuKernel

impl Sync for CompuKernel

impl UnwindSafe for CompuKernel

impl RefUnwindSafe for CompuKernel

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]