@Environment(value=CLIENT) public class OutlineVertexConsumerProvider extends Object implements VertexConsumerProvider
Modifier and Type | Class and Description |
---|---|
(package private) static class |
OutlineVertexConsumerProvider.OutlineVertexConsumer |
VertexConsumerProvider.Immediate
Modifier and Type | Field and Description |
---|---|
private int |
alpha |
private int |
blue |
private int |
green |
private VertexConsumerProvider.Immediate |
parent |
private VertexConsumerProvider.Immediate |
plainDrawer |
private int |
red |
Constructor and Description |
---|
OutlineVertexConsumerProvider(VertexConsumerProvider.Immediate immediate) |
Modifier and Type | Method and Description |
---|---|
void |
draw() |
VertexConsumer |
getBuffer(RenderLayer layer) |
void |
setColor(int red,
int green,
int blue,
int alpha) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
immediate, immediate
private final VertexConsumerProvider.Immediate parent
private final VertexConsumerProvider.Immediate plainDrawer
private int red
private int green
private int blue
private int alpha
public OutlineVertexConsumerProvider(VertexConsumerProvider.Immediate immediate)
public VertexConsumer getBuffer(RenderLayer layer)
getBuffer
in interface VertexConsumerProvider
public void setColor(int red, int green, int blue, int alpha)
public void draw()