-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15051 from Mugen87/dev2
Docs: Added DataTexture3D page
- Loading branch information
Showing
3 changed files
with
104 additions
and
0 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
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="list.js"></script> | ||
<script src="page.js"></script> | ||
<link type="text/css" rel="stylesheet" href="page.css" /> | ||
</head> | ||
<body> | ||
[page:Texture] → | ||
|
||
<h1>[name]</h1> | ||
|
||
<p class="desc">Creates a three-dimensional texture. This type of texture can only be used with a WebGL 2 rendering context.</p> | ||
|
||
<h2>Constructor</h2> | ||
|
||
<h3>[name]( [param:TypedArray data], [param:Number width], [param:Number height], [param:Number depth] )</h3> | ||
<p> | ||
[page:Object data] -- data of the texture.<br /> | ||
|
||
[page:Number width] -- width of the texture.<br /> | ||
|
||
[page:Number height] -- height of the texture.<br /> | ||
|
||
[page:Number depth] -- depth of the texture. | ||
</p> | ||
|
||
<h2>Example</h2> | ||
|
||
<div>[example:webgl2_materials_texture3d WebGL2 / materials / texture3d]</div> | ||
<div>[example:webgl2_materials_texture3d_volume WebGL2 / materials / texture3d / volume]</div> | ||
|
||
<h2>Properties</h2> | ||
|
||
<p> | ||
See the base [page:Texture Texture] class for common properties. | ||
</p> | ||
|
||
<h2>Methods</h2> | ||
|
||
<p> | ||
See the base [page:Texture Texture] class for common methods. | ||
</p> | ||
|
||
<h2>Source</h2> | ||
|
||
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js] | ||
</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
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="list.js"></script> | ||
<script src="page.js"></script> | ||
<link type="text/css" rel="stylesheet" href="page.css" /> | ||
</head> | ||
<body> | ||
[page:Texture] → | ||
|
||
<h1>[name]</h1> | ||
|
||
<p class="desc">Creates a three-dimensional texture. This type of texture can only be used with a WebGL 2 rendering context.</p> | ||
|
||
<h2>Constructor</h2> | ||
|
||
<h3>[name]( [param:TypedArray data], [param:Number width], [param:Number height], [param:Number depth] )</h3> | ||
<p> | ||
[page:Object data] -- data of the texture.<br /> | ||
|
||
[page:Number width] -- width of the texture.<br /> | ||
|
||
[page:Number height] -- height of the texture.<br /> | ||
|
||
[page:Number depth] -- depth of the texture. | ||
</p> | ||
|
||
<h2>Example</h2> | ||
|
||
<div>[example:webgl2_materials_texture3d WebGL2 / materials / texture3d]</div> | ||
<div>[example:webgl2_materials_texture3d_volume WebGL2 / materials / texture3d / volume]</div> | ||
|
||
<h2>Properties</h2> | ||
|
||
<p> | ||
See the base [page:Texture Texture] class for common properties. | ||
</p> | ||
|
||
<h2>Methods</h2> | ||
|
||
<p> | ||
See the base [page:Texture Texture] class for common methods. | ||
</p> | ||
|
||
<h2>Source</h2> | ||
|
||
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js] | ||
</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