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.-
Nested Class Summary
Nested classes/interfaces inherited from interface foundry.veil.api.client.render.shader.block.ShaderBlock
ShaderBlock.BufferBinding, ShaderBlock.MemoryLayout -
Method Summary
Methods inherited from interface org.lwjgl.system.NativeResource
close, freeMethods inherited from interface foundry.veil.api.client.render.shader.block.ShaderBlock
getValue, set, update
-
Method Details
-
getSize
int getSize()- Returns:
- The size of this block in bytes
-
setSize
void setSize(int newSize) Resizes this shader block to match the new size.- Parameters:
newSize- The size in bytes
-