ID3DX10MeshBuffer::Map method
Get a pointer to the mesh buffer memory to modify its contents.
Syntax
HRESULT Map(
[out] void **ppData,
[out] SIZE_T *pSize
);
Parameters
-
ppData [out]
-
Type: void**
Pointer to the buffer data.
-
pSize [out]
-
Type: SIZE_T*
Size of the buffer in bytes.
Return value
Type: HRESULT
The return value is one of the values listed in Direct3D 10 Return Codes.
Remarks
Differences between Direct3D 9 and Direct3D 10:
- Map() in Direct3D 10 is analogous to resource Map() in Direct3D 9.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|
See also