# OpenGLPipelineState::SetRenderTargetFormats() ```cpp void SetRenderTargetFormats(uint32_t count, const uint32_t* formats, uint32_t depthFormat) override; ``` ## 作用 为统一 RHI 接口预留 render target / depth format 描述入口。 ## 当前实现行为 - 空实现 - `count`、`formats`、`depthFormat` 当前都不会被记录 ## 注意事项 这意味着当前 OpenGL pipeline state 不会基于目标格式做任何兼容性判断或 program 变体区分。 ## 相关文档 - [SetSampleCount](SetSampleCount.md) - [GetHash](GetHash.md)