Creates a layer resource that can be used with this render target and its compatible render targets. The new layer has the specified initial size.
シンタックス
'宣言
Public Overloads Shared Function Create( _
ByVal As RenderTarget, _
ByVal As System.Nullable(Of Size2F) _
) As Layer
public static Layer Create(
RenderTarget ,
System.Nullable<Size2F>
)
パラメータ
- renderTarget
- an instance of RenderTarget
- size
- If (0, 0) is specified, no backing store is created behind the layer resource. The layer resource is allocated to the minimum size when {{PushLayer}} is called.
参照