예제 #1
0
 public sealed override void SetupVoxelMaterial(MyEffectVoxels shader, MyRenderVoxelBatch batch)
 {
     throw new InvalidOperationException();
 }
 public abstract void SetupVoxelMaterial(MyEffectVoxels shader, MyRenderVoxelBatch batch);
 public override void SetupVoxelMaterial(MyEffectVoxels effect, MyRenderVoxelBatch batch)
 {
     effect.UpdateVoxelTextures(MyRender.OverrideVoxelMaterial ?? batch.Material0);
 }
 public override void SetupVoxelMaterial(MyEffectVoxels effect, MyRenderVoxelBatch batch)
 {
     effect.UpdateVoxelMultiTextures(MyRender.OverrideVoxelMaterial ?? batch.Material0, MyRender.OverrideVoxelMaterial ?? batch.Material1, MyRender.OverrideVoxelMaterial ?? batch.Material2);
 }
예제 #5
0
 public abstract void SetupVoxelMaterial(MyEffectVoxels shader, MyRenderVoxelBatch batch);
 public sealed override void SetupVoxelMaterial(MyEffectVoxels shader, MyRenderVoxelBatch batch)
 {
     throw new InvalidOperationException();
 }