Minor change in shader api (const ref)