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

Function GetRenderTargetAttachment

engine/graphics/src/graphics.cpp:1901–1904  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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));
1904 }
1905 HTexture GetRenderTargetTexture(HContext context, HRenderTarget render_target, BufferType buffer_type)
1906 {
1907 GraphicsContext* gc = (GraphicsContext*)context;

Callers 1

TEST_FFunction · 0.85

Calls 2

GetRenderTargetTextureFunction · 0.85
GetAttachmentBufferTypeFunction · 0.85

Tested by 1

TEST_FFunction · 0.68