Material Properties |
The Material type exposes the following members.
Name | Description | |
---|---|---|
Effect | Gets or sets the Effect that is used to render this material. | |
PreferedShaderQuality | Gets or sets a shader quality that should be used to render this material. When this property is set to any other value than Undefined (by default) it overrides the ShaderQuality setting set in GraphicsProfile. | |
Version | Gets the version number of this Material. Version is increased each time the material is changed. Note: When material is changed a lot of times, the Version value can overflow from positive to negative numbers (to prevent problems do not check for bigger value but for not equal value) |