Class VanillaUniformWrapper
java.lang.Object
com.mojang.blaze3d.shaders.AbstractUniform
com.mojang.blaze3d.shaders.Uniform
foundry.veil.impl.client.render.wrapper.VanillaUniformWrapper
- All Implemented Interfaces:
AutoCloseable
@Internal
public class VanillaUniformWrapper
extends com.mojang.blaze3d.shaders.Uniform
-
Field Summary
Fields inherited from class com.mojang.blaze3d.shaders.Uniform
UT_FLOAT1, UT_FLOAT2, UT_FLOAT3, UT_FLOAT4, UT_INT1, UT_INT2, UT_INT3, UT_INT4, UT_MAT2, UT_MAT3, UT_MAT4
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
void
set
(float value) void
set
(float[] values) void
set
(float x, float y) void
set
(float x, float y, float z) void
set
(float x, float y, float z, float w) void
set
(int value) void
set
(int index, float value) void
set
(int x, int y) void
set
(int x, int y, int z) void
set
(int x, int y, int z, int w) void
set
(@NotNull org.joml.Matrix3f value) void
set
(@NotNull org.joml.Matrix4f value) void
set
(@NotNull org.joml.Vector3f value) void
set
(@NotNull org.joml.Vector4f value) void
setLocation
(int location) void
setMat2x2
(float $$0, float $$1, float $$2, float $$3) void
setMat2x3
(float $$0, float $$1, float $$2, float $$3, float $$4, float $$5) void
setMat2x4
(float $$0, float $$1, float $$2, float $$3, float $$4, float $$5, float $$6, float $$7) void
setMat3x2
(float $$0, float $$1, float $$2, float $$3, float $$4, float $$5) void
setMat3x3
(float $$0, float $$1, float $$2, float $$3, float $$4, float $$5, float $$6, float $$7, float $$8) void
setMat3x4
(float $$0, float $$1, float $$2, float $$3, float $$4, float $$5, float $$6, float $$7, float $$8, float $$9, float $$10, float $$11) void
setMat4x2
(float $$0, float $$1, float $$2, float $$3, float $$4, float $$5, float $$6, float $$7) void
setMat4x3
(float $$0, float $$1, float $$2, float $$3, float $$4, float $$5, float $$6, float $$7, float $$8, float $$9, float $$10, float $$11) void
setMat4x4
(float $$0, float $$1, float $$2, float $$3, float $$4, float $$5, float $$6, float $$7, float $$8, float $$9, float $$10, float $$11, float $$12, float $$13, float $$14, float $$15) void
setSafe
(float x, float y, float z, float w) void
setSafe
(int x, int y, int z, int w) void
upload()
Methods inherited from class com.mojang.blaze3d.shaders.Uniform
close, getCount, getFloatBuffer, getIntBuffer, getName, getType, getTypeFromString, glBindAttribLocation, glGetAttribLocation, glGetUniformLocation, uploadInteger
-
Constructor Details
-
VanillaUniformWrapper
-
-
Method Details
-
setLocation
public void setLocation(int location) - Overrides:
setLocation
in classcom.mojang.blaze3d.shaders.Uniform
-
set
public void set(int index, float value) - Overrides:
set
in classcom.mojang.blaze3d.shaders.Uniform
-
set
public void set(float value) - Overrides:
set
in classcom.mojang.blaze3d.shaders.Uniform
-
set
public void set(float x, float y) - Overrides:
set
in classcom.mojang.blaze3d.shaders.Uniform
-
set
public void set(float x, float y, float z) - Overrides:
set
in classcom.mojang.blaze3d.shaders.Uniform
-
set
public void set(float x, float y, float z, float w) - Overrides:
set
in classcom.mojang.blaze3d.shaders.Uniform
-
set
public void set(@NotNull @NotNull org.joml.Vector3f value) - Overrides:
set
in classcom.mojang.blaze3d.shaders.Uniform
-
set
public void set(@NotNull @NotNull org.joml.Vector4f value) - Overrides:
set
in classcom.mojang.blaze3d.shaders.Uniform
-
setSafe
public void setSafe(float x, float y, float z, float w) - Overrides:
setSafe
in classcom.mojang.blaze3d.shaders.Uniform
-
set
public void set(int value) - Overrides:
set
in classcom.mojang.blaze3d.shaders.Uniform
-
set
public void set(int x, int y) - Overrides:
set
in classcom.mojang.blaze3d.shaders.Uniform
-
set
public void set(int x, int y, int z) - Overrides:
set
in classcom.mojang.blaze3d.shaders.Uniform
-
set
public void set(int x, int y, int z, int w) - Overrides:
set
in classcom.mojang.blaze3d.shaders.Uniform
-
setSafe
public void setSafe(int x, int y, int z, int w) - Overrides:
setSafe
in classcom.mojang.blaze3d.shaders.Uniform
-
set
public void set(float[] values) - Overrides:
set
in classcom.mojang.blaze3d.shaders.Uniform
-
setMat2x2
public void setMat2x2(float $$0, float $$1, float $$2, float $$3) - Overrides:
setMat2x2
in classcom.mojang.blaze3d.shaders.Uniform
-
setMat2x3
public void setMat2x3(float $$0, float $$1, float $$2, float $$3, float $$4, float $$5) - Overrides:
setMat2x3
in classcom.mojang.blaze3d.shaders.Uniform
-
setMat2x4
public void setMat2x4(float $$0, float $$1, float $$2, float $$3, float $$4, float $$5, float $$6, float $$7) - Overrides:
setMat2x4
in classcom.mojang.blaze3d.shaders.Uniform
-
setMat3x2
public void setMat3x2(float $$0, float $$1, float $$2, float $$3, float $$4, float $$5) - Overrides:
setMat3x2
in classcom.mojang.blaze3d.shaders.Uniform
-
setMat3x3
public void setMat3x3(float $$0, float $$1, float $$2, float $$3, float $$4, float $$5, float $$6, float $$7, float $$8) - Overrides:
setMat3x3
in classcom.mojang.blaze3d.shaders.Uniform
-
setMat3x4
public void setMat3x4(float $$0, float $$1, float $$2, float $$3, float $$4, float $$5, float $$6, float $$7, float $$8, float $$9, float $$10, float $$11) - Overrides:
setMat3x4
in classcom.mojang.blaze3d.shaders.Uniform
-
setMat4x2
public void setMat4x2(float $$0, float $$1, float $$2, float $$3, float $$4, float $$5, float $$6, float $$7) - Overrides:
setMat4x2
in classcom.mojang.blaze3d.shaders.Uniform
-
setMat4x3
public void setMat4x3(float $$0, float $$1, float $$2, float $$3, float $$4, float $$5, float $$6, float $$7, float $$8, float $$9, float $$10, float $$11) - Overrides:
setMat4x3
in classcom.mojang.blaze3d.shaders.Uniform
-
setMat4x4
public void setMat4x4(float $$0, float $$1, float $$2, float $$3, float $$4, float $$5, float $$6, float $$7, float $$8, float $$9, float $$10, float $$11, float $$12, float $$13, float $$14, float $$15) - Overrides:
setMat4x4
in classcom.mojang.blaze3d.shaders.Uniform
-
set
public void set(@NotNull @NotNull org.joml.Matrix3f value) - Overrides:
set
in classcom.mojang.blaze3d.shaders.Uniform
-
set
public void set(@NotNull @NotNull org.joml.Matrix4f value) - Overrides:
set
in classcom.mojang.blaze3d.shaders.Uniform
-
upload
public void upload()- Overrides:
upload
in classcom.mojang.blaze3d.shaders.Uniform
-
getLocation
public int getLocation()- Overrides:
getLocation
in classcom.mojang.blaze3d.shaders.Uniform
-