![]() |
![]() |
![]() |
Device.SoftwareVertexProcessing Property |
Language: |
Retrieves or sets the vertex processing mode.
Visual Basic .NET Public Property SoftwareVertexProcessing As Boolean C# public bool SoftwareVertexProcessing { get; set; } Managed C++ public: __property bool get_SoftwareVertexProcessing();
public: __property void set_SoftwareVertexProcessing(bool);JScript .NET public function get SoftwareVertexProcessing() : boolean
public function set SoftwareVertexProcessing(boolean);
System.Boolean . Value that is true for software vertex processing; false for hardware vertex processing.
This property is read/write.
The following restrictions apply when changing modes.
- If a device is created with CreateFlags.SoftwareVertexProcessing, vertex processing is done in software and cannot be changed.
- If a device is created with CreateFlags.HardwareVertexProcessing, vertex processing is done in hardware and cannot be changed.
- If a device is created with CreateFlags.MixedVertexProcessing, vertex processing is done in hardware by default, and can be switched between software and hardware. An application can create a mixed-mode device to use both software and hardware vertex processing. Use this property to switch between the two vertex processing modes.
Exceptions
InvalidCallException Occurs if the method call is invalid. For example, a parameter might contain an invalid value.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center