- Fix link resolution with proper relative/absolute path handling - Improve link styling with underline decoration - Hide leaf nodes from tree, only show directories - Fix log file path for packaged app
570 B
570 B
OpenGLRenderTargetView::InitializeCubemap
bool InitializeCubemap(unsigned int cubemap, int face, int mipLevel = 0)
初始化立方体贴图的渲染目标视图。
参数:
cubemap- 立方体贴图对象 IDface- 立方体贴面索引(0-5)mipLevel- mipmap 级别(默认为 0)
返回: bool - 成功返回 true,失败返回 false
示例:
OpenGLRenderTargetView rtv;
rtv.InitializeCubemap(cubemapTexture, 0, 0);
相关文档
- OpenGLRenderTargetView - 返回类总览