Add comments
This commit is contained in:
parent
8f86843455
commit
62b98741c0
1 changed files with 5 additions and 1 deletions
|
@ -55,6 +55,7 @@ const (
|
||||||
MapBrdf
|
MapBrdf
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// Material map type
|
||||||
const (
|
const (
|
||||||
MapDiffuse = MapAlbedo
|
MapDiffuse = MapAlbedo
|
||||||
MapSpecular = MapMetalness
|
MapSpecular = MapMetalness
|
||||||
|
@ -62,9 +63,12 @@ const (
|
||||||
LocMapSpecular = LocMapMetalness
|
LocMapSpecular = LocMapMetalness
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// Shader and material limits
|
||||||
const (
|
const (
|
||||||
|
// Maximum number of predefined locations stored in shader struct
|
||||||
MaxShaderLocations = 32
|
MaxShaderLocations = 32
|
||||||
MaxMaterialMaps = 12
|
// Maximum number of texture maps stored in shader struct
|
||||||
|
MaxMaterialMaps = 12
|
||||||
)
|
)
|
||||||
|
|
||||||
// Mesh - Vertex data definning a mesh
|
// Mesh - Vertex data definning a mesh
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue