Create a new cube primitive
WebGL2RenderingContext
Size of the cube
Optional
tilingFactor: numberProtected
bufferReadonly
sizeProtected
trianglesRender is used draw this primitive, this is called from the Instance that wraps this renderable.
Optional
materialOverride: MaterialOptional
programOverride: ProgramInfo
A simple cube primitive with a given size