Fixed incorrect links in RHI documentation: - Fixed OpenGL swap-chain docs with wrong references to threading/containers - Fixed OpenGL texture docs with incorrect buffer/ texture links - Fixed OpenGL vertex-array docs with wrong threading links - Fixed OpenGL sampler docs with wrong threading links - Fixed OpenGL device docs with incorrect swap-chain links - Fixed fence docs with incorrect command-queue links - Fixed command-list docs with missing shutdown link - Fixed get-framebuffer-size.md title mismatch Added missing documentation: - Created fence/wait.md - Created command-list/shutdown.md - Created swap-chain/resize.md - Created OpenGL sampler initialize.md, bind.md, unbind.md
378 B
378 B
OpenGLSwapChain::SetFramebufferSize
void SetFramebufferSize(int width, int height);
设置帧缓冲区大小。
参数:
width- 帧缓冲区宽度height- 帧缓冲区高度
线程安全: ❌
示例:
swapChain->SetFramebufferSize(1920, 1080);
相关文档
- OpenGLSwapChain 总览 - 返回类总览