Interface DynamicShaderBlock<T>
- Type Parameters:
T- The type of object to serialize
- All Superinterfaces:
AutoCloseable,org.lwjgl.system.NativeResource,ShaderBlock<T>
- All Known Implementing Classes:
DynamicShaderBlockImpl,WrapperShaderBlockImpl
A
ShaderBlock that can be resized.-
Method Summary
Modifier and TypeMethodDescriptionvoidsetSize(long newSize) Resizes this shader block to match the new size.Methods inherited from interface org.lwjgl.system.NativeResource
close, freeMethods inherited from interface foundry.veil.api.client.render.shader.definition.ShaderBlock
getValue, set, update
-
Method Details
-
setSize
void setSize(long newSize) Resizes this shader block to match the new size.- Parameters:
newSize- The size in bytes
-