public void Dispose() { ShaderSet.Dispose(); ConstantBindings.Dispose(); foreach (var binding in DefaultTextureBindings) { binding.TextureBinding.Dispose(); } }
public void ApplyPerObjectInputs(ConstantBufferDataProvider[] dataProviders) { ConstantBindings.ApplyPerObjectInputs(dataProviders); }
public void ApplyPerObjectInput(ConstantBufferDataProvider dataProvider) { ConstantBindings.ApplyPerObjectInput(dataProvider); }