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.
Create an effect pool asynchronously.
Syntax
HRESULT D3DX10CreateAsyncEffectCreateProcessor(
_In_ LPCSTR pFileName,
_In_ const D3D_SHADER_MACRO *pDefines,
_In_ LPD3D10INCLUDE pInclude,
_In_ LPCSTR pProfile,
_In_ UINT Flags,
_In_ UINT FXFlags,
_In_ ID3D10Device *pDevice,
_In_ ID3D10EffectPool *pPool,
_Out_ ID3D10Blob **ppErrorBuffer,
_Out_ ID3DX10DataProcessor **ppProcessor
);
Parameters
-
pFileName [in]
-
Type: LPCSTR
A string that contains the effect filename.
-
pDefines [in]
-
Type: const D3D_SHADER_MACRO*
A NULL-terminated array of shader macros (see D3D_SHADER_MACRO); set this to NULL to specify no macros.
-
pInclude [in]
-
Type: LPD3D10INCLUDE
A pointer to an include interface (see ID3D10Include Interface); set this to NULL to specify there is no include file.
-
pProfile [in]
-
Type: LPCSTR
A string that specifies the shader profile or shader model.
-
Flags [in]
-
Type: UINT
HLSL compile options (see Shader Flags).
-
FXFlags [in]
-
Type: UINT
Effect compile options (see Compile and Effect Flags).
-
pDevice [in]
-
Type: ID3D10Device*
A pointer to the device (see ID3D10Device Interface) that will use the resources.
-
pPool [in]
-
Type: ID3D10EffectPool*
A pointer to an effect pool (see ID3D10EffectPool Interface) for sharing variables between effects.
-
ppErrorBuffer [out]
-
Type: ID3D10Blob**
The address of a pointer to memory (see ID3D10Blob Interface) that contains effect compile errors, if there were any.
-
ppProcessor [out]
-
Type: ID3DX10DataProcessor**
The address of a pointer to the asynchronous-data processor (see ID3DX10DataProcessor Interface).
Return value
Type: HRESULT
The return value is one of the values listed in Direct3D 10 Return Codes.
Requirements
Requirement | Value |
---|---|
Header |
|
See also