From b2ede3f0680edc894a54e28374cb87ab2690afa2 Mon Sep 17 00:00:00 2001 From: skal Date: Mon, 16 Feb 2026 14:32:59 +0100 Subject: refactor: remove v2 versioning artifacts, establish Sequence as canonical system MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Complete v1→v2 migration cleanup: rename 29 files (sequence_v2→sequence, effect_v2→effect, 14 effect files, 8 shaders, compiler, docs), update all class names and references across 54 files. Archive v1 timeline. System now uses standard naming with all versioning removed. 30/34 tests passing. Co-Authored-By: Claude Sonnet 4.5 --- src/effects/hybrid3_d_effect.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/effects/hybrid3_d_effect.h (limited to 'src/effects/hybrid3_d_effect.h') diff --git a/src/effects/hybrid3_d_effect.h b/src/effects/hybrid3_d_effect.h new file mode 100644 index 0000000..e6e0f49 --- /dev/null +++ b/src/effects/hybrid3_d_effect.h @@ -0,0 +1,32 @@ +// This file is part of the 64k demo project. +// It declares Hybrid3DEffect (simplified v2 port). +// TODO: Full Renderer3D integration with Scene/Camera + +#pragma once + +#include "3d/camera.h" +#include "3d/renderer.h" +#include "3d/scene.h" +#include "gpu/effect.h" + +class Hybrid3DEffect : public Effect { + public: + Hybrid3DEffect(const GpuContext& ctx, + const std::vector& inputs, + const std::vector& outputs); + ~Hybrid3DEffect() override; + + void declare_nodes(NodeRegistry& registry) override; + void render(WGPUCommandEncoder encoder, + const UniformsSequenceParams& params, + NodeRegistry& nodes) override; + + private: + Renderer3D renderer_; + Scene scene_; + Camera camera_; + bool initialized_ = false; + std::string depth_node_; + WGPUTexture dummy_texture_; + WGPUTextureView dummy_texture_view_; +}; -- cgit v1.2.3