◆ GetMainTexture() [1/2]

static Texture GetMainTexture ( this IGraphicsMaterialPropertyBlockInterface  blockInterfaceToGetTextureFrom)
static
Parameters
blockInterfaceToGetTextureFromthe Interface that specifies the texture wanted.
Returns
The texture found in the blockInterfaceToGetTextureFrom.

References MaterialPropertyBlockInterfaceExtensions.defaultTextureID, IGraphicsMaterialPropertyBlockInterface.GetPropertyBlock(), IGraphicsMaterialPropertyBlockInterface.HasTexture(), and MaterialPropertyBlockInterfaceExtensions.neverRunMaterialChecks.

+ Here is the call graph for this function: