API 参考
正在准备搜索索引…

RenderTexture

sf::RenderTexture:录制 clear/draw,在调用 display 时提交。

继承关系

层级 (查看层级一览)

源码与继承
成员目录41

构造函数

属性

方法

构造函数

方法

  • 同步提交已录制绘制并更新结果纹理,之后才能采样本次绘制结果。

    返回值

    void
    源码与继承

符号成员

"[graphicsNative]": NativeGraphicsHandle<"renderTexture">
源码与继承
  • 返回值

    ReadonlySet<
        Readonly<
            Pick<
                Texture,
                | "getSize"
                | typeof graphicsNative
                | typeof textureId
                | typeof textureOwner
                | "copyToImage"
                | "isSmooth"
                | "isRepeated"
                | "isSrgb"
                | "getNativeHandle",
            >,
        >,
    >
    源码与继承

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