357 B
357 B
OpenGLTexture::SetFormat
void SetFormat(Format format)
设置纹理格式。
参数:
format- 纹理格式(Format枚举值)
示例:
texture.SetFormat(Format::R8G8B8A8_UNorm);
相关文档
- OpenGLTexture - 返回类总览
- GetFormat - 获取纹理格式