Skip to content

Latest commit

 

History

History
98 lines (72 loc) · 4.91 KB

nf-d3d11-cd3d11_buffer_desc-cd3d11_buffer_desc(uint_uint_d3d11_usage_uint_uint_uint).md

File metadata and controls

98 lines (72 loc) · 4.91 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:d3d11.CD3D11_BUFFER_DESC.CD3D11_BUFFER_DESC(UINT,UINT,D3D11_USAGE,UINT,UINT,UINT)
CD3D11_BUFFER_DESC::CD3D11_BUFFER_DESC(UINT,UINT,D3D11_USAGE,UINT,UINT,UINT) (d3d11.h)
Instantiates a new instance of a CD3D11_BUFFER_DESC structure that is initialized with D3D11_BUFFER_DESC values.
CD3D11_BUFFER_DESC
CD3D11_BUFFER_DESC constructor [Direct3D 11]
CD3D11_BUFFER_DESC constructor [Direct3D 11]
CD3D11_BUFFER_DESC interface
CD3D11_BUFFER_DESC interface [Direct3D 11]
CD3D11_BUFFER_DESC constructor
CD3D11_BUFFER_DESC.CD3D11_BUFFER_DESC
CD3D11_BUFFER_DESC.CD3D11_BUFFER_DESC(UINT
UINT
D3D11_USAGE
UINT
UINT
UINT)
CD3D11_BUFFER_DESC::CD3D11_BUFFER_DESC
CD3D11_BUFFER_DESC::CD3D11_BUFFER_DESC(UINT
UINT
D3D11_USAGE
UINT
UINT
UINT)
d3d11/CD3D11_BUFFER_DESC::CD3D11_BUFFER_DESC
direct3d11.cd3d11_buffer_desc_cd3d11_buffer_desc_d3d11_buffer_desc_values_
direct3d11\cd3d11_buffer_desc_cd3d11_buffer_desc_d3d11_buffer_desc_values_.htm
direct3d11
D0CC0B50-414A-4D19-A699-CCA007612EAF
12/05/2018
CD3D11_BUFFER_DESC, CD3D11_BUFFER_DESC constructor [Direct3D 11], CD3D11_BUFFER_DESC constructor [Direct3D 11],CD3D11_BUFFER_DESC interface, CD3D11_BUFFER_DESC interface [Direct3D 11],CD3D11_BUFFER_DESC constructor, CD3D11_BUFFER_DESC.CD3D11_BUFFER_DESC, CD3D11_BUFFER_DESC.CD3D11_BUFFER_DESC(UINT,UINT,D3D11_USAGE,UINT,UINT,UINT), CD3D11_BUFFER_DESC::CD3D11_BUFFER_DESC, CD3D11_BUFFER_DESC::CD3D11_BUFFER_DESC(UINT,UINT,D3D11_USAGE,UINT,UINT,UINT), d3d11/CD3D11_BUFFER_DESC::CD3D11_BUFFER_DESC, direct3d11.cd3d11_buffer_desc_cd3d11_buffer_desc_d3d11_buffer_desc_values_
d3d11.h
Windows
Windows 7 [desktop apps \| UWP apps]
Windows Server 2008 R2 [desktop apps \| UWP apps]
D3D11.lib
Windows
19H1
CD3D11_BUFFER_DESC::CD3D11_BUFFER_DESC
d3d11/CD3D11_BUFFER_DESC::CD3D11_BUFFER_DESC
c++
APIRef
kbSyntax
COM
D3D11.lib
D3D11.dll
CD3D11_BUFFER_DESC.CD3D11_BUFFER_DESC

CD3D11_BUFFER_DESC::CD3D11_BUFFER_DESC(UINT,UINT,D3D11_USAGE,UINT,UINT,UINT)

-description

Instantiates a new instance of a CD3D11_BUFFER_DESC structure that is initialized with D3D11_BUFFER_DESC values.

-parameters

-param byteWidth

Type: UINT

Size of the buffer in bytes.

-param bindFlags

Type: UINT

A combination of D3D11_BIND_FLAG values that are combined by using a bitwise OR operation. The resulting value identifies how the buffer will be bound to the pipeline.

-param usage

Type: D3D11_USAGE

A D3D11_USAGE-typed value that identifies how the buffer is expected to be read from and written to. Frequency of update is a key factor.

-param cpuaccessFlags

Type: UINT

A combination of D3D11_CPU_ACCESS_FLAG values that are combined by using a bitwise OR operation or 0 if no CPU access is necessary. The resulting value identifies CPU access.

-param miscFlags

Type: UINT

A combination of D3D11_RESOURCE_MISC_FLAG values that are combined by using a bitwise OR operation or 0 if unused. The resulting value identifies miscellaneous buffer info.

-param structureByteStride

Type: UINT

The size of each element in the buffer structure (in bytes) when the buffer represents a structured buffer. For more info about structured buffers, see Structured Buffer.

The size value in structureByteStride must match the size of the format that you use for views of the buffer. For example, if you use a shader resource view (SRV) to read a buffer in a pixel shader, the SRV format size must match the size value in structureByteStride.

-see-also

CD3D11_BUFFER_DESC