← gpu_record · version 0.3.1
5 public items, in source order. Generated from the registry index, which re-derives them from the package source at publish time — so a signature here is the one that version actually ships.
pub fn table() -> i64
This backend's table, for gpu::open. It is there on every machine.
pub fn reset()
Forget the log and every object, number handles from 1 again, and take sources again.
pub fn live() -> integer
How many buffers, textures, targets and pipelines are held now: 0 once their owners died.
pub fn refuse_source(on: boolean)
Refuse (or take again) a pipeline whose shader arrives as text — what a machine that compiles no shader while a program runs does. A source with empty text passes: it stands for a shader compiled ahead.