[−][src]Trait sfml_rust::canvas::managed::shader::shader_common::CompiledGraphicsPipeline
Required methods
fn new(
filename: String,
device: Arc<Device>,
handle: Arc<CompiledGraphicsPipelineHandle>,
render_pass: Arc<dyn RenderPassAbstract + Send + Sync>
) -> Self where
Self: Sized,
filename: String,
device: Arc<Device>,
handle: Arc<CompiledGraphicsPipelineHandle>,
render_pass: Arc<dyn RenderPassAbstract + Send + Sync>
) -> Self where
Self: Sized,
fn get_name(&self) -> String
fn get_handle(&self) -> Arc<CompiledGraphicsPipelineHandle>
fn get_pipeline(&self) -> Arc<dyn GraphicsPipelineAbstract + Sync + Send>
fn get_renderpass(&self) -> Arc<dyn RenderPassAbstract + Send + Sync>
fn recompile(
self,
render_pass: Arc<dyn RenderPassAbstract + Send + Sync>
) -> Self where
Self: Sized,
self,
render_pass: Arc<dyn RenderPassAbstract + Send + Sync>
) -> Self where
Self: Sized,
Implementors
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 CompiledGraphicsPipeline for TextShader
[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>
) -> TextShader
[src]
filename: String,
device: Arc<Device>,
handle: Arc<CompiledGraphicsPipelineHandle>,
render_pass: Arc<dyn RenderPassAbstract + Send + Sync>
) -> TextShader
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>
) -> TextShader
[src]
self,
render_pass: Arc<dyn RenderPassAbstract + Send + Sync>
) -> TextShader