DataTexture¶
-
class
pythreejs.
DataTexture
(data=None, format="RGBAFormat", type="UnsignedByteType", mapping="UVMapping", wrapS="ClampToEdgeWrapping", wrapT="ClampToEdgeWrapping", magFilter="NearestFilter", minFilter="NearestFilter", anisotropy=1)[source]¶ This widget has some manual overrides on the Python side.
Inherits
Texture
.Three.js docs: https://threejs.org/docs/#api/textures/DataTexture
-
data
¶ WebGLDataUnion().tag(sync=True)
-
minFilter
¶ Enum(Filters, "NearestFilter", allow_none=False).tag(sync=True)
-
magFilter
¶ Enum(Filters, "NearestFilter", allow_none=False).tag(sync=True)
-
flipY
¶ Bool(False, allow_none=False).tag(sync=True)
-
generateMipmaps
¶ Bool(False, allow_none=False).tag(sync=True)
-