Skip to main content

IPostProcessPass_MaterialLibraryMethods

Trait IPostProcessPass_MaterialLibraryMethods 

Source
pub trait IPostProcessPass_MaterialLibraryMethods: IPostProcessPass_MaterialLibrary {
    // Provided methods
    fn ctor(self, data: impl Into<PostProcessData>) { ... }
    fn load(self, shader: impl Into<Shader>) -> Material { ... }
    fn cleanup(self) { ... }
}

Provided Methods§

Source

fn ctor(self, data: impl Into<PostProcessData>)

.ctor(crate::unity_engine::rendering::universal::postprocessdata::PostProcessData) overload

Source

fn load(self, shader: impl Into<Shader>) -> Material

Load(crate::unity_engine::shader::Shader) overload

Source

fn cleanup(self)

Cleanup() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IPostProcessPass_MaterialLibrary> IPostProcessPass_MaterialLibraryMethods for __T

Available on crate feature unity_engine-rendering-universal-internal-postprocesspass only.