1240 WebGL

377 178 0
1240 WebGL

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

... Accessing a WebGL context 13 Time for action – accessing the WebGL context 13 WebGL is a state machine 15 Time for action – setting up WebGL context attributes 15 Using the context to access the WebGL. .. the structure of a WebGL application ‹‹ Set up your drawing area (canvas) ‹‹ Test your browser's WebGL capabilities ‹‹ Understand that WebGL acts as a state machine ‹‹ Modify WebGL variables that... quickly check if your current configuration supports WebGL, please visit this link: http://get .webgl. org/ What kind of rendering does WebGL offer? WebGL is a 3D graphics library that enables modern

Ngày đăng: 11/07/2018, 16:15

Từ khóa liên quan

Mục lục

  • Cover

  • Copyright

  • Credits

  • About the Authors

  • Acknowledgement

  • About the Reviewers

  • www.PacktPub.com

  • Table of Contents

  • Preface

  • Chapter 1: Getting Started with WebGL

    • System requirements

    • What kind of rendering does WebGL offer?

    • Structure of a WebGL application

    • Creating an HTML5 canvas

    • Time for action – creating an HTML5 canvas

      • Defining a CSS style for the border

      • Understanding canvas attributes

      • What if the canvas is not supported?

      • Accessing a WebGL context

      • Time for action – accessing the WebGL context

      • WebGL is a state machine

      • Time for action – setting up WebGL context attributes

        • Using the context to access the WebGL API

Tài liệu cùng người dùng

Tài liệu liên quan