Expand description
Re-exports§
pub use anyhow;
Macros§
- This macro allows efficient batch creation of programs by compiling and linking in parallel.
Structs§
- In a
Program-deriving struct, a field of typeAttribute<T>indicates that the vertex shader has an attribute with the type compatible withT. - Wraps a WebGL buffer.
- A wrapper for a WebGL rendering context.
- The
Errortype, a wrapper around a dynamic error type. - Stores the indices of a buffer.
- An internal type used to hold program-specific resources. There must be exactly one field in a
Program-deriving struct holdingProgramDataas the value. - In a
Program-deriving struct, a field of typeUniform<T>indicates that the vertex shader has a uniform with the type compatible withT.
Enums§
- The
usageparameter passed tobufferData. - The type of rendering primitive.
Traits§
- The trait implemented by attribute structs.
- Types that can be used as an attribute argument type.
- Represents WebGL programs.
- Types that can be used as a uniform argument type.
Type Aliases§
Result<T, Error>
Derive Macros§
- Derives a user-friendly wrapper for
WebGlProgramfrom a struct.