Skip to main content

WebGLConvertible

                            
                              
                                interface 
                                WebGLConvertible
                              
                              

Implemented by

  • BBox
  • Matrix2D
  • Spacing
  • Vector2

Methods

toUniform

                            
                              
                                public 
                                toUniform
                                
                                  
                                    
                                      gl
                                      : 
                                      WebGL2RenderingContext
                                    
                                    
                                      location
                                      : 
                                      WebGLUniformLocation
                                    
                                  
                                
                                : 
                                void
                              
                              

Parameters

  • gl : WebGL2RenderingContext
  • location : WebGLUniformLocation