Gsk.SubsurfaceNode.new
Description: Reference for Gsk.SubsurfaceNode.new

### Constructor

# Gsk SubsurfaceNodenew

unstable since: 4.14

#### Declaration [src]

    GskRenderNode*
    gsk_subsurface_node_new (
      GskRenderNode* child,
      gpointer subsurface
    )

#### Description [src]

Creates a `GskRenderNode` that will possibly divert the child node to a subsurface.

Available since: 4.14

#### Parameters

`child`

  Type: `GskRenderNode`

  The child to divert to a subsurface.

  The data is owned by the caller of the function.

`subsurface`

  Type: `gpointer`

  The subsurface to use.

  The argument can be `NULL`.
  The data is owned by the caller of the function.

#### Return value

Type: `GskSubsurfaceNode`

A new `GskRenderNode`

The caller of the function takes ownership of the data, and is responsible for freeing it.