From f1499747e87546f77199caffa229dc51d2b1ee44 Mon Sep 17 00:00:00 2001 From: 06wj <06wj@163.com> Date: Fri, 3 Jul 2020 13:05:56 +0800 Subject: [PATCH] update .d.ts --- types/index.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/types/index.d.ts b/types/index.d.ts index f8b245e2..8d4125f5 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1649,6 +1649,14 @@ declare class WebGLRenderer implements EventMixin { * 初始化 context */ initContext(): void; + /** + * state,初始化后生成。 + */ + state: WebGLState; + /** + * framebuffer,只在 useFramebuffer 为 true 时初始化后生成 + */ + framebuffer: Framebuffer; /** * 设置深度检测 * @param material