public class MinecraftForgeClient
extends java.lang.Object
Constructor and Description |
---|
MinecraftForgeClient() |
Modifier and Type | Method and Description |
---|---|
static ChunkCache |
getRegionRenderCache(World world,
BlockPos pos) |
static BlockRenderLayer |
getRenderLayer() |
static int |
getRenderPass() |
static void |
onRebuildChunk(World world,
BlockPos position,
ChunkCache cache) |
static void |
releaseStencilBit(int bit)
Release the stencil bit for other use
|
static int |
reserveStencilBit()
Reserve a stencil bit for use in rendering
Note: you must check the Framebuffer you are working with to
determine if stencil bits are enabled on it before use.
|
public static int getRenderPass()
public static BlockRenderLayer getRenderLayer()
public static int reserveStencilBit()
public static void releaseStencilBit(int bit)
bit
- The bit from reserveStencilBit()
public static void onRebuildChunk(World world, BlockPos position, ChunkCache cache)
public static ChunkCache getRegionRenderCache(World world, BlockPos pos)