Package com.mojang.blaze3d.pipeline
Class MainTarget
java.lang.Object
com.mojang.blaze3d.pipeline.RenderTarget
com.mojang.blaze3d.pipeline.MainTarget
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static enum(package private) static class -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final MainTarget.Dimensionstatic final intstatic final intFields inherited from class com.mojang.blaze3d.pipeline.RenderTarget
colorTextureId, depthBufferId, filterMode, frameBufferId, height, useDepth, viewHeight, viewWidth, width -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate MainTarget.DimensionallocateAttachments(int pWidth, int pHeight) private booleanallocateColorAttachment(MainTarget.Dimension pDimension) private booleanallocateDepthAttachment(MainTarget.Dimension pDimension) private voidcreateFrameBuffer(int pWidth, int pHeight) Methods inherited from class com.mojang.blaze3d.pipeline.RenderTarget
bindRead, bindWrite, blitToScreen, blitToScreen, checkStatus, clear, copyDepthFrom, createBuffers, destroyBuffers, enableStencil, getColorTextureId, getDepthTextureId, isStencilEnabled, resize, setClearColor, setFilterMode, unbindRead, unbindWrite
-
Field Details
-
DEFAULT_WIDTH
public static final int DEFAULT_WIDTH- See Also:
-
DEFAULT_HEIGHT
public static final int DEFAULT_HEIGHT- See Also:
-
DEFAULT_DIMENSIONS
-
-
Constructor Details
-
MainTarget
public MainTarget(int pWidth, int pHeight)
-
-
Method Details
-
createFrameBuffer
private void createFrameBuffer(int pWidth, int pHeight) -
allocateAttachments
-
allocateColorAttachment
-
allocateDepthAttachment
-