Device.SoftwareVertexProcessing Property |
Language: |
Retrieves or sets the vertex processing mode.
Visual Basic Public Property SoftwareVertexProcessing As Boolean C# public bool SoftwareVertexProcessing { get; set; } C++ public:
property bool SoftwareVertexProcessing {
bool get();
void set(bool value);
}JScript public function get SoftwareVertexProcessing() : boolean
public function set SoftwareVertexProcessing(boolean);
System.Boolean
This property is read/write.
Value that is true for software vertex processing; false for hardware vertex processing.
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.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center