Trait bevy_rust_gpu::prelude::EntryPoint
source · pub trait EntryPoint: 'static + Send + Sync {
const NAME: &'static str;
// Provided methods
fn parameters() -> EntryPointParameters { ... }
fn constants() -> EntryPointConstants { ... }
fn types() -> EntryPointTypes { ... }
fn permutation(shader_defs: &Vec<ShaderDefVal>) -> Vec<String> ⓘ { ... }
fn filter_constants(shader_defs: &Vec<ShaderDefVal>) -> Vec<ShaderDefVal> ⓘ { ... }
fn build(shader_defs: &Vec<ShaderDefVal>) -> String { ... }
}
Expand description
A rust-gpu
entry point for use with RustGpuMaterial
.
Required Associated Constants§
Provided Methods§
fn parameters() -> EntryPointParameters
fn constants() -> EntryPointConstants
fn types() -> EntryPointTypes
sourcefn permutation(shader_defs: &Vec<ShaderDefVal>) -> Vec<String> ⓘ
fn permutation(shader_defs: &Vec<ShaderDefVal>) -> Vec<String> ⓘ
Constructs a permutation set from the provided shader defs