Notes specific to the Web version

[Last updated: 01/18/2019]

 

Pass WebGL context, etc. to renderer

To improve performance, CubismWebSamples refrains from using WebGL getters in the loop and passes them cached on the application side.
Frame buffer and viewport information must be passed to the renderer before drawing.

 

 

Allocator, memory-related description

Unlike the Native version, variables and objects that are no longer needed are freed by garbage collection and must be properly dereferenced.

 

About Texture Formats

The Web version requires UNPACK_PREMULTIPLY_ALPHA_WEBGL to be set to true when generating textures because the library's rendering method is the Premultiplied method.

© 2010 - 2022 Live2D Inc.