|
@@ -12,7 +12,7 @@
|
|
|
|
|
|
<h1>[name]</h1>
|
|
<h1>[name]</h1>
|
|
|
|
|
|
- <p class="desc">Creates an array of textures directly from raw data, width and height and depth.</p>
|
|
|
|
|
|
+ <p class="desc">Creates an array of textures directly from raw data, width and height and depth. This type of texture can only be used with a WebGL 2 rendering context.</p>
|
|
|
|
|
|
|
|
|
|
<h2>Constructor</h2>
|
|
<h2>Constructor</h2>
|
|
@@ -68,6 +68,12 @@
|
|
texture.type = THREE.UnsignedByteType;
|
|
texture.type = THREE.UnsignedByteType;
|
|
</code>
|
|
</code>
|
|
|
|
|
|
|
|
+ <h2>Examples</h2>
|
|
|
|
+
|
|
|
|
+ <p>
|
|
|
|
+ [example:webgl2_materials_texture2darray WebGL2 / materials / texture2darray]
|
|
|
|
+ </p>
|
|
|
|
+
|
|
<h2>Properties</h2>
|
|
<h2>Properties</h2>
|
|
|
|
|
|
<p>
|
|
<p>
|