Class VolumeTextureRawDataMaterial
- Namespace
- HelixToolkit.WinUI.SharpDX
- Assembly
- HelixToolkit.WinUI.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 VolumeTextureRawDataMaterial : VolumeTextureMaterialBase, IWinRTObject, IDynamicInterfaceCastable, IEquatable<DependencyObject>, IVolumeTextureMaterial
- Inheritance
-
VolumeTextureRawDataMaterial
- Implements
-
IWinRTObject
- Inherited Members
Constructors
VolumeTextureRawDataMaterial()
public VolumeTextureRawDataMaterial()
VolumeTextureRawDataMaterial(VolumeTextureRawDataMaterialCore)
public VolumeTextureRawDataMaterial(VolumeTextureRawDataMaterialCore core)
Parameters
Fields
TextureProperty
public static readonly DependencyProperty TextureProperty
Field Value
Properties
Texture
Gets or sets the texture.
public VolumeTextureParams Texture { get; set; }
Property Value
- VolumeTextureParams
The texture.
Methods
OnCreateCore()
protected override MaterialCore OnCreateCore()