3.3.5.2 Processing Render Target Messages

The render target is the topmost resource of the composition tree. When receiving a MILCMD_CHANNEL_CREATERESOURCE message, the client MUST create a render target with the type set to TYPE_DESKTOPRENDERTARGET. After creation, the render target is configured with a MILCMD_HWNDTARGET_CREATE message. The client MUST set the following attributes to values from the MILCMD_HWNDTARGET_CREATE fields:

clearColor: The clear color of the target.

width, height: The size of the render target.