Struct rin_scene::skybox::SkyboxMaterial [−][src]
pub struct SkyboxMaterial { pub cubemap: Parameter<CubemapSampler>, pub cubemap_level: Parameter<f32>, }
Fields
cubemap: Parameter<CubemapSampler>
cubemap_level: Parameter<f32>
Trait Implementations
impl<'de> Deserialize<'de> for SkyboxMaterial
[src]
impl<'de> Deserialize<'de> for SkyboxMaterial
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Material for SkyboxMaterial
[src]
impl Material for SkyboxMaterial
[src]fn shaders(&self) -> PropertyChanged<Vec<Shader>>
[src]
fn properties(&self) -> PropertyChanged<Vec<Property>>
[src]
fn transparency(&self) -> PropertyChanged<MaterialTransparency>
[src]
fn data(&self) -> PropertyChanged<Option<Data>>
[src]
fn uniforms(&self) -> PropertyChanged<Vec<Uniform>>
[src]
fn textures(&self) -> PropertyChanged<Vec<(&str, TextureSampler)>>
[src]
fn cubemaps(&self) -> PropertyChanged<Vec<(&str, CubemapSampler)>>
[src]
fn render_planes(
&self
) -> PropertyChanged<Option<(Entity, &[RenderPlaneAsUniform<'_>])>>
[src]
&self
) -> PropertyChanged<Option<(Entity, &[RenderPlaneAsUniform<'_>])>>
fn program_settings(&self) -> PropertyChanged<ProgramSettings>
[src]
fn update(&mut self, _: EntitiesThreadLocal<'_>, _: ResourcesThreadLocal<'_>)
[src]
impl Material for SkyboxMaterial
[src]
impl Material for SkyboxMaterial
[src]fn type_name(&self) -> &str
[src]
fn parameter_names(&self) -> Vec<&str>
[src]
fn parameters(&self) -> Vec<ParameterAny<'_>>
[src]
fn parameters_mut(&mut self) -> Vec<ParameterMutAny<'_>>
[src]
fn parameter(&self, name: &str) -> Option<ParameterAny<'_>>
[src]
fn parameter_mut(&mut self, name: &str) -> Option<ParameterMutAny<'_>>
[src]
fn parameter_type_name(&self, name: &str) -> Option<&str>
[src]
fn reset_changed(&mut self)
[src]
impl MaterialParameterTypes for SkyboxMaterial
[src]
impl MaterialParameterTypes for SkyboxMaterial
[src]fn uniform_parameters(&self) -> Vec<UniformRef<'_>>
[src]
fn texture_parameters(&self) -> Vec<UniformRef<'_>>
[src]
fn cubemap_parameters(&self) -> Vec<UniformRef<'_>>
[src]
fn properties_parameter(&self) -> Option<&Parameter<Vec<Property>>>
[src]
fn alpha_type_parameter(&self) -> Option<&Parameter<AlphaType>>
[src]
fn any_uniform_changed(&self) -> bool
[src]
fn any_texture_changed(&self) -> bool
[src]
fn any_cubemap_changed(&self) -> bool
[src]
fn any_data_changed(&self) -> bool
[src]
fn has_uniforms(&self) -> bool
[src]
fn has_data(&self) -> bool
[src]
fn has_textures(&self) -> bool
[src]
fn has_cubemaps(&self) -> bool
[src]
fn any_uniform_option_changed(&self) -> bool
[src]
fn any_texture_option_changed(&self) -> bool
[src]
fn any_cubemap_option_changed(&self) -> bool
[src]
fn any_data_option_changed(&self) -> bool
[src]
impl Serialize for SkyboxMaterial
[src]
impl Serialize for SkyboxMaterial
[src]impl WriteStd140 for SkyboxMaterial
[src]
impl WriteStd140 for SkyboxMaterial
[src]fn write_std140(&self, data: &mut Data)
[src]
Auto Trait Implementations
impl RefUnwindSafe for SkyboxMaterial
impl Send for SkyboxMaterial
impl Sync for SkyboxMaterial
impl Unpin for SkyboxMaterial
impl UnwindSafe for SkyboxMaterial
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
[src]
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,