-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs: Added FramebufferTexture page. (#22917)
- Loading branch information
Showing
5 changed files
with
102 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<base href="../../../" /> | ||
<script src="page.js"></script> | ||
<link type="text/css" rel="stylesheet" href="page.css" /> | ||
</head> | ||
<body> | ||
[page:Texture] → | ||
|
||
<h1>[name]</h1> | ||
|
||
<p class="desc"> | ||
This class can only be used in combination with [page:WebGLRenderer.copyFramebufferToTexture](). | ||
</p> | ||
|
||
<h2>Constructor</h2> | ||
<h3>[name]( [param:Number width], [param:Number height], [param:Constant format] )</h3> | ||
<p> | ||
[page:Number width] -- The width of the texture.<br /> | ||
|
||
[page:Number height] -- The height of the texture.<br /> | ||
|
||
[page:Constant format] -- The format used in the texture. | ||
See [page:Textures format constants] for other choices.<br /> | ||
</p> | ||
|
||
|
||
<h2>Properties</h2> | ||
|
||
<p>See the base [page:Texture Texture] class for common properties.</p> | ||
|
||
<h3>[property:Boolean needsUpdate]</h3> | ||
|
||
<p> | ||
True by default. This is required so that the canvas data is loaded. | ||
</p> | ||
|
||
<h2>Methods</h2> | ||
|
||
<p>See the base [page:Texture Texture] class for common methods.</p> | ||
|
||
|
||
<h2>Source</h2> | ||
|
||
<p> | ||
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js] | ||
</p> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<!DOCTYPE html> | ||
<html lang="zh"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<base href="../../../" /> | ||
<script src="page.js"></script> | ||
<link type="text/css" rel="stylesheet" href="page.css" /> | ||
</head> | ||
<body> | ||
[page:Texture] → | ||
|
||
<h1>[name]</h1> | ||
|
||
<p class="desc"> | ||
This class can only be used in combination with [page:WebGLRenderer.copyFramebufferToTexture](). | ||
</p> | ||
|
||
<h2>Constructor</h2> | ||
<h3>[name]( [param:Number width], [param:Number height], [param:Constant format] )</h3> | ||
<p> | ||
[page:Number width] -- The width of the texture.<br /> | ||
|
||
[page:Number height] -- The height of the texture.<br /> | ||
|
||
[page:Constant format] -- The format used in the texture. | ||
See [page:Textures format constants] for other choices.<br /> | ||
</p> | ||
|
||
|
||
<h2>Properties</h2> | ||
|
||
<p>See the base [page:Texture Texture] class for common properties.</p> | ||
|
||
<h3>[property:Boolean needsUpdate]</h3> | ||
|
||
<h2>Methods</h2> | ||
|
||
<p>See the base [page:Texture Texture] class for common methods.</p> | ||
|
||
|
||
<h2>Source</h2> | ||
|
||
<p> | ||
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js] | ||
</p> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters