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

Function GetAttachmentBufferType

engine/graphics/src/graphics.cpp:344–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342 }
343
344 static inline BufferType GetAttachmentBufferType(RenderTargetAttachment attachment)
345 {
346 static AttachmentToBufferType g_AttachmentToBufferType;
347 assert(attachment < MAX_ATTACHMENT_COUNT);
348 return g_AttachmentToBufferType.m_AttachmentToBufferType[attachment];
349 }
350
351 static ShaderDesc::Shader* HasShader(ShaderDesc* shader_desc, ShaderDesc::ShaderType shader_type)
352 {

Callers 1

Calls 1

assertFunction · 0.50

Tested by

no test coverage detected