fluid.resolution_override

ResolutionOverride forcefully changes the resolution a node is drawn in, overriding layout hints. This is useful if Fluid's graphical output is transformed as a post-process step that demands a specific output size. This is commonly the case with Raylib's RenderTexture, or Parin's resolution lock.

Note that scaling Fluid's output as a post-process step will reduce quality, likely making text blurry. It remains useful for pixel art-style applications with bitmap fonts, but for other usecases, check with the CanvasIO system provider if it supports scaling. For Raylib, you can use fluid.raylib.RaylibView.scale.

Members

Aliases

resolutionOverride
alias resolutionOverride(alias base) = nodeBuilder!(ResolutionOverride, base)

Node builder for ResolutionOverride. It is a template, accepting the base node type (like resolutionOverride!Frame) or another node builder (for example resolutionOverride!hframe).

Classes

ResolutionOverride
class ResolutionOverride(T : Node)

This node sets a static resolution for its content, ignoring (overriding) whatever layout was assigned by its parent.

Meta