Skip to content

Commit

Permalink
Merge pull request #13491 from Mugen87/dev7
Browse files Browse the repository at this point in the history
Renderers: Clean up
  • Loading branch information
mrdoob authored Mar 7, 2018
2 parents 799f87a + bcfbd54 commit f9ea7b6
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 25 deletions.
6 changes: 0 additions & 6 deletions docs/api/renderers/WebGLRenderer.html
Original file line number Diff line number Diff line change
Expand Up @@ -433,12 +433,6 @@ <h3>[method:null setScissorTest]( [param:Boolean boolean] )</h3>
scissor area will be affected by further renderer actions.
</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>
<div>
Resizes the output canvas to (width, height) with device pixel ratio taken into account,
Expand Down
2 changes: 0 additions & 2 deletions docs/examples/renderers/CanvasRenderer.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,6 @@ <h2>Empty Methods to Maintain Compatibility with [page:WebglRenderer]</h2>
[method:null clearColor]()<br/>
[method:null clearDepth]()<br/>
[method:null clearStencil]()<br/>
[method:null setFaceCulling]()<br/>
[method:null supportsVertexTextures]()<br/>
[method:number getMaxAnisotropy]() - returns 1 <br/>
</div>

Expand Down
2 changes: 0 additions & 2 deletions examples/js/renderers/CSS3DRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ THREE.CSS3DRenderer = function () {

var isIE = /Trident/i.test( navigator.userAgent );

this.setClearColor = function () {};

this.getSize = function () {

return {
Expand Down
5 changes: 0 additions & 5 deletions examples/js/renderers/CanvasRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,6 @@ THREE.CanvasRenderer = function ( parameters ) {

};

// WebGLRenderer compatibility

this.supportsVertexTextures = function () {};
this.setFaceCulling = function () {};

// API

this.getContext = function () {
Expand Down
5 changes: 0 additions & 5 deletions examples/js/renderers/SVGRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,6 @@ THREE.SVGRenderer = function () {

};

// WebGLRenderer compatibility

this.supportsVertexTextures = function () {};
this.setFaceCulling = function () {};

this.setClearColor = function ( color, alpha ) {

_clearColor.set( color );
Expand Down
5 changes: 0 additions & 5 deletions examples/js/renderers/SoftwareRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,6 @@ THREE.SoftwareRenderer = function ( parameters ) {

this.autoClear = true;

// WebGLRenderer compatibility

this.supportsVertexTextures = function () {};
this.setFaceCulling = function () {};

this.setClearColor = function ( color ) {

clearColor.set( color );
Expand Down

0 comments on commit f9ea7b6

Please sign in to comment.