Why is ECInstanceId
of Texture
called name
in @itwin/core-common
#8240
Unanswered
LiutaurasSk
asked this question in
Q&A
Replies: 1 comment
-
Basically when we were writing this stuff, IIRC, the term "named texture" was used to refer to Id64 textures, as opposed to ones not associated with elements. @pmconne may have more feedback. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the
@itwin/core-common
package, theTextureLoadProps
interface defines aname
property of typeId64String
, as defined by the type, this property has the requirements of anId64
and actually is theECInstanceId
ofTexture
, however the name of the property doesn't reflect that. Furthermore in the native side -iModelJsNodeAddon
,TextureImageWorker
class the name property gets renamed intoid
and used as that further on.Why is 'name' property named that way when actually it is not a 'name' but an 'id'?
Beta Was this translation helpful? Give feedback.
All reactions