+void RenderPass::TextureSlot::Loader::init()
+{
+ add("texture", &Loader::texture);
+ add("texture2d", &Loader::texture2d);
+}
+
+void RenderPass::TextureSlot::Loader::texture(const string &name)
+{
+ obj.texture = get_collection().get<Texture>(name);
+ obj.texture.keep();
+}
+
+void RenderPass::TextureSlot::Loader::texture2d()