loaders/blend

  Source   Edit

Types

BlenderRotationOrder = enum
  BAxisAngle = -1, BQuaternion, BEulerXYZ, BEulerXZY, BEulerYXZ, BEulerYZX,
  BEulerZXY, BEulerZYX
  Source   Edit
BlendLoader = ref object of Loader
  cached_materials*: Table[(FNode, string, bool), (string, seq[Varying],
  resource*: LoadableResource
  Source   Edit

Procs

proc abs_path(self: BlendLoader; path: string): string {....raises: [], tags: [].}
  Source   Edit
proc debug_dump(self: BlendLoader) {....raises: [KeyError], tags: [].}
  Source   Edit
proc getTextBlockLines(self: BlendLoader; name: string): seq[string] {.
    ...raises: [KeyError], tags: [].}
  Source   Edit
proc newBlendLoader(engine: MyouEngine; shader_library: string = "";
                    shader_textures = initTable[string, Texture]()): BlendLoader {.
    ...raises: [Exception], tags: [RootEffect].}
  Source   Edit
proc registerBlendLoader(engine: MyouEngine) {....raises: [Exception],
    tags: [RootEffect].}
  Source   Edit

Methods

method close(self: BlendLoader) {....raises: [], tags: [].}
  Source   Edit
method loadScene(self: BlendLoader; name: string = ""; scene: Scene = nil;
                 callback: proc (err: string; scene: Scene)) {.
    ...raises: [Exception, ValueError, KeyError], tags: [RootEffect].}
  Source   Edit
method loadTexture(self: BlendLoader; name: string): Texture {.
    ...raises: [KeyError, ValueError, Exception, OSError], tags: [RootEffect].}
  Source   Edit
method loadTextureImpl(self: BlendLoader; name: string; img: FNode): Texture {.
    ...raises: [KeyError, ValueError, Exception, Exception, ValueError, OSError],
    tags: [RootEffect].}
  Source   Edit
method openAssetFile(self: BlendLoader; path: string) {....raises: [], tags: [].}
  Source   Edit