comparison src/semicongine/scene.nim @ 321:30117d8f0052

did next step in renderpipeline-refactoring, using shaderconfiguration objects instead for less ambigious shader-pipeline configuration
author Sam <sam@basx.dev>
date Tue, 15 Aug 2023 23:51:37 +0700
parents b145a05c2459
children 6dab370d1758
comparison
equal deleted inserted replaced
320:89800309ab09 321:30117d8f0052
13 Scene* = object 13 Scene* = object
14 name*: string 14 name*: string
15 root*: Entity 15 root*: Entity
16 shaderGlobals*: Table[string, DataList] 16 shaderGlobals*: Table[string, DataList]
17 materials: OrderedTable[string, Material] 17 materials: OrderedTable[string, Material]
18 transformAttribute*: string = "transform"
19 materialIndexAttribute*: string = "materialIndex"
18 20
19 Component* = ref object of RootObj 21 Component* = ref object of RootObj
20 entity*: Entity 22 entity*: Entity
21 23
22 Entity* = ref object of RootObj 24 Entity* = ref object of RootObj