Package codechicken.lib.render.shader
Class ShaderConstantCache
java.lang.Object
codechicken.lib.render.shader.ShaderConstantCache
- All Implemented Interfaces:
ConstantCache
Created by KitsuneAlex on 19/11/21.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconstant1b(int id, boolean value) voidconstant1f(int id, float value) voidconstant1i(int id, int value) int[]int[]
-
Constructor Details
-
ShaderConstantCache
public ShaderConstantCache()
-
-
Method Details
-
constant1i
public void constant1i(int id, int value) - Specified by:
constant1iin interfaceConstantCache
-
constant1f
public void constant1f(int id, float value) - Specified by:
constant1fin interfaceConstantCache
-
constant1b
public void constant1b(int id, boolean value) - Specified by:
constant1bin interfaceConstantCache
-
getIndices
public int[] getIndices() -
getValues
public int[] getValues()
-