MeshOptions.WriteOnly Property (Microsoft.DirectX.Direct3D)

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


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

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

This property is read-only. 


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