Navigation
API > API/Plugins > API/Plugins/MutableRuntime > API/Plugins/MutableRuntime/MuR > API/Plugins/MutableRuntime/MuR/Instance
References
| Module | MutableRuntime |
| Header | /Engine/Plugins/Experimental/Mutable/Source/MutableRuntime/Public/MuR/Instance.h |
| Include | #include "MuR/Instance.h" |
| Source | /Engine/Plugins/Experimental/Mutable/Source/MutableRuntime/Private/MuR/Instance.cpp |
FResourceID GetImageId
&40;
int32 lod,
int32 comp,
int32 surf,
int32 img
&41; const
Remarks
Get an image resource id from a component an ummodifiable pointer to the requested image. The returned object is guaranteed to be alive only while this instance is alive. The ownership of the returned object remains in the instance, so it should not be deleted.
Parameters
| Name | Description |
|---|---|
| lod | Index of the level of detail, from 0 to GetLODCount()-1 |
| comp | Index of the component, from 0 to GetComponentCount(lod)-1 |
| surf | Index of the surface, from 0 to GetSurfaceCount(lod,comp)-1 |
| img | Index of the image, from 0 to GetImageCount(lod,comp,surf)-1 |