Modifier and Type | Field and Description |
---|---|
private VertexFormat |
WorldRenderer.blockVertexFormat |
private VertexFormat |
BufferBuilder.DrawState.format |
private VertexFormat |
WorldRenderer.skyVertexFormat |
private VertexFormat |
BufferBuilder.State.stateVertexFormat |
private VertexFormat |
BufferBuilder.vertexFormat |
private VertexFormat |
RenderType.vertexFormat |
Modifier and Type | Method and Description |
---|---|
VertexFormat |
BufferBuilder.DrawState.getFormat() |
VertexFormat |
BufferBuilder.getVertexFormat() |
VertexFormat |
RenderType.getVertexFormat() |
Modifier and Type | Method and Description |
---|---|
void |
BufferBuilder.begin(int glMode,
VertexFormat format) |
private static void |
WorldVertexBufferUploader.draw(java.nio.ByteBuffer bufferIn,
int modeIn,
VertexFormat vertexFormatIn,
int countIn) |
private static RenderType.Type |
RenderType.Type.getOrCreate(java.lang.String p_228676_0_,
VertexFormat p_228676_1_,
int p_228676_2_,
int p_228676_3_,
boolean p_228676_4_,
boolean p_228676_5_,
RenderType.State p_228676_6_) |
static RenderType.Type |
RenderType.makeType(java.lang.String name,
VertexFormat vertexFormatIn,
int glMode,
int bufferSizeIn,
boolean useDelegateIn,
boolean needsSortingIn,
RenderType.State renderStateIn) |
static RenderType.Type |
RenderType.makeType(java.lang.String nameIn,
VertexFormat vertexFormatIn,
int drawModeIn,
int bufferSizeIn,
RenderType.State renderStateIn) |
private void |
BufferBuilder.setVertexFormat(VertexFormat vertexFormatIn) |
Constructor and Description |
---|
DrawState(VertexFormat formatIn,
int vertexCountIn,
int drawModeIn) |
RenderType(java.lang.String nameIn,
VertexFormat formatIn,
int drawModeIn,
int bufferSizeIn,
boolean useDelegateIn,
boolean needsSortingIn,
java.lang.Runnable setupTaskIn,
java.lang.Runnable clearTaskIn) |
State(java.nio.ByteBuffer byteBufferIn,
VertexFormat vertexFormatIn) |
Type(java.lang.String p_i225993_1_,
VertexFormat p_i225993_2_,
int p_i225993_3_,
int p_i225993_4_,
boolean p_i225993_5_,
boolean p_i225993_6_,
RenderType.State p_i225993_7_) |
Modifier and Type | Field and Description |
---|---|
static VertexFormat |
DefaultVertexFormats.BLOCK |
static VertexFormat |
DefaultVertexFormats.ENTITY |
static VertexFormat |
DefaultVertexFormats.PARTICLE_POSITION_TEX_COLOR_LMAP
Deprecated.
|
static VertexFormat |
DefaultVertexFormats.POSITION |
static VertexFormat |
DefaultVertexFormats.POSITION_COLOR |
static VertexFormat |
DefaultVertexFormats.POSITION_COLOR_LIGHTMAP |
static VertexFormat |
DefaultVertexFormats.POSITION_COLOR_TEX |
static VertexFormat |
DefaultVertexFormats.POSITION_COLOR_TEX_LIGHTMAP |
static VertexFormat |
DefaultVertexFormats.POSITION_TEX |
static VertexFormat |
DefaultVertexFormats.POSITION_TEX_COLOR
Deprecated.
|
static VertexFormat |
DefaultVertexFormats.POSITION_TEX_COLOR_NORMAL
Deprecated.
|
static VertexFormat |
DefaultVertexFormats.POSITION_TEX_LIGHTMAP_COLOR
Deprecated.
|
private VertexFormat |
VertexBuffer.vertexFormat |
Constructor and Description |
---|
VertexBuffer(VertexFormat vertexFormatIn) |
Modifier and Type | Field and Description |
---|---|
private VertexFormat |
RealmsVertexFormat.v |
Modifier and Type | Method and Description |
---|---|
VertexFormat |
RealmsVertexFormat.getVertexFormat() |
Constructor and Description |
---|
RealmsVertexFormat(VertexFormat vIn) |
Modifier and Type | Method and Description |
---|---|
static int |
ForgeHooksClient.getColorIndex(VertexFormat fmt) |
static void |
ForgeHooksClient.postDraw(VertexFormatElement.Usage attrType,
VertexFormat format,
int element,
int stride,
java.nio.ByteBuffer buffer) |
static void |
ForgeHooksClient.preDraw(VertexFormatElement.Usage attrType,
VertexFormat format,
int element,
int stride,
java.nio.ByteBuffer buffer) |
Modifier and Type | Method and Description |
---|---|
private static int |
QuadTransformer.findNormalOffset(VertexFormat fmt) |
private static int |
QuadTransformer.findPositionOffset(VertexFormat fmt) |
Modifier and Type | Field and Description |
---|---|
protected VertexFormat |
VertexLighterFlat.baseFormat |
private static VertexFormat |
LightUtil.DEFAULT_FROM |
private static VertexFormat |
LightUtil.DEFAULT_TO |
protected VertexFormat |
QuadGatheringTransformer.format |
Modifier and Type | Field and Description |
---|---|
private static java.util.concurrent.ConcurrentMap<org.apache.commons.lang3.tuple.Pair<VertexFormat,VertexFormat>,int[]> |
LightUtil.formatMaps |
private static java.util.concurrent.ConcurrentMap<org.apache.commons.lang3.tuple.Pair<VertexFormat,VertexFormat>,int[]> |
LightUtil.formatMaps |
Modifier and Type | Method and Description |
---|---|
VertexFormat |
TransformerConsumer.getVertexFormat() |
VertexFormat |
VertexBufferConsumer.getVertexFormat() |
VertexFormat |
VertexTransformer.getVertexFormat() |
VertexFormat |
QuadGatheringTransformer.getVertexFormat() |
VertexFormat |
IVertexConsumer.getVertexFormat() |
VertexFormat |
BakedQuadBuilder.getVertexFormat() |
(package private) static VertexFormat |
VertexLighterFlat.withNormal(VertexFormat format) |
private static VertexFormat |
VertexLighterFlat.withNormalUncached(VertexFormat format) |
Modifier and Type | Method and Description |
---|---|
private static int[] |
LightUtil.generateMapping(VertexFormat from,
VertexFormat to) |
static int[] |
LightUtil.mapFormats(VertexFormat from,
VertexFormat to) |
static void |
LightUtil.pack(float[] from,
int[] to,
VertexFormat formatTo,
int v,
int e) |
void |
QuadGatheringTransformer.setVertexFormat(VertexFormat format) |
void |
VertexLighterFlat.setVertexFormat(VertexFormat format) |
static void |
LightUtil.unpack(int[] from,
float[] to,
VertexFormat formatFrom,
int v,
int e) |
(package private) static VertexFormat |
VertexLighterFlat.withNormal(VertexFormat format) |
private static VertexFormat |
VertexLighterFlat.withNormalUncached(VertexFormat format) |