MeshOptions.WriteOnly Property

Language:

Specifies whether Usage.WriteOnly should be used for vertex and index buffers.

Definition

Visual Basic Public ReadOnly Property WriteOnly As Boolean
C# public bool WriteOnly { get; }
C++ public:
property bool WriteOnly {
        bool get();
}
JScript public function get WriteOnly() : boolean

Property Value

System.Boolean
Value that is true if Usage.WriteOnly should be used, or false if it should not.

This property is read-only. 

Remarks

This property is equivalent to specifying both MeshOptions.IndexBufferWriteOnly and MeshOptions.VertexBufferWriteOnly.


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