Orgnaization & cleanup
This commit is contained in:
@@ -116,9 +116,9 @@ Gradient_Outline :: struct {
|
||||
// avoiding per-pixel trigonometry in the fragment shader. Only read when .Rotated is set.
|
||||
//
|
||||
// Named Base_2D_Primitive (not just Primitive) to disambiguate from Backdrop_Primitive in
|
||||
// pipeline_2d_backdrop.odin. The two pipelines have unrelated GPU layouts and unrelated
|
||||
// fragment-shader contracts; pairing each with its own primitive type keeps cross-references
|
||||
// unambiguous when grepping the codebase.
|
||||
// backdrop.odin. The two pipelines have unrelated GPU layouts and unrelated fragment-shader
|
||||
// contracts; pairing each with its own primitive type keeps cross-references unambiguous
|
||||
// when grepping the codebase.
|
||||
Base_2D_Primitive :: struct {
|
||||
bounds: [4]f32, // 0: min_x, min_y, max_x, max_y (world-space, pre-DPI)
|
||||
color: Color, // 16: u8x4, fill color / gradient start color / texture tint
|
||||
|
||||
Reference in New Issue
Block a user