ID3DXBaseEffect::GetPassDesc method
Gets a pass description.
Syntax
HRESULT GetPassDesc(
[in] D3DXHANDLE hPass,
[out] D3DXPASS_DESC *pDesc
);
Parameters
-
hPass [in]
-
Type: D3DXHANDLE
Pass handle. See Handles (Direct3D 9).
-
pDesc [out]
-
Type: D3DXPASS_DESC*
Returns a description of the specified pass. See D3DXPASS_DESC.
Return value
Type: HRESULT
If the method succeeds, the return value is S_OK. If the method fails, the return value can be D3DERR_INVALIDCALL.
Remarks
Note
If an effect is created with D3DXFX_NOT_CLONEABLE, this method will return NULL pointers (in D3DXPASS_DESC) to the shader functions.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for