textureresource - firtoz/react-three-renderer GitHub Wiki

Wiki » Internal Components » Resource Types » textureResource

textureResource

Reference to a texture resource

Attributes

resourceId

string required

Default: ''

Notes:

If you would like to assign this texture resource to a material, you can do this by declaring the texture within:

<...material>
  <texture url={...} .../>
</...material>

===

View Source
⚠️ **GitHub.com Fallback** ⚠️