[−][src]Struct sfml_rust::canvas::shader::generic_shader::GenericShader
CanvasShader holds the pipeline and render pass for the input shader source
Trait Implementations
impl CompiledGraphicsPipeline for GenericShader
[src]
Convenience interface so we don't have to juggle shader types
fn new(
filename: String,
device: Arc<Device>,
handle: Arc<CompiledGraphicsPipelineHandle>,
render_pass: Arc<dyn RenderPassAbstract + Send + Sync>
) -> GenericShader
[src]
filename: String,
device: Arc<Device>,
handle: Arc<CompiledGraphicsPipelineHandle>,
render_pass: Arc<dyn RenderPassAbstract + Send + Sync>
) -> GenericShader
This will explode when the shader does not want to compile
fn get_name(&self) -> String
[src]
fn get_handle(&self) -> Arc<CompiledGraphicsPipelineHandle>
[src]
fn get_pipeline(&self) -> Arc<dyn GraphicsPipelineAbstract + Sync + Send>
[src]
fn get_renderpass(&self) -> Arc<dyn RenderPassAbstract + Send + Sync>
[src]
fn recompile(
self,
render_pass: Arc<dyn RenderPassAbstract + Send + Sync>
) -> GenericShader
[src]
self,
render_pass: Arc<dyn RenderPassAbstract + Send + Sync>
) -> GenericShader
impl Clone for GenericShader
[src]
fn clone(&self) -> GenericShader
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl Send for GenericShader
impl Unpin for GenericShader
impl Sync for GenericShader
impl !UnwindSafe for GenericShader
impl !RefUnwindSafe for GenericShader
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>,