Static ReadonlyCurrentTexture uniform placeholder using the texture bound to the current object at draw time.
Static ReadonlyTypeShader stage enumeration.
Returns the OpenGL program identifier, or 0 if compilation has not succeeded.
Compiles files asynchronously; accepts a file and stage, vertex/fragment files, or vertex/geometry/fragment files.
...sourcesCompiles GLSL source asynchronously; argument order matches loadFromFile. Returns whether compilation and linking succeeded.
...sourcesReads UTF-8 GLSL from input streams and compiles asynchronously; stage order matches loadFromFile.
...sourcesSets a uniform; number defaults to float. Texture arguments retain references; other values are copied synchronously.
namevalueSets a numeric uniform explicitly as GLSL float or int, first submitting recorded draws.
namevaluetypeSynchronously uploads a homogeneous array of floats, floating-point vectors or matrices, first submitting recorded draws.
namevaluesStaticbindBinds a program for direct OpenGL operations; null unbinds it.
shaderStaticisReturns whether the current environment supports shaders.
StaticisReturns whether the current environment supports geometry shaders.
Readonly[graphicsReadonly[shader
Native-owned program; source loading and compilation run asynchronously.