[][src]Struct sfml_rust::compu_state::CompuState

pub struct CompuState { /* fields omitted */ }

Methods

impl CompuState[src]

pub fn new() -> CompuState[src]

pub fn new_compute_buffer(
    &mut self,
    data: Vec<u8>,
    dimensions: (u32, u32),
    stride: u32,
    device: Arc<Device>
) -> Arc<CompuBufferHandle>
[src]

pub fn read_compute_buffer(&mut self, handle: Arc<CompuBufferHandle>) -> Vec<u8>[src]

pub fn write_compute_buffer(
    &self,
    handle: Arc<CompuBufferHandle>,
    data: Vec<u8>
)
[src]

pub fn new_kernel(
    &mut self,
    filename: String,
    device: Arc<Device>
) -> Arc<CompuKernelHandle>
[src]

pub fn get_kernel_handle(
    &self,
    kernel_name: String
) -> Option<Arc<CompuKernelHandle>>
[src]

pub fn compute_commands(
    &mut self,
    compute_frame: CompuFrame,
    command_buffer: AutoCommandBufferBuilder,
    canvas: &CanvasState
) -> AutoCommandBufferBuilder
[src]

Auto Trait Implementations

impl Send for CompuState

impl Sync for CompuState

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto 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> SetParameter for T

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 

Sets value as a parameter of self.

impl<T> Same for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 

impl<T> Content for T

impl<T> Erased for T

impl<T> SafeBorrow for T