Microsoft DirectX 9.0 SDK Update (October 2004)

Effect.SamplePeriod Property

Language:

Note: This documentation is preliminary and is subject to change.

The period at which the device should play back the effect, in microseconds. A value of 0 indicates that the default playback sample rate should be used. If the device is not capable of playing back the effect at the specified rate, it chooses the supported rate that is closest to the requested value.Setting a custom DwSamplePeriod can be used for special effects. For example, playing a sine wave at an artificially large sample period results in a rougher texture.

Definition

Visual Basic .NET Public Property SamplePeriod As Integer
C# public int SamplePeriod { get; set; }
Managed C++ public: __property int get_SamplePeriod();
public: __property void set_SamplePeriod(int);
JScript .NET public function get SamplePeriod() : int
public function set SamplePeriod(int);

Property Value

System.Int32 .

This property is read/write. 

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center