Package net.minecraft.client.gl
Class Framebuffer
java.lang.Object
net.minecraft.client.gl.Framebuffer
- Mappings:
Namespace Name official ckwintermediary net/minecraft/class_1862named net/minecraft/client/gl/Framebuffer
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloat[]intintintintintintbooleanintint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattachTexture(int width, int height) voidvoidbind(boolean viewPort) voidvoidclear()voiddelete()voiddraw(int width, int height) voiddrawInternal(int width, int height, boolean colorMaterial) voidendRead()voidendWrite()voidresize(int width, int height) voidsetClearColor(float r, float g, float b, float a) voidsetTexFilter(int texFilter)
-
Field Details
-
textureWidth
public int textureWidth- Mappings:
Namespace Name Mixin selector official aLckw;a:Iintermediary field_7981Lnet/minecraft/class_1862;field_7981:Inamed textureWidthLnet/minecraft/client/gl/Framebuffer;textureWidth:I
-
textureHeight
public int textureHeight- Mappings:
Namespace Name Mixin selector official bLckw;b:Iintermediary field_7982Lnet/minecraft/class_1862;field_7982:Inamed textureHeightLnet/minecraft/client/gl/Framebuffer;textureHeight:I
-
viewportWidth
public int viewportWidth- Mappings:
Namespace Name Mixin selector official cLckw;c:Iintermediary field_7983Lnet/minecraft/class_1862;field_7983:Inamed viewportWidthLnet/minecraft/client/gl/Framebuffer;viewportWidth:I
-
viewportHeight
public int viewportHeight- Mappings:
Namespace Name Mixin selector official dLckw;d:Iintermediary field_7984Lnet/minecraft/class_1862;field_7984:Inamed viewportHeightLnet/minecraft/client/gl/Framebuffer;viewportHeight:I
-
useDepthAttachment
public boolean useDepthAttachment- Mappings:
Namespace Name Mixin selector official eLckw;e:Zintermediary field_7985Lnet/minecraft/class_1862;field_7985:Znamed useDepthAttachmentLnet/minecraft/client/gl/Framebuffer;useDepthAttachment:Z
-
fbo
public int fbo- Mappings:
Namespace Name Mixin selector official fLckw;f:Iintermediary field_7986Lnet/minecraft/class_1862;field_7986:Inamed fboLnet/minecraft/client/gl/Framebuffer;fbo:I
-
colorAttachment
public int colorAttachment- Mappings:
Namespace Name Mixin selector official gLckw;g:Iintermediary field_7987Lnet/minecraft/class_1862;field_7987:Inamed colorAttachmentLnet/minecraft/client/gl/Framebuffer;colorAttachment:I
-
depthAttachment
public int depthAttachment- Mappings:
Namespace Name Mixin selector official hLckw;h:Iintermediary field_7988Lnet/minecraft/class_1862;field_7988:Inamed depthAttachmentLnet/minecraft/client/gl/Framebuffer;depthAttachment:I
-
clearColor
public float[] clearColor- Mappings:
Namespace Name Mixin selector official iLckw;i:[Fintermediary field_7989Lnet/minecraft/class_1862;field_7989:[Fnamed clearColorLnet/minecraft/client/gl/Framebuffer;clearColor:[F
-
texFilter
public int texFilter- Mappings:
Namespace Name Mixin selector official jLckw;j:Iintermediary field_7990Lnet/minecraft/class_1862;field_7990:Inamed texFilterLnet/minecraft/client/gl/Framebuffer;texFilter:I
-
-
Constructor Details
-
Framebuffer
public Framebuffer(int width, int height, boolean useDepth) - Mappings:
Namespace Name Mixin selector official <init>Lckw;<init>(IIZ)Vintermediary <init>Lnet/minecraft/class_1862;<init>(IIZ)Vnamed <init>Lnet/minecraft/client/gl/Framebuffer;<init>(IIZ)V
-
-
Method Details
-
resize
public void resize(int width, int height) - Mappings:
Namespace Name Mixin selector official aLckw;a(II)Vintermediary method_6893Lnet/minecraft/class_1862;method_6893(II)Vnamed resizeLnet/minecraft/client/gl/Framebuffer;resize(II)V
-
delete
public void delete()- Mappings:
Namespace Name Mixin selector official aLckw;a()Vintermediary method_6890Lnet/minecraft/class_1862;method_6890()Vnamed deleteLnet/minecraft/client/gl/Framebuffer;delete()V
-
attachTexture
public void attachTexture(int width, int height) - Mappings:
Namespace Name Mixin selector official bLckw;b(II)Vintermediary method_6896Lnet/minecraft/class_1862;method_6896(II)Vnamed attachTextureLnet/minecraft/client/gl/Framebuffer;attachTexture(II)V
-
setTexFilter
public void setTexFilter(int texFilter) - Mappings:
Namespace Name Mixin selector official aLckw;a(I)Vintermediary method_6892Lnet/minecraft/class_1862;method_6892(I)Vnamed setTexFilterLnet/minecraft/client/gl/Framebuffer;setTexFilter(I)V
-
checkFramebufferStatus
public void checkFramebufferStatus()- Mappings:
Namespace Name Mixin selector official bLckw;b()Vintermediary method_6895Lnet/minecraft/class_1862;method_6895()Vnamed checkFramebufferStatusLnet/minecraft/client/gl/Framebuffer;checkFramebufferStatus()V
-
beginRead
public void beginRead()- Mappings:
Namespace Name Mixin selector official cLckw;c()Vintermediary method_6897Lnet/minecraft/class_1862;method_6897()Vnamed beginReadLnet/minecraft/client/gl/Framebuffer;beginRead()V
-
endRead
public void endRead()- Mappings:
Namespace Name Mixin selector official dLckw;d()Vintermediary method_6899Lnet/minecraft/class_1862;method_6899()Vnamed endReadLnet/minecraft/client/gl/Framebuffer;endRead()V
-
bind
public void bind(boolean viewPort) - Mappings:
Namespace Name Mixin selector official aLckw;a(Z)Vintermediary method_6894Lnet/minecraft/class_1862;method_6894(Z)Vnamed bindLnet/minecraft/client/gl/Framebuffer;bind(Z)V
-
endWrite
public void endWrite()- Mappings:
Namespace Name Mixin selector official eLckw;e()Vintermediary method_6900Lnet/minecraft/class_1862;method_6900()Vnamed endWriteLnet/minecraft/client/gl/Framebuffer;endWrite()V
-
setClearColor
public void setClearColor(float r, float g, float b, float a) - Mappings:
Namespace Name Mixin selector official aLckw;a(FFFF)Vintermediary method_6891Lnet/minecraft/class_1862;method_6891(FFFF)Vnamed setClearColorLnet/minecraft/client/gl/Framebuffer;setClearColor(FFFF)V
-
draw
public void draw(int width, int height) - Mappings:
Namespace Name Mixin selector official cLckw;c(II)Vintermediary method_6898Lnet/minecraft/class_1862;method_6898(II)Vnamed drawLnet/minecraft/client/gl/Framebuffer;draw(II)V
-
drawInternal
public void drawInternal(int width, int height, boolean colorMaterial) - Mappings:
Namespace Name Mixin selector official aLckw;a(IIZ)Vintermediary method_9925Lnet/minecraft/class_1862;method_9925(IIZ)Vnamed drawInternalLnet/minecraft/client/gl/Framebuffer;drawInternal(IIZ)V
-
clear
public void clear()- Mappings:
Namespace Name Mixin selector official fLckw;f()Vintermediary method_6901Lnet/minecraft/class_1862;method_6901()Vnamed clearLnet/minecraft/client/gl/Framebuffer;clear()V
-