Interface MutableUniformAccess
- All Superinterfaces:
UniformAccess
- All Known Subinterfaces:
PostPipeline,ShaderProgram
- All Known Implementing Classes:
BlitPostStage,CompositePostPipeline,CopyPostStage,DepthFunctionPostStage,DynamicShaderProgramImpl,FramebufferPostStage,MaskPostStage,ShaderProgramImpl
Provides write access to all uniform variables in a shader program.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetStorageBlock(CharSequence name, int binding) Sets the binding to use for the specified storage block.voidsetUniformBlock(CharSequence name, int binding) Sets the binding to use for the specified uniform block.Methods inherited from interface foundry.veil.api.client.render.shader.program.UniformAccess
getOrCreateUniform, getStorageBlock, getUniform, getUniformBlock, getUniformLocation, getUniformSafe, hasStorageBlock, hasUniform, hasUniformBlock
-
Method Details
-
setUniformBlock
Sets the binding to use for the specified uniform block.- Parameters:
name- The name of the block to setbinding- The binding to use for that block
-
setStorageBlock
Sets the binding to use for the specified storage block.- Parameters:
name- The name of the block to setbinding- The binding to use for that block
-