Module render

Module render 

Source

Structs§

SamplerTile
A tile with all samplers that cover it
SamplerTileIter
Iterator for tiles, splitting until they are no more than max_size

Enums§

Bounds
Upper and lower bounds for something

Functions§

ndc_to_pixel
Convert normalized device coordinates to a pixel
pixel_to_ndc
Convert a pixel coordinate to normalized device coordinates
render
Simple tiled renderer The consume function takes x and y coordinates, depth, and fragment output. It will compare and set depth as well as consume the fragment output.