---
UID: NF:d2d1effectauthor.ID2D1RenderInfo.SetCached
title: ID2D1RenderInfo::SetCached (d2d1effectauthor.h)
description: Specifies that the output of the transform in which the render information is encapsulated is or is not cached.
old-location: direct2d\id2d1renderinfo_setcached.htm
tech.root: Direct2D
ms.assetid: 2325A132-5B34-48B2-90F0-2A31892E0AD8
ms.date: 12/05/2018
ms.keywords: ID2D1RenderInfo interface [Direct2D],SetCached method, ID2D1RenderInfo.SetCached, ID2D1RenderInfo::SetCached, SetCached, SetCached method [Direct2D], SetCached method [Direct2D],ID2D1RenderInfo interface, d2d1effectauthor/ID2D1RenderInfo::SetCached, direct2d.id2d1renderinfo_setcached
f1_keywords:
- d2d1effectauthor/ID2D1RenderInfo.SetCached
dev_langs:
- c++
req.header: d2d1effectauthor.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: Windows 8 and Platform Update for Windows 7 [desktop apps \| UWP apps]
req.target-min-winversvr: Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps \| UWP apps]
req.kmdf-ver: 
req.umdf-ver: 
req.ddi-compliance: 
req.unicode-ansi: 
req.idl: 
req.max-support: 
req.namespace: 
req.assembly: 
req.type-library: 
req.lib: D2d1.lib
req.dll: 
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- COM
api_location:
- d2d1.lib
- d2d1.dll
api_name:
- ID2D1RenderInfo.SetCached
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# ID2D1RenderInfo::SetCached


## -description


Specifies that the output of the transform in which the render information is encapsulated is or is not cached.


## -parameters




### -param isCached

Type: <b>BOOL</b>

<b>TRUE</b> if the output of the transform is cached; otherwise, <b>FALSE</b>.


## -returns



This method does not return a value.




## -see-also




<a href="https://docs.microsoft.com/windows/desktop/api/d2d1effectauthor/nf-d2d1effectauthor-id2d1concretetransform-setcached">ID2D1ConcreteTransform::SetCached</a>



<a href="https://docs.microsoft.com/windows/desktop/api/d2d1effectauthor/nn-d2d1effectauthor-id2d1renderinfo">ID2D1RenderInfo</a>
 

 

