32 cache_uniform(program.get(), u_texCube,
"s_texCube", gfx::uniform_type::Sampler);
36 std::unique_ptr<gpu_program> program;
40 std::unique_ptr<gfx::vertex_buffer> vb_;
41 std::unique_ptr<gfx::index_buffer> ib_;
std::shared_ptr< frame_buffer > ptr
void run(gfx::frame_buffer::ptr target, const camera &cam, gfx::render_view &rview, delta_t dt, const run_params ¶ms)
bool init(rtti::context &ctx)
Class representing a camera. Contains functionality for manipulating and updating a camera....
std::chrono::duration< float > delta_t
Represents a handle to an asset, providing access and management functions.
std::shared_ptr< uniform > uniform_ptr
asset_handle< gfx::texture > cubemap