[][src]Trait nannou::vk::pipeline::shader::ShaderInterfaceDef

pub unsafe trait ShaderInterfaceDef where
    <Self::Iter as Iterator>::Item == ShaderInterfaceDefEntry
{ type Iter: ExactSizeIterator; fn elements(&self) -> Self::Iter; }

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.

Associated Types

type Iter: ExactSizeIterator

Iterator returned by elements.

Loading content...

Required methods

fn elements(&self) -> Self::Iter

Iterates over the elements of the interface.

Loading content...

Implementors

Loading content...