Module aframe::shader

source ·
Expand description

Module to provide tools for shader registration as well as built-in shader constants.

Structs§

  • Provides all the tools necessary to define an Aframe shader. The maplit crate is recommended for simplifying shader definitions. See below:
  • A property for a shader. This includes the shader type, whether or not this property is a uniform, and an optional default value.

Enums§

  • Wrapper for possible uniform default values
  • Enum to make asking whether or not a property is a uniform more readable.

Constants§