Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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