Method GL.GLSLUtils.VertexBuffer()->add_alias()
- Method
add_alias
voidadd_alias(stringname,stringname2,int|voidsize)- Description
Add
nameas an alias forname2. As an example add_alias( "normal", "pos") will make the vertex attribute normal have the same value as pos without using additional storage.The size can be smaller than the size for the original attribute, but never larger. If no size is given they will have the same size.