AnyCAD Rapid API 2023
Help you to create a better world!
载入中...
搜索中...
未找到
RawShader类 参考

Public 成员函数

 RawShader (String uniqueName, String vs, String fs)
 
String GetName ()
 
long GetUniqueId ()
 
UniformSet GetUniforms ()
 
String GetVertexShader ()
 
String GetFragmentShader ()
 
boolean GetStatic ()
 
void SetStatic (boolean val)
 
void SetUniform (String name, boolean 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, Vector4 val)
 
void SetUniform (String name, Matrix3 val)
 
void SetUniform (String name, Matrix4 val)
 
void SetUniform (String name, Matrix2 val)
 
void SetUniformBool (String name, boolean val)
 
void SetUniformInt (String name, int val)
 
void SetUniformTextureUnit (String name, EnumTextureUnit val)
 
void SetUniformFloat (String name, float val)
 
void SetUniformVec2 (String name, Vector2 val)
 
void SetUniformVec3 (String name, Vector3 val)
 
void SetUniformVec4 (String name, Vector4 val)
 
void SetUniformMat2 (String name, Matrix2 val)
 
void SetUniformMat3 (String name, Matrix3 val)
 
void SetUniformMat4 (String name, Matrix4 val)
 
void BindUniformBlock (String blockname, String bindingPoint)
 
boolean HasBindingPoint (String bindingPoint)
 
void Dump (String outdir)
 

详细描述

<> The raw shader.