# RHIFramebuffer::GetWidth 获取帧缓冲的宽度。 ```cpp virtual uint32_t GetWidth() const = 0; ``` **返回:** `uint32_t` - 帧缓冲宽度(像素) **线程安全:** ✅ **示例:** ```cpp uint32_t width = framebuffer->GetWidth(); ```