| 5147 | } |
| 5148 | |
| 5149 | FrameBufferHandle createFrameBuffer(uint16_t _width, uint16_t _height, TextureFormat::Enum _format, uint64_t _textureFlags) |
| 5150 | { |
| 5151 | _textureFlags |= _textureFlags&BGFX_TEXTURE_RT_MSAA_MASK ? 0 : BGFX_TEXTURE_RT; |
| 5152 | TextureHandle th = createTexture2D(_width, _height, false, 1, _format, _textureFlags); |
| 5153 | return createFrameBuffer(1, &th, true); |
| 5154 | } |
| 5155 | |
| 5156 | FrameBufferHandle createFrameBuffer(BackbufferRatio::Enum _ratio, TextureFormat::Enum _format, uint64_t _textureFlags) |
| 5157 | { |