This patch adds a utility function for nearest interpolation with clamped boundaries and normalized coordinates to the MemoryBuffer class. Similar to the GLSL texture() function.
This patch adds a utility function for nearest interpolation with clamped boundaries and normalized coordinates to the MemoryBuffer class. Similar to the GLSL texture() function.