public void Initialize(DeviceContextHolder contextHolder) { _effect = contextHolder.GetEffect<EffectSimpleMaterial>(); var texturesProvider = contextHolder.Get<TexturesProvider>(); _txDiffuse = texturesProvider.GetTexture(_filename, contextHolder); }
public void Initialize(DeviceContextHolder contextHolder) { _effect = contextHolder.GetEffect<EffectSimpleMaterial>(); }
public static void Set(this EffectVariable variable, EffectSimpleMaterial.NmUvMultMaterial o) { SlimDxExtension.Set(variable, o, EffectSimpleMaterial.NmUvMultMaterial.Stride); }