载入中...
搜索中...
未找到
EditorStylizeTarget.h
浏览该文件的文档.
1#pragma once
6
7
8namespace eve::editor {
12
15public:
19 : previews_(previews), graphics_(graphics) {}
22 const StableId& previewId, int width, int height) const;
23
24private:
25 GraphicsOffscreenPreviewService* previews_ = nullptr;
26 graphics::Graphics* graphics_ = nullptr;
27};
28} // namespace eve::editor
std::uint32_t height
std::uint32_t width
const UnitySourceAsset & source
Move-only operation result carrying either a value or Status.
Definition Result.h:155
UUID-backed identifier adapter for legacy textual boundaries.
Definition Identity.h:314
Host presentation adapter for isolated stylize preview readback.
StylizeOffscreenPreviewService(GraphicsOffscreenPreviewService *previews, graphics::Graphics *graphics)
Constructs a StylizeOffscreenPreviewService.
Result< OffscreenPreviewArtifact > render(const StylizeRecipeTarget &document, graphics::Texture *source, const StableId &previewId, int width, int height) const
Renders .
GPU texture created via Graphics::newTexture. Owns GPU resources through an opaque backend handle.
Definition Texture.h:18
Concrete Graphics/Canvas preview bridge with revision-safe artifact storage.
Compiled, owned StyleRecipe generation used for live and offscreen preview.
Serializable ordered style recipe with dynamic parameter Inspector.
Stable pass in an authored stylization recipe.