CD3D10_BUFFER_DESC structure

Describes a buffer resource.

Syntax

struct CD3D10_BUFFER_DESC {
  void CD3D10_BUFFER_DESC();
  void CD3D10_BUFFER_DESC( const D3D10_BUFFER_DESC & o);
  void CD3D10_BUFFER_DESC( UINT        byteWidth, UINT        bindFlags, D3D10_USAGE usage, UINT        cpuaccessFlags, UINT        miscFlags);
  void ~CD3D10_BUFFER_DESC();
  void operator const D3D10_BUFFER_DESC&();
};

Members

void CD3D10_BUFFER_DESC()`




````cpp
void CD3D10_BUFFER_DESC(  const D3D10_BUFFER_DESC & o)`




````cpp
void CD3D10_BUFFER_DESC(  UINT        byteWidth,  UINT        bindFlags,  D3D10_USAGE usage,  UINT        cpuaccessFlags,  UINT        miscFlags)`




````cpp
void ~CD3D10_BUFFER_DESC()`




````cpp
void operator const D3D10_BUFFER_DESC&()`




## Remarks
This structure is used by <a href="https://docs.microsoft.com/windows/desktop/api/d3d10/nf-d3d10-id3d10device-createbuffer">ID3D10Device::CreateBuffer</a> to create buffer resources.

In addition to this structure, there is also a derived structure in D3D10.h (CD3D10_BUFFER_DESC) which behaves like an inherited class to help create a buffer description.


## Requirements
| &nbsp; | &nbsp; |
| ---- |:---- |
| **Header** | d3d10.h |

## See Also

<a href="https://docs.microsoft.com/windows/desktop/direct3d10/d3d10-graphics-reference-resource-structures">Resource Structures</a>