VL.Polynesia.Stride
0.2.5
dotnet add package VL.Polynesia.Stride --version 0.2.5
NuGet\Install-Package VL.Polynesia.Stride -Version 0.2.5
<PackageReference Include="VL.Polynesia.Stride" Version="0.2.5" />
<PackageVersion Include="VL.Polynesia.Stride" Version="0.2.5" />
<PackageReference Include="VL.Polynesia.Stride" />
paket add VL.Polynesia.Stride --version 0.2.5
#r "nuget: VL.Polynesia.Stride, 0.2.5"
#:package VL.Polynesia.Stride@0.2.5
#addin nuget:?package=VL.Polynesia.Stride&version=0.2.5
#tool nuget:?package=VL.Polynesia.Stride&version=0.2.5
VL.Polynesia.Stride
Independent Windows x64 GPU texture bridge. Addon/package version: 0.2.0. Requires the Polynesia 0.36.240 source revision with SupportedFormatVersion=2 in Polynesia.dll and RGBA16F import in Polynesia.Native.dll, plus vvvv gamma 7.4 / VL.Stride 2025.7.4 or compatible.
Use
Add VL.Polynesia.Stride as a package dependency and place FromStrideTexture from Polynesia.Stride.Textures.
Connect a Stride texture to Source and connect Texture to a Polynesia material or particle sprite. Auto Schedule is true by default: no RenderWindow and no Renderer output connection are required. The node obtains a managed Stride game handle and schedules its internal copy through the public SchedulerSystem after Source evaluation. The Stride graphics device and draw loop must still be active; a texture cannot produce GPU work without an engine. This does not create a second graphics device for rendering or a dedicated visible window.
Input optionally executes a custom source renderer before the copy. Do not also schedule/draw that source renderer independently unless that is intentional. The normal TextureFX/RenderTexture dependency chain is evaluated before this node schedules its copy. Sources whose work is produced outside that dependency chain require explicit ordering through Input or manual scheduling.
Renderer remains available for existing/manual patches. Set Auto Schedule=false when explicitly wiring it into your own render flow. A generation guard prevents automatic plus manual execution from copying/drawing Input twice for the same Update. Changes to options, view, dimensions or device recreate the bridge.
Texture is available on the Update after the first scheduled Draw. Is Ready means a GPU-complete source frame was published, not that a consumer already presented it. Source Info reports the selected view and conversion. Error reports native/graphics failures.
Color and channels
All new addon frames are converted on the GPU to linear RGBA16F before sharing:
- Auto respects Source.ViewFormat. An sRGB view is decoded exactly once; a non-sRGB view is treated as linear.
- Linear bypasses transfer decoding. Use for masks, data and textures already in linear light.
- SRgb explicitly decodes RGB from sRGB. Use when an image contains sRGB-encoded pixels but its view is labelled UNORM. Alpha is not gamma-decoded.
- Channel Mapping Auto replicates single-channel R inputs to RGB. A8 is displayed as grayscale with opaque alpha. RG inputs preserve RG with missing components supplied by the view.
- RGBA preserves the sampled channels. Red/Green/Blue/Alpha display the selected channel as grayscale; Alpha mapping makes the result opaque.
- Unpremultiply Alpha is optional and false by default. When enabled it divides RGB by alpha after transfer decoding, in linear light; RGB becomes zero for near-zero alpha. It is not an automatic alpha-format detector.
An exact middle-gray check is useful: linear input 0.5 stays 0.5; sRGB input 0.5 becomes approximately 0.214041 in linear light. Black 0 and white 1 remain unchanged by the transfer alone. If black/white endpoints still differ, inspect material lighting, tone mapping, exposure, alpha compositing and color grading. The bridge does not bypass Polynesia's rendering or display pipeline.
Source formats and views
The converter reads the selected ViewFormat, MipLevel and ArraySlice; it copies that subresource into a private sampling texture before conversion. Typeless backing is supported when the source supplies a compatible typed view. Sampling is point-filtered at matching pixel centers, without resizing or flipping.
Supported source view families, subject to device sampling support:
- RGBA8 UNORM/sRGB/SNORM, BGRA8 and BGRX8 UNORM/sRGB.
- RGB10A2 UNORM, R11G11B10_FLOAT, R9G9B9E5 shared exponent.
- RGBA16 FLOAT/UNORM/SNORM and RGB/RGBA32 FLOAT.
- R8/A8, R16, R32F, RG8, RG16 and RG32F; normalized, signed-normalized or floating variants listed by the converter.
- BC1/2/3/7 UNORM/sRGB, BC4/5 UNORM/SNORM and BC6H UF16/SF16. GPU texture sampling decodes compressed blocks.
DEFAULT or IMMUTABLE source usage, one selected 2D slice/mip, no MSAA, maximum selected dimensions 8192x8192. This exports one selected slice/face, not an entire array/cubemap. Depth-stencil, UINT/SINT and planar video formats are rejected; they need explicit source conversion. There is no implicit PQ/HLG transfer or gamut conversion.
RGBA16F preserves HDR values up to 65504 and negative values. Values outside its finite range are clamped; NaN becomes zero. Conversion from 16-bit normalized or 32-bit float sources can lose precision. It is not a bit-preserving data/buffer transport. Every output is one-mip RGBA16F, eight bytes per pixel, plus three shared slots and a source scratch resource.
Resource and scheduling contract
Same GPU adapter only, DX11 Device5/Context4 and DX12 support. One Polynesia renderer consumer per bridge; create a second bridge for a second window or an independent texture preview. No CPU pixel readback or disk intermediary.
The converter switches to a private DX11 context-state object and restores the host's full pipeline state after its draw. Its HLSL bytecode is compiled lazily once on first application use, then cached; shader objects are created per producer. No compiler/build has been run while preparing these source changes. Initial use or recreation can therefore have initialization cost, unlike steady-state copies.
Ready/done fences and three producer slots remain bounded. Publication never blocks waiting for an unfinished source copy. Replaced, unconsumed frames are returned safely. Normal teardown retires outstanding frames asynchronously. A faulted submission may still report a retryable render-thread close error.
Direct material/sprite paths are supported. CPU pixel sampling and texture recipes reject GPU-only descriptors. Progressive path history is invalidated for new copied content. Disabled/disconnected sources are closed on their next scheduled Draw. All immediate-context operations and node disposal belong on the owning Stride render thread.
Independence and building
The addon references prebuilt host assemblies with CopyLocal=false. It does not build or bundle Polynesia, Stride or SharpDX. The core contains only generic external-texture support, without a dependency on the addon or VL.Stride.Runtime.
To stage sources without compiling:
& 'C:\2027\SLOP_Nemotron\addons\SLOPS.Stride\prepare-and-build.ps1' -Destination 'C:\2027\Polynesia.Stride' -PrepareOnly
Before building this addon, build/deploy both updated core DLLs separately. Older RGBA8-only core binaries cannot consume the new RGBA16F output. The build script checks the managed SupportedFormatVersion metadata marker; both native and managed core files must match.
When compilation is explicitly requested:
& 'C:\2027\Polynesia.Stride\build-ninja.ps1' -PolynesiaAssemblyPath 'C:\2027\VL.Polynesia\lib\net8.0\Polynesia.dll'
Requires .NET SDK 8+, CMake 3.24+, Ninja, Visual Studio C++ x64 tools and Windows SDK. Default GammaSdkPath is C:\Program Files\vvvv\vvvv_gamma_7.4-win-x64. The native addon links d3dcompiler for its application-time conversion shader initialization.
Compiled output is output\Release\Polynesia.Stride.dll and Polynesia.Stride.Native.dll. build-ninja.ps1 also creates an intermediate package\Polynesia.Stride directory.
Export the independent vvvv/NuGet package
After a successful explicit build:
& 'C:\2027\Polynesia.Stride\package-vvvv.ps1'
This packages existing outputs only. It writes C:\2027\VL.Polynesia.Stride with VL.Polynesia.Stride.vl, VL.Polynesia.Stride.nuspec, lib\net8.0 and VL.Polynesia.Stride.0.2.0.nupkg. Use -Overwrite to replace an existing archive. If nuget.exe is absent, the script downloads the Microsoft-signed NuGet CLI from dist.nuget.org; for offline use supply -NuGetPath.
Add C:\2027 to vvvv's package repositories to discover the exported package directory, or install the .nupkg from a local feed. Restart vvvv when replacing loaded binaries. No package is published to a server automatically.
Verification
Source syntax, host references, XML/VL structure and contract layouts are checked without building. Compilation, live node/pin discovery, automatic scheduling with no window, conversion colors, BC sampling, device compatibility and GPU performance still require runtime validation. See REVIEW.md and INTEROP-DESIGN.md.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
- VL.Polynesia (= 0.36.245-preview.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.2.5 | 84 | 11/20/2026 |