Skip to Main Content
WebGL Insights
book

WebGL Insights

by Patrick Cozzi
August 2015
Intermediate to advanced content levelIntermediate to advanced
416 pages
16h 58m
English
A K Peters/CRC Press
Content preview from WebGL Insights
162 10. Rendering Optimizations in the Turbulenz Engine
Index buer: optional, for indexed primitives
Index buer oset: start of the used region on the index buer
Primitives count: the number of primitives to render
Primitive type: triangle list, triangle strip, etc.
Technique: the shading technique to be used to render this geometry
Technique parameters: a dictionary containing the custom shading parameters
for this geometry—for example, the world location, the material color, the diuse
texture, etc.
User data object: used to group geometries by framebuer, opacity, etc.
Sort key: used to sort geometries belonging to t
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning HTML5 Game Programming: Build Online Games with Canvas, SVG, and WebGL

Learning HTML5 Game Programming: Build Online Games with Canvas, SVG, and WebGL

James L. Williams

Publisher Resources

ISBN: 9781498716079