Struct naga::EntryPoint [−][src]
pub struct EntryPoint { pub name: String, pub stage: ShaderStage, pub early_depth_test: Option<EarlyDepthTest>, pub workgroup_size: [u32; 3], pub function: Function, }
Expand description
Exported function, to be run at a certain stage in the pipeline.
Fields
name: String
Name of this entry point, visible externally.
stage: ShaderStage
Shader stage.
early_depth_test: Option<EarlyDepthTest>
Early depth test for fragment stages.
workgroup_size: [u32; 3]
Workgroup size for compute stages
function: Function
The entrance function.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for EntryPoint
impl Send for EntryPoint
impl Sync for EntryPoint
impl Unpin for EntryPoint
impl UnwindSafe for EntryPoint