Interface IForgeVertexConsumer
- All Known Subinterfaces:
VertexConsumer
- All Known Implementing Classes:
BufferBuilder
,OutlineBufferSource.EntityOutlineGenerator
,QuadBakingVertexConsumer
,QuadBakingVertexConsumer.Buffered
,SheetedDecalTextureGenerator
,SpriteCoordinateExpander
,TransformingVertexPipeline
,VertexConsumerWrapper
,VertexMultiConsumer.Double
,VertexMultiConsumer.Multiple
public interface IForgeVertexConsumer
Extension interface for
VertexConsumer
.-
Method Summary
Modifier and TypeMethodDescriptiondefault int
applyBakedLighting
(int packedLight, ByteBuffer data) default void
applyBakedNormals
(org.joml.Vector3f generated, ByteBuffer data, org.joml.Matrix3f normalTransform) default VertexConsumer
misc
(VertexFormatElement element, int... rawData) Consumes an unknownVertexFormatElement
as a raw int data array.default void
putBulkData
(PoseStack.Pose pose, BakedQuad bakedQuad, float red, float green, float blue, float alpha, int packedLight, int packedOverlay, boolean readExistingColor) Variant with no per-vertex shading.private VertexConsumer
self()
-
Method Details
-
self
-
misc
Consumes an unknownVertexFormatElement
as a raw int data array.If the consumer needs to store the data for later use, it must copy it. There are no guarantees on immutability.
-
putBulkData
default void putBulkData(PoseStack.Pose pose, BakedQuad bakedQuad, float red, float green, float blue, float alpha, int packedLight, int packedOverlay, boolean readExistingColor) Variant with no per-vertex shading. -
applyBakedLighting
-
applyBakedNormals
default void applyBakedNormals(org.joml.Vector3f generated, ByteBuffer data, org.joml.Matrix3f normalTransform)
-