IDirect3DDevice9::GetVertexDeclaration 方法 (d3d9helper.h)
获取顶点着色器声明。
语法
HRESULT GetVertexDeclaration(
[out] IDirect3DVertexDeclaration9 **ppDecl
);
参数
[out] ppDecl
类型: IDirect3DVertexDeclaration9**
指向返回的 IDirect3DVertexDeclaration9 对象的指针。
返回值
类型: HRESULT
如果该方法成功,则返回值D3D_OK。 返回值可以D3DERR_INVALIDCALL。
要求
要求 | 值 |
---|---|
目标平台 | Windows |
标头 | d3d9helper.h (包括 D3D9.h) |
Library | D3D9.lib |
另请参阅
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈