Class VolumeTextureRawDataMaterialCore
- Namespace
- HelixToolkit.SharpDX.Model
- Assembly
- HelixToolkit.SharpDX.dll
Used to use raw data as Volume 3D texture. User must create their own data reader to read texture files as pixel byte[] and pass the necessary information as VolumeTextureParams
Pixel Byte[] is equal to Width * Height * Depth * BytesPerPixel.
public sealed class VolumeTextureRawDataMaterialCore : VolumeTextureMaterialCoreBase<VolumeTextureParams>, IMaterial, INotifyPropertyChanged, IVolumeTextureMaterial
- Inheritance
-
VolumeTextureRawDataMaterialCore
- Implements
- Inherited Members
- Extension Methods
Methods
LoadRAWFile(string, int, int, int)
public static VolumeTextureParams LoadRAWFile(string filename, int width, int height, int depth)
Parameters
Returns
OnCreateTexture(IEffectsManager?)
protected override ShaderResourceViewProxy? OnCreateTexture(IEffectsManager? manager)
Parameters
managerIEffectsManager