Cleanup: Renamed compositor executePixel functions and their 'read' wrappers in SocketReader.
Distinguish the 3 different methods for acquiring pixel color values (executePixel, executePixelSampled, executePixelFiltered). This makes it easier to keep track of the different sampling methods (and works nicer with IDEs that do code parsing). Differential Revision: http://developer.blender.org/D7
This commit is contained in:
@@ -39,9 +39,9 @@ void SocketProxyOperation::deinitExecution()
|
||||
this->m_inputOperation = NULL;
|
||||
}
|
||||
|
||||
void SocketProxyOperation::executePixel(float output[4], float x, float y, PixelSampler sampler)
|
||||
void SocketProxyOperation::executePixelSampled(float output[4], float x, float y, PixelSampler sampler)
|
||||
{
|
||||
if (this->m_inputOperation) {
|
||||
this->m_inputOperation->read(output, x, y, sampler);
|
||||
this->m_inputOperation->readSampled(output, x, y, sampler);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user