API reference
Preparing search index…

Checked Rml::RenderManager resource factory.

Contexts using the same interface share a manager. An explicit constructor creates an independent manager owned until runtime shutdown, including native font-layer texture caches after wrapper GC. Shutdown releases fonts before owned managers and invalidates all managers. releaseRenderManagers invalidates only borrowed managers with no remaining contexts.

Source & inheritance
Member directory25

Constructors

Methods

Constructors

Methods

  • Invoke Rml::RenderManager::CompileFilter.

    Parameters

    name
    string

    Renderer filter name.

    parameters
    Readonly

    Copied native parameters, such as blur sigma.

    Returns

    Unique resource; isValid is false on invalid or unsupported input.

    Blur sigma is finite, nonnegative physical pixels (default 1). Drop-shadow defaults to sigma 0, zero offset and straight opaque black. Positive offset Y points down. Source alpha is shifted/tinted before blur; the source layer remains unchanged. Filter chains preserve list order.

    Source & inheritance
  • Compile a native gradient, creation effect or explicit GLSL program.

    Parameters

    name
    string

    Renderer shader name.

    parameters
    Readonly

    Copied effect dictionary or GLSL source and uniforms.

    Returns

    Unique resource; isValid is false when compilation fails.

    Gradients use resolved NUMBER stops and local pixel coordinates; all stops are compiled without truncation. Creation uses normalized coordinates, positive dimensions and the SystemInterface clock. Invalid dictionaries or GPU compilation failures produce an invalid resource.

    Source & inheritance
  • Generate an owned SFML texture token for callback SetTextureHandle.

    Parameters

    source
    Uint8Array

    Unshared tightly packed premultiplied RGBA bytes.

    dimensions

    Positive integer pixel dimensions.

    Returns

    Transferable token, automatically released when unreferenced.

    Source & inheritance
  • Invoke Rml::RenderManager::LoadTexture with native lazy loading.

    Parameters

    source
    string

    Texture filename or resource name.

    documentPath
    string = ''

    Base document path for relative sources.

    Returns

    View retaining this manager; decoding occurs when needed.

    Source & inheritance
  • Invoke Rml::RenderManager::MakeGeometry with an immutable mesh snapshot.

    Parameters

    mesh

    Native mesh, consumed when its indices are nonempty.

    Returns

    Unique geometry retaining this manager.

    Source & inheritance
  • Invoke Rml::RenderManager::PopLayer for a layer pushed through this facade.

    Returns

    void

    Empty stacks and popping an upstream-owned effect layer throw.

    Source & inheritance
  • Invoke Rml::RenderManager::SetTransform.

    Parameters

    transform
    null | Float32Array

    Copied finite column-major matrix; null is identity. Buffer must be fixed and unshared; subviews are supported.

    Returns

    void

    Geometry and clip masks use the full homogeneous matrix after translation, with perspective-correct UVs and Z clipping at -10000 to 10000. Custom supplied vertex programs retain the SFML affine convention.

    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0