public static void CreateTexture( string fileName, D3D11Device device, D3D11DeviceContext context, out D3D11ShaderResourceView textureView) { DdsFile dds = DdsFile.FromFile(fileName); CreateTexture(dds, device, context, out textureView); }