Modifier and Type | Field and Description |
---|---|
private static VertexFormat |
ParticleSweepAttack.VERTEX_FORMAT |
private static VertexFormat |
ParticleExplosionLarge.VERTEX_FORMAT |
Modifier and Type | Field and Description |
---|---|
private VertexFormat |
BufferBuilder.State.stateVertexFormat |
private VertexFormat |
RenderGlobal.vertexBufferFormat |
private VertexFormat |
BufferBuilder.vertexFormat |
Modifier and Type | Method and Description |
---|---|
VertexFormat |
BufferBuilder.getVertexFormat() |
VertexFormat |
BufferBuilder.State.getVertexFormat() |
Modifier and Type | Method and Description |
---|---|
void |
BufferBuilder.begin(int glMode,
VertexFormat format) |
Constructor and Description |
---|
State(int[] buffer,
VertexFormat format) |
Modifier and Type | Field and Description |
---|---|
protected VertexFormat |
BakedQuad.format |
Modifier and Type | Method and Description |
---|---|
VertexFormat |
BakedQuad.getFormat() |
Constructor and Description |
---|
BakedQuad(int[] vertexDataIn,
int tintIndexIn,
EnumFacing faceIn,
TextureAtlasSprite spriteIn,
boolean applyDiffuseLighting,
VertexFormat format) |
Modifier and Type | Field and Description |
---|---|
static VertexFormat |
DefaultVertexFormats.BLOCK |
static VertexFormat |
DefaultVertexFormats.ITEM |
static VertexFormat |
DefaultVertexFormats.OLDMODEL_POSITION_TEX_NORMAL |
static VertexFormat |
DefaultVertexFormats.PARTICLE_POSITION_TEX_COLOR_LMAP |
static VertexFormat |
DefaultVertexFormats.POSITION |
static VertexFormat |
DefaultVertexFormats.POSITION_COLOR |
static VertexFormat |
DefaultVertexFormats.POSITION_NORMAL |
static VertexFormat |
DefaultVertexFormats.POSITION_TEX |
static VertexFormat |
DefaultVertexFormats.POSITION_TEX_COLOR |
static VertexFormat |
DefaultVertexFormats.POSITION_TEX_COLOR_NORMAL |
static VertexFormat |
DefaultVertexFormats.POSITION_TEX_LMAP_COLOR |
static VertexFormat |
DefaultVertexFormats.POSITION_TEX_NORMAL |
private VertexFormat |
VertexBuffer.vertexFormat |
Modifier and Type | Method and Description |
---|---|
VertexFormat |
VertexFormat.addElement(VertexFormatElement element) |
Modifier and Type | Method and Description |
---|---|
void |
VertexFormatElement.EnumUsage.postDraw(VertexFormat format,
int element,
int stride,
java.nio.ByteBuffer buffer) |
void |
VertexFormatElement.EnumUsage.preDraw(VertexFormat format,
int element,
int stride,
java.nio.ByteBuffer buffer) |
Constructor and Description |
---|
VertexBuffer(VertexFormat vertexFormatIn) |
VertexFormat(VertexFormat vertexFormatIn) |
Modifier and Type | Field and Description |
---|---|
private VertexFormat |
RealmsVertexFormat.v |
Modifier and Type | Method and Description |
---|---|
VertexFormat |
RealmsVertexFormat.getVertexFormat() |
Modifier and Type | Method and Description |
---|---|
void |
RealmsBufferBuilder.begin(int p_begin_1_,
VertexFormat p_begin_2_) |
RealmsVertexFormat |
RealmsVertexFormat.from(VertexFormat p_from_1_) |
Constructor and Description |
---|
RealmsVertexFormat(VertexFormat vIn) |
Modifier and Type | Field and Description |
---|---|
private static VertexFormat |
ForgeHooksClient.LightGatheringTransformer.FORMAT |
private static VertexFormat |
CloudRenderer.FORMAT |
Modifier and Type | Method and Description |
---|---|
static void |
ForgeHooksClient.postDraw(VertexFormatElement.EnumUsage attrType,
VertexFormat format,
int element,
int stride,
java.nio.ByteBuffer buffer) |
static void |
ForgeHooksClient.preDraw(VertexFormatElement.EnumUsage attrType,
VertexFormat format,
int element,
int stride,
java.nio.ByteBuffer buffer) |
Modifier and Type | Field and Description |
---|---|
static VertexFormat |
Attributes.DEFAULT_BAKED_FORMAT |
protected VertexFormat |
ModelFluid.BakedFluid.format |
private VertexFormat |
ModelDynBucket.BakedDynBucket.format |
private VertexFormat |
ModelLoader.BakedModelCacheKey.format |
private VertexFormat |
SimpleModelFontRenderer.format |
Modifier and Type | Field and Description |
---|---|
private static com.google.common.cache.LoadingCache<VertexFormat,SimpleModelFontRenderer> |
FancyMissingModel.fontCache |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
FancyMissingModel.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
IBakedModel |
MultiLayerModel.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
IBakedModel |
ItemLayerModel.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
IBakedModel |
ModelFluid.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
IBakedModel |
ModelDynBucket.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
IBakedModel |
ModelLoader.VanillaModelWrapper.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
IBakedModel |
ModelLoader.WeightedRandomModel.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
IBakedModel |
ModelLoader.MultipartModel.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
IBakedModel |
MultiModel.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter)
Deprecated.
|
IBakedModel |
IModel.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
IBakedModel |
ModelLoader.VanillaModelWrapper.bakeImpl(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
private IBakedModel |
ModelLoader.VanillaModelWrapper.bakeNormal(ModelBlock model,
IModelState perState,
IModelState modelState,
java.util.List<TRSRTransformation> newTransforms,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter,
boolean uvLocked) |
private static com.google.common.collect.ImmutableMap<java.util.Optional<BlockRenderLayer>,IBakedModel> |
MultiLayerModel.buildModels(com.google.common.collect.ImmutableMap<java.util.Optional<BlockRenderLayer>,ModelResourceLocation> models,
IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
private static BakedQuad |
ItemLayerModel.buildQuad(VertexFormat format,
java.util.Optional<TRSRTransformation> transform,
EnumFacing side,
TextureAtlasSprite sprite,
int tint,
float x0,
float y0,
float z0,
float u0,
float v0,
float x1,
float y1,
float z1,
float u1,
float v1,
float x2,
float y2,
float z2,
float u2,
float v2,
float x3,
float y3,
float z3,
float u3,
float v3) |
private static BakedQuad |
ItemLayerModel.buildSideQuad(VertexFormat format,
java.util.Optional<TRSRTransformation> transform,
EnumFacing side,
int tint,
TextureAtlasSprite sprite,
int u,
int v,
int size) |
static java.util.List<UnpackedBakedQuad> |
ItemTextureQuadConverter.convertTexture(VertexFormat format,
TRSRTransformation transform,
TextureAtlasSprite template,
TextureAtlasSprite sprite,
float z,
EnumFacing facing,
int color)
|
static java.util.List<UnpackedBakedQuad> |
ItemTextureQuadConverter.convertTexture(VertexFormat format,
TRSRTransformation transform,
TextureAtlasSprite template,
TextureAtlasSprite sprite,
float z,
EnumFacing facing,
int color,
int tint)
Takes a texture and converts it into BakedQuads.
|
static java.util.List<UnpackedBakedQuad> |
ItemTextureQuadConverter.convertTextureHorizontal(VertexFormat format,
TRSRTransformation transform,
TextureAtlasSprite template,
TextureAtlasSprite sprite,
float z,
EnumFacing facing,
int color)
|
static java.util.List<UnpackedBakedQuad> |
ItemTextureQuadConverter.convertTextureHorizontal(VertexFormat format,
TRSRTransformation transform,
TextureAtlasSprite template,
TextureAtlasSprite sprite,
float z,
EnumFacing facing,
int color,
int tint)
Scans a texture and converts it into a list of horizontal strips stacked on top of each other.
|
static java.util.List<UnpackedBakedQuad> |
ItemTextureQuadConverter.convertTextureVertical(VertexFormat format,
TRSRTransformation transform,
TextureAtlasSprite template,
TextureAtlasSprite sprite,
float z,
EnumFacing facing,
int color)
|
static java.util.List<UnpackedBakedQuad> |
ItemTextureQuadConverter.convertTextureVertical(VertexFormat format,
TRSRTransformation transform,
TextureAtlasSprite template,
TextureAtlasSprite sprite,
float z,
EnumFacing facing,
int color,
int tint)
Scans a texture and converts it into a list of vertical strips stacked next to each other from left to right.
|
static UnpackedBakedQuad |
ItemTextureQuadConverter.genQuad(VertexFormat format,
TRSRTransformation transform,
float x1,
float y1,
float x2,
float y2,
float z,
TextureAtlasSprite sprite,
EnumFacing facing,
int color)
|
static UnpackedBakedQuad |
ItemTextureQuadConverter.genQuad(VertexFormat format,
TRSRTransformation transform,
float x1,
float y1,
float x2,
float y2,
float z,
TextureAtlasSprite sprite,
EnumFacing facing,
int color,
int tint)
Generates a Front/Back quad for an itemmodel.
|
static com.google.common.collect.ImmutableList<BakedQuad> |
ItemLayerModel.getQuadsForSprite(int tint,
TextureAtlasSprite sprite,
VertexFormat format,
java.util.Optional<TRSRTransformation> transform) |
static boolean |
Attributes.moreSpecific(VertexFormat first,
VertexFormat second) |
private static UnpackedBakedQuad |
ItemTextureQuadConverter.putQuad(VertexFormat format,
TRSRTransformation transform,
EnumFacing side,
TextureAtlasSprite sprite,
int color,
int tint,
float x1,
float y1,
float x2,
float y2,
float z,
float u1,
float v1,
float u2,
float v2) |
private static void |
ItemLayerModel.putVertex(IVertexConsumer consumer,
VertexFormat format,
EnumFacing side,
float x,
float y,
float z,
float u,
float v) |
private static void |
ItemTextureQuadConverter.putVertex(IVertexConsumer consumer,
VertexFormat format,
EnumFacing side,
float x,
float y,
float z,
float u,
float v,
int color) |
Constructor and Description |
---|
BakedDynBucket(ModelDynBucket parent,
com.google.common.collect.ImmutableList<BakedQuad> quads,
TextureAtlasSprite particle,
VertexFormat format,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> transforms,
java.util.Map<java.lang.String,IBakedModel> cache,
boolean untransformed) |
BakedFluid(java.util.Optional<TRSRTransformation> transformation,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> transforms,
VertexFormat format,
int color,
TextureAtlasSprite still,
TextureAtlasSprite flowing,
java.util.Optional<TextureAtlasSprite> overlay,
boolean gas,
boolean statePresent,
int[] cornerRound,
int flowRound,
boolean[] sideOverlays) |
BakedModelCacheKey(ModelLoader.VanillaModelWrapper model,
IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
CachingBakedFluid(java.util.Optional<TRSRTransformation> transformation,
com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TRSRTransformation> transforms,
VertexFormat format,
int color,
TextureAtlasSprite still,
TextureAtlasSprite flowing,
java.util.Optional<TextureAtlasSprite> overlay,
boolean gas,
java.util.Optional<IExtendedBlockState> stateOption) |
SimpleModelFontRenderer(GameSettings settings,
ResourceLocation font,
TextureManager manager,
boolean isUnicode,
javax.vecmath.Matrix4f matrix,
VertexFormat format) |
Modifier and Type | Field and Description |
---|---|
private VertexFormat |
AnimationItemOverrideList.format |
Constructor and Description |
---|
AnimationItemOverrideList(IModel model,
IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter,
ItemOverrideList overrides) |
AnimationItemOverrideList(IModel model,
IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter,
java.util.List<ItemOverride> overrides) |
Modifier and Type | Field and Description |
---|---|
private VertexFormat |
B3DLoader.BakedWrapper.format |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
B3DLoader.ModelWrapper.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
Constructor and Description |
---|
BakedWrapper(B3DModel.Node<?> node,
IModelState state,
boolean smooth,
boolean gui3d,
VertexFormat format,
com.google.common.collect.ImmutableSet<java.lang.String> meshes,
com.google.common.collect.ImmutableMap<java.lang.String,TextureAtlasSprite> textures) |
BakedWrapper(B3DModel.Node<?> node,
IModelState state,
boolean smooth,
boolean gui3d,
VertexFormat format,
com.google.common.collect.ImmutableSet<java.lang.String> meshes,
com.google.common.collect.ImmutableMap<java.lang.String,TextureAtlasSprite> textures,
com.google.common.cache.LoadingCache<java.lang.Integer,B3DLoader.B3DState> cache) |
Modifier and Type | Field and Description |
---|---|
private VertexFormat |
OBJModel.OBJBakedModel.format |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
OBJModel.bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
Constructor and Description |
---|
OBJBakedModel(OBJModel model,
IModelState state,
VertexFormat format,
com.google.common.collect.ImmutableMap<java.lang.String,TextureAtlasSprite> textures) |
Modifier and Type | Field and Description |
---|---|
protected VertexFormat |
VertexLighterFlat.baseFormat |
private static VertexFormat |
VertexLighterFlat.BLOCK_WITH_NORMAL |
private static VertexFormat |
LightUtil.DEFAULT_FROM |
private static VertexFormat |
LightUtil.DEFAULT_TO |
protected VertexFormat |
QuadGatheringTransformer.format |
protected VertexFormat |
UnpackedBakedQuad.format |
private VertexFormat |
UnpackedBakedQuad.Builder.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 |
QuadGatheringTransformer.getVertexFormat() |
VertexFormat |
UnpackedBakedQuad.Builder.getVertexFormat() |
VertexFormat |
VertexTransformer.getVertexFormat() |
VertexFormat |
TransformerConsumer.getVertexFormat() |
VertexFormat |
VertexBufferConsumer.getVertexFormat() |
VertexFormat |
IVertexConsumer.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) |
Constructor and Description |
---|
Builder(VertexFormat format) |
UnpackedBakedQuad(float[][][] unpackedData,
int tint,
EnumFacing orientation,
TextureAtlasSprite texture,
boolean applyDiffuseLighting,
VertexFormat format) |