Module surpass::layout

source ·
Expand description

Buffer-layout-specific traits for user-defined behavior.

Layout’s job is to split a buffer into sub-slices that will then be distributed to tile to be rendered, and to write color data to these sub-slices.

Structs§

Enums§

Traits§

  • Listener that gets called after every write to the buffer. Its main use is to flush freshly written memory slices.
  • A buffer’s layout description.