@@ -41,6 +41,24 @@ public CustomQuadRenderState(Matrix3x2f pose, float x1, float y1, float x2,
4141 scissorArea );
4242 }
4343
44+ public CustomQuadRenderState (RenderPipeline pipeline , Matrix3x2f pose ,
45+ float x1 , float y1 , float x2 , float y2 , float x3 , float y3 , float x4 ,
46+ float y4 , int color1 , int color2 , int color3 , int color4 ,
47+ @ Nullable ScreenRectangle scissorArea )
48+ {
49+ this (pipeline , TextureSetup .noTexture (), pose , x1 , y1 , x2 , y2 , x3 , y3 ,
50+ x4 , y4 , color1 , color2 , color3 , color4 , scissorArea ,
51+ createBounds (x1 , y1 , x2 , y2 , x3 , y3 , x4 , y4 , pose , scissorArea ));
52+ }
53+
54+ public CustomQuadRenderState (RenderPipeline pipeline , Matrix3x2f pose ,
55+ float x1 , float y1 , float x2 , float y2 , float x3 , float y3 , float x4 ,
56+ float y4 , int color , @ Nullable ScreenRectangle scissorArea )
57+ {
58+ this (pipeline , pose , x1 , y1 , x2 , y2 , x3 , y3 , x4 , y4 , color , color ,
59+ color , color , scissorArea );
60+ }
61+
4462 @ Override
4563 public void buildVertices (VertexConsumer vertices )
4664 {
0 commit comments