[−][src]Struct sfml_rust::compu_state::CompuState
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]
&mut self,
data: Vec<u8>,
dimensions: (u32, u32),
stride: u32,
device: Arc<Device>
) -> Arc<CompuBufferHandle>
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]
&self,
handle: Arc<CompuBufferHandle>,
data: Vec<u8>
)
pub fn new_kernel(
&mut self,
filename: String,
device: Arc<Device>
) -> Arc<CompuKernelHandle>
[src]
&mut self,
filename: String,
device: Arc<Device>
) -> Arc<CompuKernelHandle>
pub fn get_kernel_handle(
&self,
kernel_name: String
) -> Option<Arc<CompuKernelHandle>>
[src]
&self,
kernel_name: String
) -> Option<Arc<CompuKernelHandle>>
pub fn compute_commands(
&mut self,
compute_frame: CompuFrame,
command_buffer: AutoCommandBufferBuilder,
canvas: &CanvasState
) -> AutoCommandBufferBuilder
[src]
&mut self,
compute_frame: CompuFrame,
command_buffer: AutoCommandBufferBuilder,
canvas: &CanvasState
) -> AutoCommandBufferBuilder
Auto Trait Implementations
impl Send for CompuState
impl Sync for CompuState
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto 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> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
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>,
SS: SubsetOf<SP>,