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