MeshOptions.WriteOnly Property (Microsoft.DirectX.Direct3D)

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.