Method GetWrapMode
GetWrapMode(TextureWrapMode)
Converts Unity texture wrap mode to USD wrap mode.
Declaration
public static TextureReaderSample.WrapMode GetWrapMode(TextureWrapMode wrap)
Parameters
| Type | Name | Description |
|---|---|---|
| TextureWrapMode | wrap |
Returns
| Type | Description |
|---|---|
| TextureReaderSample.WrapMode |
Remarks
Note that this is not a 1:1 match - MirrorOnce is not supported in USD, while the USD default (black outside tex) is not supported in Unity.