Texture3D
Inherits: TextureLayered < Resource < Reference < Object
具有 3 个维度的纹理。
描述
Texture3D is a 3-dimensional Texture that has a width, height, and depth. See also TextureArray.
Note: Texture3D
s can only be sampled in shaders in the GLES3 backend. In GLES2, their data can be accessed via scripting, but there is no way to render them in a hardware-accelerated manner.
属性
data |
| |
flags |
|
方法
void | create ( int width, int height, int depth, Format format, int flags=4 ) |
方法说明
以指定的 width
、height
和 depth
创建 Texture3D。format
的可选值见 Format。flags
的可选值见 Flags 枚举值。