Types
MakeMaterialSettings = object can_be_double_sided*: bool tone_mapping_function*: string uniform_blocks*: string textures_sampler_type*: Table[string, string] get_library*: proc (name: string): seq[string] get_node_tree*: proc (name: string): FNode
- Source Edit
Procs
proc makeMaterial(self: BlendLoader; bmat: FNode; shader_library = self.shader_library; settings = MakeMaterialSettings()): (string, seq[Varying], OrderedTable[string, string], OrderedTable[string, TexturePixels]) {. ...raises: [KeyError, Exception, ValueError], tags: [RootEffect].}
- Source Edit