void bindAndSetUniforms(Shader& shader, TextureUnitContainer& cont, ImageOutport& port, ImageType type) { bindAndSetUniforms(shader, cont, *port.getData(), port.getIdentifier(), type); }
void setShaderUniforms(Shader& shader, const ImageOutport& outport, const std::string samplerID) { setShaderUniforms(shader, *outport.getData(), samplerID.empty() ? outport.getIdentifier() + "Parameters" : samplerID); }