From RealMotion Wiki

You can refer yourself to the Shader 2D and Model Shader online document pages to learn how to use them, or follow these links for tips on how to write shaders.

Internal references:
Shader Edition Guidelines
Material Shaders Introduction

External references:
Microsoft programming guide for HLSL