sfml.js
    Preparing search index...

    Class RenderWindow

    同时支持 Window 窗口操作和 RenderTarget 二维绘制的窗口。

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    "[graphicsNative]": NativeGraphicsHandle<"window">

    Methods

    • Returns ReadonlySet<
          Readonly<
              Pick<
                  Texture,
                  | "getSize"
                  | typeof graphicsNative
                  | typeof textureId
                  | typeof textureOwner
                  | "copyToImage"
                  | "isSmooth"
                  | "isRepeated"
                  | "isSrgb"
                  | "getNativeHandle",
              >,
          >,
      >

    • Returns the created VkSurfaceKHR, or undefined when creation fails.

      Parameters

      • instance: bigint
      • allocator: bigint = 0n

      Returns undefined | bigint

    • 设置每秒最大 display 次数;0 取消帧率限制,等待发生在 display 中。

      Parameters

      • limit: number

      Returns void