-
Notifications
You must be signed in to change notification settings - Fork 17
shader_program
CapsAdmin edited this page Dec 9, 2017
·
3 revisions
- shader_program:BindAttribLocation(i, name)
- shader_program:BindShaderBlock(block_index, where)
- shader_program:BindUniformBuffer(block_index, where)
- shader_program:Bind()
- shader_program:CompileShader(type, source)
- shader_program:CreateObject(meta, override, skip_gc_callback)
- shader_program:GetProperties()
- shader_program:GetUniformLocation(key)
- shader_program:Link()
- shader_program:OnRemove()
- shader_program:UploadBoolean(key, val)
- shader_program:UploadColor(key, val)
- shader_program:UploadInteger(key, val)
- shader_program:UploadMatrix33(key, val)
- shader_program:UploadMatrix44(key, val)
- shader_program:UploadNumber(key, val)
- shader_program:UploadTexture(key, val)
- shader_program:UploadVec2(key, val)
- shader_program:UploadVec3(key, val)