BufferDescription.BufferBytes Property

Language:

Retrieves or sets the size of the new buffer.

Definition

Visual Basic Public Property BufferBytes As Integer
C# public int BufferBytes { get; set; }
C++ public:
property int BufferBytes {
        int get();
        void set(int value);
}
JScript public function get BufferBytes() : int
public function set BufferBytes(int);

Property Value

System.Int32
Value that represents the size of the new buffer, in bytes, to set or retrieve.

This property is read/write. 

Remarks

This value must be 0 when creating a buffer with BufferDescription.PrimaryBuffer set to true.


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