pub struct EntryPoint {
    pub name: String,
    pub execution_model: ExecutionModel,
    pub uniforms: Vec<UniformVariable>,
    pub push_constants: Vec<PushConstantVariable>,
    pub inputs: Vec<LocationVariable>,
    pub outputs: Vec<LocationVariable>,
}
Expand description

Describes a single EntryPoint in a SPIR-V module.

A SPIR-V module can have multiple entry points with different names, each defining a single shader.

Fields

name: String

The name of the entry point, used for identification

execution_model: ExecutionModel

The ExecutionModel of the entry point, selects which type of shader this entry point defines

uniforms: Vec<UniformVariable>

All uniform variables used in this shader

push_constants: Vec<PushConstantVariable>

All push constant variables used in this shader

inputs: Vec<LocationVariable>

All inputs used in this shader

outputs: Vec<LocationVariable>

All outputs used in this shader

Trait Implementations

Formats the value using the given formatter. 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.