public static bool HardwareShaderAvailable { get; }
public:
static property bool HardwareShaderAvailable {
bool get();
}
true if the hardware shader is available; otherwise, false.
If the hardware shader is not supported by the current hardware, the program will attempt to use the software shader but, rendering will be much slower.
using Leadtools;
using Leadtools.Codecs;
using Leadtools.MedicalViewer;
using Leadtools.Medical3D;
public void Medical3DControlExample()
{
MainForm1 form = new MainForm1();
form.ShowDialog();
}
// MainForm1 will be the owner of the medical viewer control.
class MainForm1 : Form
{
public MainForm1()
{
string DirectXVersion = Medical3DEngine.DirectXVersion;
bool IsValidDirectXVersion = Medical3DEngine.IsValidDirectXVersion;
bool VertexShaderAvailable = Medical3DEngine.VertexShaderAvailable;
bool PixelShaderAvailable = Medical3DEngine.PixelShaderAvailable;
int DedicatedGPUMemorySize = Medical3DEngine.DedicatedGPUMemorySize;
int SharedGPUMemorySize = Medical3DEngine.SharedGPUMemorySize;
int Maximum2DTextureDimension = Medical3DEngine.Maximum2DTextureDimension;
int Maximum3DTextureDimension = Medical3DEngine.Maximum3DTextureDimension;
bool HardwareShaderAvailable = Medical3DEngine.HardwareShaderAvailable;
bool TexturingAvailable = Medical3DEngine.TexturingAvailable;
bool TexturingBackBufferAvailable = Medical3DEngine.TexturingBackBufferAvailable;
bool BlendingAvailable = Medical3DEngine.BlendingAvailable;
bool ZOperationAvailable = Medical3DEngine.ZOperationAvailable;
bool HardwareCompatible = Medical3DEngine.HardwareCompatible;
}
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document