return tech_res
class MaterialExporter:
- def create_texture_exporter(self):
- from .export_texture import TextureExporter
- texture_export = TextureExporter()
- return texture_export
-
def export_technique_resources(self, material, resources):
- from .export_texture import SamplerExporter
- texture_export = self.create_texture_exporter()
+ from .export_texture import SamplerExporter, TextureExporter
+ texture_export = TextureExporter()
sampler_export = SamplerExporter()
from .material import Material