40 cache_uniform(program.get(), s_input,
"s_input", gfx::uniform_type::Sampler);
44 std::unique_ptr<gpu_program> program;
std::shared_ptr< frame_buffer > ptr
auto init(rtti::context &ctx) -> bool
Must be called once (after bgfx::init() and after asset_manager is registered in context).
auto run(const run_params ¶ms) -> gfx::frame_buffer::ptr
Executes the blit: copies params.input → params.output. Returns the actual output framebuffer.
std::shared_ptr< uniform > uniform_ptr
gfx::frame_buffer::ptr input
Source framebuffer (must have a color texture).
gfx::frame_buffer::ptr output
Optional destination framebuffer. If null, will be created to match input.