MCPcopy Create free account
hub / github.com/crownengine/crown / createFrameBuffer

Function createFrameBuffer

3rdparty/bgfx/src/bgfx.cpp:5149–5154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 4

createMethod · 0.85
updateMethod · 0.85
createMethod · 0.85
resetMethod · 0.85

Calls 7

createTexture2DFunction · 0.85
isColorFunction · 0.85
isDepthFunction · 0.85
EnumEnum · 0.70
getNameFunction · 0.70
initMethod · 0.45
createFrameBufferMethod · 0.45

Tested by

no test coverage detected