dao::render::Shader

struct

A shader bound for the draw: none (empty bytecode) for the fixed pipeline.

Declared in dao/Render.h.

Fields

Field Type  
bytecode std::span<const std::byte> for the callback only: copy it to keep it
table const core::ctab::Table * = nullptr its constant table, null if it has none; for the callback only
textures std::vector<Sampled> each sampler of the table that has a texture bound
values std::vector<Value> each constant of the table, in its order, with its registers