pub unsafe trait ShaderInterfaceDef {
    type Iter: ExactSizeIterator<Item = ShaderInterfaceDefEntry>;

    fn elements(&self) -> Self::Iter;
}
Expand description

Types that contain the definition of an interface between two shader stages, or between the outside and a shader stage.

Safety

  • Must only provide one entry per location.
  • The format of each element must not be larger than 128 bits.

Required Associated Types

Iterator returned by elements.

Required Methods

Iterates over the elements of the interface.

Implementors