14 [[
nodiscard]]
static std::expected<std::unique_ptr<World2DRenderer>, std::string>
23 { standardPointerPresentation_ =
enabled; }
26 [[
nodiscard]] std::expected<SDL_GPUTexture*, std::string> resolveTexture(
27 const std::shared_ptr<const data::BitmapRuntimeAsset>& asset);
31 std::shared_ptr<const data::BitmapRuntimeAsset>
source;
34 World3DShaderSet shaders_;
39 bool standardPointerPresentation_{};
40 std::map<const data::BitmapRuntimeAsset*, Texture> textures_;
std::expected< std::size_t, std::string > render(SDL_GPUCommandBuffer *command, SDL_GPUTexture *target, std::uint32_t width, std::uint32_t height, const SequenceWorld2DSlot &slot)