提交 e84c46ef 编写于 作者: M Mr.doob

CanvasRenderer: Parity with WebGLRenderer.

上级 cea255d2
......@@ -144,7 +144,19 @@ THREE.CanvasRenderer = function ( parameters ) {
this.supportsVertexTextures = function () {};
this.setFaceCulling = function () {};
//
// API
this.getContext = function () {
return _context;
};
this.getContextAttributes = function () {
return _context.getContextAttributes();
};
this.getPixelRatio = function () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册