MCPcopy Create free account
hub / github.com/defold/defold / GetAdapterVersion

Function GetAdapterVersion

engine/graphics/src/graphics.cpp:1895–1900  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1893 limits = gc->m_Limits;
1894 }
1895 void GetAdapterVersion(HContext context, uint16_t& major, uint16_t& minor)
1896 {
1897 GraphicsContext* gc = (GraphicsContext*) context;
1898 major = gc->m_AdapterVersionMajor;
1899 minor = gc->m_AdapterVersionMinor;
1900 }
1901 HTexture GetRenderTargetAttachment(HContext context, HRenderTarget render_target, RenderTargetAttachment attachment)
1902 {
1903 return GetRenderTargetTexture(context, render_target, GetAttachmentBufferType(attachment));

Callers 1

Graphics_GetAdapterInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected