Shader.FromMemory

static Shader FromMemory(Byte[]& data)

Creates a shader asset from a precompiled StereoKit Shader file stored as bytes!

   
Byte[]& data A precompiled StereoKit Shader file as bytes.
RETURNS: Shader A shader from the given data, or null if it failed to load/compile.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!