浏览代码

Renderers: Clean up

Mugen87 7 年之前
父节点
当前提交
bcfbd540ab

+ 0 - 6
docs/api/renderers/WebGLRenderer.html

@@ -433,12 +433,6 @@
 			scissor area will be affected by further renderer actions.
 			scissor area will be affected by further renderer actions.
 		</div>
 		</div>
 
 
-		<h3>[method:Boolean supportsVertexTextures]()</h3>
-		<div>
-		Return a [page:Boolean] true if the context supports vertex textures.
-		This has been deprecated in favour of [page:WebGLRenderer.capabilities capabilities.vertexTexures].
-		</div>
-
 		<h3>[method:null setSize]( [param:Integer width], [param:Integer height], [param:Boolean updateStyle] )</h3>
 		<h3>[method:null setSize]( [param:Integer width], [param:Integer height], [param:Boolean updateStyle] )</h3>
 		<div>
 		<div>
 		Resizes the output canvas to (width, height) with device pixel ratio taken into account,
 		Resizes the output canvas to (width, height) with device pixel ratio taken into account,

+ 0 - 2
docs/examples/renderers/CanvasRenderer.html

@@ -164,8 +164,6 @@
 			[method:null clearColor]()<br/>
 			[method:null clearColor]()<br/>
 			[method:null clearDepth]()<br/>
 			[method:null clearDepth]()<br/>
 			[method:null clearStencil]()<br/>
 			[method:null clearStencil]()<br/>
-			[method:null setFaceCulling]()<br/>
-			[method:null supportsVertexTextures]()<br/>
 			[method:number getMaxAnisotropy]() - returns 1 <br/>
 			[method:number getMaxAnisotropy]() - returns 1 <br/>
 		</div>
 		</div>
 
 

+ 0 - 2
examples/js/renderers/CSS3DRenderer.js

@@ -65,8 +65,6 @@ THREE.CSS3DRenderer = function () {
 
 
 	var isIE = /Trident/i.test( navigator.userAgent );
 	var isIE = /Trident/i.test( navigator.userAgent );
 
 
-	this.setClearColor = function () {};
-
 	this.getSize = function () {
 	this.getSize = function () {
 
 
 		return {
 		return {

+ 0 - 5
examples/js/renderers/CanvasRenderer.js

@@ -136,11 +136,6 @@ THREE.CanvasRenderer = function ( parameters ) {
 
 
 	};
 	};
 
 
-	// WebGLRenderer compatibility
-
-	this.supportsVertexTextures = function () {};
-	this.setFaceCulling = function () {};
-
 	// API
 	// API
 
 
 	this.getContext = function () {
 	this.getContext = function () {

+ 0 - 5
examples/js/renderers/SVGRenderer.js

@@ -79,11 +79,6 @@ THREE.SVGRenderer = function () {
 
 
 	};
 	};
 
 
-	// WebGLRenderer compatibility
-
-	this.supportsVertexTextures = function () {};
-	this.setFaceCulling = function () {};
-
 	this.setClearColor = function ( color, alpha ) {
 	this.setClearColor = function ( color, alpha ) {
 
 
 		_clearColor.set( color );
 		_clearColor.set( color );

+ 0 - 5
examples/js/renderers/SoftwareRenderer.js

@@ -73,11 +73,6 @@ THREE.SoftwareRenderer = function ( parameters ) {
 
 
 	this.autoClear = true;
 	this.autoClear = true;
 
 
-	// WebGLRenderer compatibility
-
-	this.supportsVertexTextures = function () {};
-	this.setFaceCulling = function () {};
-
 	this.setClearColor = function ( color ) {
 	this.setClearColor = function ( color ) {
 
 
 		clearColor.set( color );
 		clearColor.set( color );