一:概述
本文介绍如何为 GLSL 语言中增加一个内置函数,以https://registry.khronos.org/OpenGL/extensions/ARB/ARB_shader_texture_image_samples.txt扩展为例,介绍下添加textureSamples内置函数的过程。
本文介绍如何为 GLSL 语言中增加一个内置函数,以https://registry.khronos.org/OpenGL/extensions/ARB/ARB_shader_texture_image_samples.txt扩展为例,介绍下添加textureSamples内置函数的过程。