Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
This function template casts a constant pointer to any command list into a const pointer to an ID3D12CommandList.
This cast is useful for passing strongly-typed command list pointers into ExecuteCommandLists.
Syntax
ID3D12CommandList * const * inline CommandListCast(
t_CommandListType * const * pp
);
Parameters
-
pp
-
Type: t_CommandListType * const *
The strongly-typed command list to cast.
The template argument t_CommandListType specifies any strongly-typed command list object.
Return value
Type: ID3D12CommandList * const *
The strongly-typed command list, reinterpreted as an ID3D12CommandList.
Remarks
CommandListCast performs a reinterpret_cast. The cast is valid as long as the const-ness of the command list is respected.
The CommandListCast function is defined as the following:
template <typename t_CommandListType>
inline ID3D12CommandList * const * CommandListCast(t_CommandListType * const * pp)
{
return reinterpret_cast<ID3D12CommandList * const *>(pp);
}
Requirements
| Requirement | Value |
|---|---|
| Header |
|
| Library |
|
| DLL |
|