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