Class ProjectionMatrix3

java.lang.Object
net.minecraft.client.render.ProjectionMatrix3
All Implemented Interfaces:
AutoCloseable

@Environment(CLIENT) public class ProjectionMatrix3 extends Object implements AutoCloseable
Mappings:
Namespace Name
named net/minecraft/client/render/ProjectionMatrix3
intermediary net/minecraft/class_11279
official gwt
  • Field Details

    • buffer

      private final GpuBuffer buffer
      Mappings:
      Namespace Name Mixin selector
      named buffer Lnet/minecraft/client/render/ProjectionMatrix3;buffer:Lcom/mojang/blaze3d/buffers/GpuBuffer;
      intermediary field_60066 Lnet/minecraft/class_11279;field_60066:Lcom/mojang/blaze3d/buffers/GpuBuffer;
      official a Lgwt;a:Lcom/mojang/blaze3d/buffers/GpuBuffer;
    • slice

      private final GpuBufferSlice slice
      Mappings:
      Namespace Name Mixin selector
      named slice Lnet/minecraft/client/render/ProjectionMatrix3;slice:Lcom/mojang/blaze3d/buffers/GpuBufferSlice;
      intermediary field_60067 Lnet/minecraft/class_11279;field_60067:Lcom/mojang/blaze3d/buffers/GpuBufferSlice;
      official b Lgwt;b:Lcom/mojang/blaze3d/buffers/GpuBufferSlice;
    • nearZ

      private final float nearZ
      Mappings:
      Namespace Name Mixin selector
      named nearZ Lnet/minecraft/client/render/ProjectionMatrix3;nearZ:F
      intermediary field_60068 Lnet/minecraft/class_11279;field_60068:F
      official c Lgwt;c:F
    • farZ

      private final float farZ
      Mappings:
      Namespace Name Mixin selector
      named farZ Lnet/minecraft/client/render/ProjectionMatrix3;farZ:F
      intermediary field_60069 Lnet/minecraft/class_11279;field_60069:F
      official d Lgwt;d:F
    • width

      private int width
      Mappings:
      Namespace Name Mixin selector
      named width Lnet/minecraft/client/render/ProjectionMatrix3;width:I
      intermediary field_60070 Lnet/minecraft/class_11279;field_60070:I
      official e Lgwt;e:I
    • height

      private int height
      Mappings:
      Namespace Name Mixin selector
      named height Lnet/minecraft/client/render/ProjectionMatrix3;height:I
      intermediary field_60071 Lnet/minecraft/class_11279;field_60071:I
      official f Lgwt;f:I
    • fov

      private float fov
      Mappings:
      Namespace Name Mixin selector
      named fov Lnet/minecraft/client/render/ProjectionMatrix3;fov:F
      intermediary field_60072 Lnet/minecraft/class_11279;field_60072:F
      official g Lgwt;g:F
  • Constructor Details

    • ProjectionMatrix3

      public ProjectionMatrix3(String name, float nearZ, float farZ)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/ProjectionMatrix3;<init>(Ljava/lang/String;FF)V
      intermediary <init> Lnet/minecraft/class_11279;<init>(Ljava/lang/String;FF)V
      official <init> Lgwt;<init>(Ljava/lang/String;FF)V
  • Method Details

    • set

      public GpuBufferSlice set(int width, int height, float fov)
      Mappings:
      Namespace Name Mixin selector
      named set Lnet/minecraft/client/render/ProjectionMatrix3;set(IIF)Lcom/mojang/blaze3d/buffers/GpuBufferSlice;
      intermediary method_71095 Lnet/minecraft/class_11279;method_71095(IIF)Lcom/mojang/blaze3d/buffers/GpuBufferSlice;
      official a Lgwt;a(IIF)Lcom/mojang/blaze3d/buffers/GpuBufferSlice;
    • getMatrix

      private Matrix4f getMatrix(int width, int height, float fov)
      Mappings:
      Namespace Name Mixin selector
      named getMatrix Lnet/minecraft/client/render/ProjectionMatrix3;getMatrix(IIF)Lorg/joml/Matrix4f;
      intermediary method_71097 Lnet/minecraft/class_11279;method_71097(IIF)Lorg/joml/Matrix4f;
      official b Lgwt;b(IIF)Lorg/joml/Matrix4f;
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable