Skip to content

Split in-memory texture source variants#340

Open
esnya wants to merge 7 commits into
mainfrom
codex/type-inmemory-texture-source
Open

Split in-memory texture source variants#340
esnya wants to merge 7 commits into
mainfrom
codex/type-inmemory-texture-source

Conversation

@esnya
Copy link
Copy Markdown
Owner

@esnya esnya commented Jun 1, 2026

Summary

  • split in-memory texture sources into raw RGBA and encoded image variants
  • require raw RGBA width/height at the construction boundary instead of materialization time
  • reject unsupported TexturePayloadFormat when TexturePayload is constructed

Verification

  • dotnet restore PlateauResoniteLink.sln --locked-mode --disable-build-servers
  • dotnet format whitespace . --folder --verify-no-changes
  • dotnet build PlateauResoniteLink.sln --configuration Release --no-restore --disable-build-servers -m:1 -p:UseSharedCompilation=false
  • dotnet test PlateauResoniteLink.sln --configuration Release --no-restore --verbosity normal -m:1 --disable-build-servers -p:UseSharedCompilation=false
  • Fake Live Sink canonical dump for plateau-13213-higashimurayama-shi-2020 mesh 53395325, compared with git diff --no-index against the semantic baseline: no diff

@esnya esnya force-pushed the codex/type-surface-material-source branch from 0477b49 to 92df664 Compare June 2, 2026 15:00
@esnya esnya force-pushed the codex/type-inmemory-texture-source branch 3 times, most recently from ee5e500 to a416061 Compare June 2, 2026 19:15
@esnya esnya force-pushed the codex/type-surface-material-source branch from 983afea to 3a1688b Compare June 2, 2026 19:34
@esnya esnya force-pushed the codex/type-inmemory-texture-source branch from a416061 to 7911733 Compare June 2, 2026 19:34
@esnya esnya force-pushed the codex/type-surface-material-source branch from 3a1688b to 269fe57 Compare June 2, 2026 19:59
@esnya esnya force-pushed the codex/type-inmemory-texture-source branch from 7911733 to 40ac3b0 Compare June 2, 2026 19:59
@esnya esnya force-pushed the codex/type-surface-material-source branch from 269fe57 to b95e285 Compare June 2, 2026 20:47
@esnya esnya force-pushed the codex/type-inmemory-texture-source branch from 40ac3b0 to 42cb588 Compare June 2, 2026 20:47
@esnya esnya changed the base branch from codex/type-surface-material-source to main June 2, 2026 20:49
@esnya esnya force-pushed the codex/type-inmemory-texture-source branch from 42cb588 to 2f854f7 Compare June 2, 2026 22:14
Comment thread src/PlateauResoniteLink/Application/Importing/SceneImportContractTypes.cs Outdated
@esnya esnya force-pushed the codex/type-inmemory-texture-source branch from 2f854f7 to f292458 Compare June 3, 2026 07:32
@esnya
Copy link
Copy Markdown
Owner Author

esnya commented Jun 3, 2026

現時点では受け入れ不可です。#351 が main に merge された後の最新状態で、この PR は GitHub 上 mergeable=CONFLICTING / mergeStateStatus=DIRTY になっています。前回指摘した raw RGBA32 payload 長検証は最新 head で修正されていましたが、現在は main に対して機械的に merge できないため、競合解消後に再レビューが必要です。

@esnya esnya force-pushed the codex/type-inmemory-texture-source branch from f292458 to 5cd9424 Compare June 3, 2026 14:26
int height,
string? colorProfile,
byte[] bytes)
: base(width, height, colorProfile, bytes)
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HDR payload も RGBA32 と同様に constructor で byte 長を検証してください。現状は RgbaFloat32RawTexturePayload が任意長の �yte[] を受け入れるため、width * height * 16 ではない不正な HDR texture payload が ImportRawHdrTextureAsync までそのまま流れます。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant