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

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.