setDeferredAttachedTexture function

void setDeferredAttachedTexture(
  1. Factory factory,
  2. Object? texture
)

Implementation

void setDeferredAttachedTexture(Factory factory, Object? texture) {
  if (factory is DeferredSessionFactory) {
    factory.attachedTexture = texture;
    if (texture != null) {
      factory.attachedTextures.add(texture);
    }
  }
}