Skip to content
View source

GridGenerated

Category: Types

A grid of elements, coord() the column and row of one; size(f) and at(f, vec2) read it.

Grid<T>

A grid of elements, coord() the column and row of one; size(f) and at(f, vec2) read it.

Returns Function Category
T at(field: Grid<T>, at: Vec2) field
T at(field: Grid<T>, at: IVec2) field
T at_linear(field: Grid<T>, position: Vec2) field
Int count(field: Grid<T>) field
T fetch(field: Grid<T>, at: Vec2) field
T fetch(field: Grid<T>, at: IVec2) field
IVec2 isize(field: Grid<T>) field
T put(memory: Grid<T>, at: Vec2, value: T) memory
T put(memory: Grid<T>, at: IVec2, value: T) memory
T sample(field: Grid<T>) field
Vec2 size(field: Grid<T>) field