Asset. A base class for assets.
Load an asset. Configure and initialize the asset by the XML elements given by #node. Some assets have references to the other assets, so #assets is also required. Dependent asset must be loaded beforehand.
- Parameters
-
node | XML node for the configuration. |
assets | Asset manager. |
true | Succeeded to load. |
false | Failed to load. |
Implemented in StubAsset_F_Impl, StubAsset_E_Impl, StubAsset_D_Impl, StubAsset_C_Impl, ObjMesh, StubAsset_B_Impl, StubAsset_A_Impl, StubAsset_FailOnCreate, AreaLight, PerspectiveCamera, DiffuseBSDF, ConstantEnvironmentLight, ThinLensCamera, DefaultBitmapTexture, HDRBitmapFilm, DiffuseMirrorMixBSDF, DielectricBSDF, StubAsset_Success, StubFilm, StubTriangleMesh, PerfectMirrorBSDF, RawMesh, LDRBitmapFilm, TestBSDF, ConstantTexture, and StubBSDF.