会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
MKing's Kingdom
While Muse thought he wouldn't get lost...
博客园
首页
新随笔
联系
订阅
管理
2011年11月29日
WebGL笔记(一):起步
摘要: 一、获取WebGL上下文 首先从DOM树里按传统方法获取canvas节点。类似以下大路货代码: $ : function(id){ return typeof id == 'string' ? document.getElementById(id) : id; }然后调用canvas的getContext方法获取WebGL对象:...
阅读全文
posted @ 2011-11-29 19:53 MKing's Kindom
阅读(3380)
评论(4)
推荐(3)
编辑
公告