ID3DXBaseEffect::GetPassByName method
Gets the handle of a pass by looking up its name.
Syntax
D3DXHANDLE GetPassByName(
[in] D3DXHANDLE hTechnique,
[in] LPCSTR pName
);
Parameters
-
hTechnique [in]
-
Type: D3DXHANDLE
Handle of the parent technique. See Handles (Direct3D 9).
-
pName [in]
-
Type: LPCSTR
String containing the pass name.
Return value
Type: D3DXHANDLE
Returns the handle of the first pass inside the specified technique that has the specified name, or NULL if the name was not found. See Handles (Direct3D 9).
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