private void CreateSamplerStates() { linearClampSamplerState = new SharpDXSampler(nativeDevice, Filter.MinMagMipLinear, TextureAddressMode.Clamp); linearWrapSamplerState = new SharpDXSampler(nativeDevice, Filter.MinMagMipLinear, TextureAddressMode.Wrap); pointClampSamplerState = new SharpDXSampler(nativeDevice, Filter.MinMagMipPoint, TextureAddressMode.Clamp); pointWrapSamplerState = new SharpDXSampler(nativeDevice, Filter.MinMagMipPoint, TextureAddressMode.Wrap); }