Struct RasterValidBorder

Valid-only border policy.

struct RasterValidBorder;

No outside sample is synthesized.

A spatial operation using this policy succeeds only when every required source coordinate is already resident/valid under that operation's source contract.

This is the semantic behavior of the existing neighbourhood primitives.

Example

Example selecting valid-only border semantics.

import raster;
static assert(RasterValidBorder.kind == RasterBorderKind.valid);