Delen via


CRenderTarget::PushLayer

Adds the specified layer to the render target so that it receives all subsequent drawing operations until PopLayer is called.

void PushLayer(
   const D2D1_LAYER_PARAMETERS& layerParameters,
   CD2DLayer& layer
);

Parameters

  • layerParameters
    The content bounds, geometric mask, opacity, opacity mask, and antialiasing options for the layer.

  • layer
    The layer that receives subsequent drawing operations.

Requirements

Header: afxrendertarget.h

See Also

Reference

CRenderTarget Class