Current section
Files
Jump to
Current section
Files
lib/Exray/Structs/Material.ex
defmodule Exray.Structs.Material do
@moduledoc """
Material TypedStruct
"""
use TypedStruct
typedstruct enforce: true do
field :shader, Shader.t()
field :maps, [MaterialMap.t()], default: []
# [4]
field :params, [float], default: []
end
end