类 PostChain
java.lang.Object
net.minecraft.client.renderer.PostChain
- 所有已实现的接口:
AutoCloseable
-
字段概要
字段修饰符和类型字段说明private final Map<String,
RenderTarget> private final List<RenderTarget>
private float
private static final String
private final String
private final ResourceManager
private int
private final RenderTarget
private int
private org.joml.Matrix4f
private float
-
构造器概要
构造器构造器说明PostChain
(TextureManager pTextureManager, ResourceManager pResourceManager, RenderTarget pScreenTarget, ResourceLocation pName) -
方法概要
修饰符和类型方法说明addPass
(String pProgramName, RenderTarget pFramebuffer, RenderTarget pFramebufferOut) void
addTempTarget
(String pName, int pWidth, int pHeight) void
close()
final String
getName()
private RenderTarget
getRenderTarget
(String pTarget) getTempTarget
(String pAttributeName) private void
load
(TextureManager pTextureManager, ResourceLocation pResourceLocation) private void
parsePassNode
(TextureManager pTextureManager, com.google.gson.JsonElement pJson) private void
parseTargetNode
(com.google.gson.JsonElement pJson) private void
parseUniformNode
(com.google.gson.JsonElement pJson) void
process
(float pPartialTicks) void
resize
(int pWidth, int pHeight) private void
-
字段详细资料
-
MAIN_RENDER_TARGET
- 另请参阅:
-
screenTarget
-
resourceManager
-
name
-
passes
-
customRenderTargets
-
fullSizedTargets
-
shaderOrthoMatrix
private org.joml.Matrix4f shaderOrthoMatrix -
screenWidth
private int screenWidth -
screenHeight
private int screenHeight -
time
private float time -
lastStamp
private float lastStamp
-
-
构造器详细资料
-
PostChain
public PostChain(TextureManager pTextureManager, ResourceManager pResourceManager, RenderTarget pScreenTarget, ResourceLocation pName) throws IOException, com.google.gson.JsonSyntaxException - 抛出:
IOException
com.google.gson.JsonSyntaxException
-
-
方法详细资料
-
load
private void load(TextureManager pTextureManager, ResourceLocation pResourceLocation) throws IOException, com.google.gson.JsonSyntaxException - 抛出:
IOException
com.google.gson.JsonSyntaxException
-
parseTargetNode
-
parsePassNode
private void parsePassNode(TextureManager pTextureManager, com.google.gson.JsonElement pJson) throws IOException - 抛出:
IOException
-
parseUniformNode
-
getTempTarget
-
addTempTarget
-
close
public void close()- 指定者:
close
在接口中AutoCloseable
-
addPass
public PostPass addPass(String pProgramName, RenderTarget pFramebuffer, RenderTarget pFramebufferOut) throws IOException - 抛出:
IOException
-
updateOrthoMatrix
private void updateOrthoMatrix() -
resize
public void resize(int pWidth, int pHeight) -
process
public void process(float pPartialTicks) -
getName
-
getRenderTarget
-