|
AnyCAD Rapid API 2026
Help you to create a better world!
|
完整的Shader. 更多...
Public 成员函数 | |
| RawShader (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| 仅供内部使用 | |
| void | Dispose () |
| RawShader (string uniqueName, string vs, string fs) | |
| 构造函数 | |
| string | GetName () |
| uint | GetUniqueId () |
| UniformSet | GetUniforms () |
| string | GetVertexShader () |
| string | GetFragmentShader () |
| bool | GetStatic () |
| void | SetStatic (bool val) |
| void | SetUniform (string name, bool val) |
| void | SetUniform (string name, int val) |
| void | SetUniform (string name, EnumTextureUnit val) |
| void | SetUniform (string name, float val) |
| void | SetUniform (string name, Vector2 val) |
| void | SetUniform (string name, Vector3 val) |
| void | SetUniform (string name, Vector3d val) |
| void | SetUniform (string name, Vector4 val) |
| void | SetUniform (string name, Matrix3 val) |
| void | SetUniform (string name, Matrix4 val) |
| void | SetUniform (string name, Matrix2 val) |
| void | BindUniformBlock (string blockname, string bindingPoint) |
| bool | HasBindingPoint (string bindingPoint) |
| void | Dump (string outdir) |
完整的Shader.
Group: Rendering
| AnyCAD.Foundation.RawShader.RawShader | ( | string | uniqueName, |
| string | vs, | ||
| string | fs ) |
构造函数
| uniqueName | 唯一的名称 |
| vs | 顶点着色程序 |
| fs | 片段着色程序 |