Uniform colors
This commit is contained in:
@@ -34,6 +34,7 @@ Uniform :: union {
|
||||
Uniform_Float,
|
||||
Uniform_Matrix4f32,
|
||||
Uniform_Vector3,
|
||||
Uniform_Color,
|
||||
}
|
||||
|
||||
Uniform_Texture :: struct {
|
||||
@@ -56,6 +57,11 @@ Uniform_Vector3 :: struct {
|
||||
value: ^[3]f32,
|
||||
}
|
||||
|
||||
Uniform_Color :: struct {
|
||||
name: string,
|
||||
value: ^Color,
|
||||
}
|
||||
|
||||
Post_Processing_Node :: struct {
|
||||
uniforms: []Uniform,
|
||||
output: ^Render_Target,
|
||||
|
||||
Reference in New Issue
Block a user