Namespace: dmGraphics
Language: C++
Type: Defold C++
File: graphics_opengl.h
Source: engine/graphics/src/dmsdk/graphics/graphics_opengl.h
Include: dmsdk/graphics/graphics_opengl.h
Graphics OpenGL API
Type: FUNCTION Get the default framebuffer ID
Parameters
context (dmGraphics::HContext) - the OpenGL contextReturns
framebuffer (uint32_t) - the framebuffer idType: FUNCTION Get the OpenGL render target id from a render target
Parameters
context (dmGraphics::HContext) - the OpenGL contextrender_target (dmGraphics::HRenderTarget) - the render target to get the ID fromReturns
id (uint32_t) - the OpenGL render target id