⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

MaterialBuffer.Set

void Set(T& data)

This will upload your data to the GPU for shaders to use.

   
T& data The data you wish to upload to the GPU.




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