[−][src]Trait mutiny::scene::CreationContext
Required Methods
fn add<'a, B: Builder<'a, Self>>(
&'a mut self,
settings: <B as Builder<'a, Self>>::Settings
) -> B where
Self: Sized,
&'a mut self,
settings: <B as Builder<'a, Self>>::Settings
) -> B where
Self: Sized,
fn add_model(&mut self, name: &str) -> ModelBuilder
fn add_empty(&mut self, name: &str) -> EmptyBuilder
fn add_mesh<T>(&mut self, geom: Mesh<T>) -> GeometryRef where
T: 'static + VertexFormat + Send + Clone + Copy + Debug + Serialize + Deserialize<'static>,
T: 'static + VertexFormat + Send + Clone + Copy + Debug + Serialize + Deserialize<'static>,
fn add_named_mesh<T>(&mut self, geom: Mesh<T>, name: &str) -> GeometryRef where
T: 'static + VertexFormat + Send + Clone + Copy + Debug + Serialize + Deserialize<'static>,
T: 'static + VertexFormat + Send + Clone + Copy + Debug + Serialize + Deserialize<'static>,
fn add_directional_light<'a>(
&'a mut self,
name: &'a str
) -> DirectionalLightBuilder<'a, Self> where
Self: Sized,
&'a mut self,
name: &'a str
) -> DirectionalLightBuilder<'a, Self> where
Self: Sized,
fn add_spot_light<'a>(&'a mut self, name: &'a str) -> SpotLightBuilder<'a, Self> where
Self: Sized,
Self: Sized,
fn add_point_light<'a>(
&'a mut self,
name: &'a str
) -> PointLightBuilder<'a, Self> where
Self: Sized,
&'a mut self,
name: &'a str
) -> PointLightBuilder<'a, Self> where
Self: Sized,
fn update_all_transformations(&mut self)
fn add_image_based_light<'a>(
&'a mut self,
name: &'a str
) -> ImageBasedLightBuilder<'a, Self> where
Self: Sized,
&'a mut self,
name: &'a str
) -> ImageBasedLightBuilder<'a, Self> where
Self: Sized,
fn register_material<M: Material + 'static>(
&mut self,
name: &str,
material: M
) -> MaterialRef
&mut self,
name: &str,
material: M
) -> MaterialRef
fn find_material(&self, name: &str) -> Option<MaterialRef>
fn register_texture(&mut self, texture: Texture) -> TextureRef
fn register_texture_from_data_format<T: 'static>(
&mut self,
format: LoadDataFormat,
data: &[T]
) -> Result<TextureRef, Error>
&mut self,
format: LoadDataFormat,
data: &[T]
) -> Result<TextureRef, Error>
fn register_image<I: Image>(&mut self, img: &I) -> Result<TextureRef, Error>
fn register_named_texture_from_data_format<T: 'static>(
&mut self,
name: &str,
format: LoadDataFormat,
data: &[T]
) -> Result<TextureRef, Error>
&mut self,
name: &str,
format: LoadDataFormat,
data: &[T]
) -> Result<TextureRef, Error>
fn register_named_image<I: Image>(
&mut self,
name: &str,
img: &I
) -> Result<TextureRef, Error>
&mut self,
name: &str,
img: &I
) -> Result<TextureRef, Error>
fn register_sampler(&mut self, sampler: Sampler) -> SamplerRef
fn register_named_sampler(&mut self, name: &str, sampler: Sampler) -> SamplerRef
fn find_named_texture(&self, name: &str) -> Option<TextureRef>
Implementors
impl<C: CreationContext> CreationContext for C
[src]
impl<C: CreationContext> CreationContext for C
fn add<'a, B: Builder<'a, Self>>(
&'a mut self,
settings: <B as Builder<'a, Self>>::Settings
) -> B
[src]
fn add<'a, B: Builder<'a, Self>>(
&'a mut self,
settings: <B as Builder<'a, Self>>::Settings
) -> B
fn add_model(&mut self, name: &str) -> ModelBuilder
[src]
fn add_model(&mut self, name: &str) -> ModelBuilder
fn add_empty(&mut self, name: &str) -> EmptyBuilder
[src]
fn add_empty(&mut self, name: &str) -> EmptyBuilder
fn add_mesh<T>(&mut self, geom: Mesh<T>) -> GeometryRef where
T: 'static + VertexFormat + Send + Clone + Copy + Debug + Serialize + Deserialize<'static>,
[src]
fn add_mesh<T>(&mut self, geom: Mesh<T>) -> GeometryRef where
T: 'static + VertexFormat + Send + Clone + Copy + Debug + Serialize + Deserialize<'static>,
fn add_named_mesh<T>(&mut self, geom: Mesh<T>, name: &str) -> GeometryRef where
T: 'static + VertexFormat + Send + Clone + Copy + Debug + Serialize + Deserialize<'static>,
[src]
fn add_named_mesh<T>(&mut self, geom: Mesh<T>, name: &str) -> GeometryRef where
T: 'static + VertexFormat + Send + Clone + Copy + Debug + Serialize + Deserialize<'static>,
fn add_directional_light<'a>(
&'a mut self,
name: &'a str
) -> DirectionalLightBuilder<'a, Self> where
Self: Sized,
[src]
fn add_directional_light<'a>(
&'a mut self,
name: &'a str
) -> DirectionalLightBuilder<'a, Self> where
Self: Sized,
fn add_spot_light<'a>(&'a mut self, name: &'a str) -> SpotLightBuilder<'a, Self> where
Self: Sized,
[src]
fn add_spot_light<'a>(&'a mut self, name: &'a str) -> SpotLightBuilder<'a, Self> where
Self: Sized,
fn add_point_light<'a>(
&'a mut self,
name: &'a str
) -> PointLightBuilder<'a, Self> where
Self: Sized,
[src]
fn add_point_light<'a>(
&'a mut self,
name: &'a str
) -> PointLightBuilder<'a, Self> where
Self: Sized,
fn update_all_transformations(&mut self)
[src]
fn update_all_transformations(&mut self)
fn add_image_based_light<'a>(
&'a mut self,
name: &'a str
) -> ImageBasedLightBuilder<'a, Self> where
Self: Sized,
[src]
fn add_image_based_light<'a>(
&'a mut self,
name: &'a str
) -> ImageBasedLightBuilder<'a, Self> where
Self: Sized,
fn register_material<M: Material + 'static>(
&mut self,
name: &str,
material: M
) -> MaterialRef
[src]
fn register_material<M: Material + 'static>(
&mut self,
name: &str,
material: M
) -> MaterialRef
fn find_material(&self, name: &str) -> Option<MaterialRef>
[src]
fn find_material(&self, name: &str) -> Option<MaterialRef>
fn register_texture(&mut self, texture: Texture) -> TextureRef
[src]
fn register_texture(&mut self, texture: Texture) -> TextureRef
fn register_texture_from_data_format<T: 'static>(
&mut self,
format: LoadDataFormat,
data: &[T]
) -> Result<TextureRef, Error>
[src]
fn register_texture_from_data_format<T: 'static>(
&mut self,
format: LoadDataFormat,
data: &[T]
) -> Result<TextureRef, Error>
fn register_image<I: Image>(&mut self, img: &I) -> Result<TextureRef, Error>
[src]
fn register_image<I: Image>(&mut self, img: &I) -> Result<TextureRef, Error>
fn register_named_texture_from_data_format<T: 'static>(
&mut self,
name: &str,
format: LoadDataFormat,
data: &[T]
) -> Result<TextureRef, Error>
[src]
fn register_named_texture_from_data_format<T: 'static>(
&mut self,
name: &str,
format: LoadDataFormat,
data: &[T]
) -> Result<TextureRef, Error>
fn register_named_image<I: Image>(
&mut self,
name: &str,
img: &I
) -> Result<TextureRef, Error>
[src]
fn register_named_image<I: Image>(
&mut self,
name: &str,
img: &I
) -> Result<TextureRef, Error>
fn register_sampler(&mut self, sampler: Sampler) -> SamplerRef
[src]
fn register_sampler(&mut self, sampler: Sampler) -> SamplerRef
fn register_named_sampler(&mut self, name: &str, sampler: Sampler) -> SamplerRef
[src]
fn register_named_sampler(&mut self, name: &str, sampler: Sampler) -> SamplerRef
fn find_named_texture(&self, name: &str) -> Option<TextureRef>
[src]
fn find_named_texture(&self, name: &str) -> Option<TextureRef>