MCPcopy Create free account
hub / github.com/ImageEngine/cortex / getColor

Method getColor

src/IECoreGL/FrameBuffer.cpp:127–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127TexturePtr FrameBuffer::getColor( unsigned int index )
128{
129 if( index >= m_colorAttachments.size() )
130 {
131 return nullptr;
132 }
133 return m_colorAttachments[index];
134}
135
136ConstTexturePtr FrameBuffer::getColor( unsigned int index ) const
137{

Callers 2

displayMethod · 0.80
endIDRenderMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected