Share via


Compositor.CreateScopedBatch(CompositionBatchTypes) Method

Definition

Creates an instance of CompositionScopedBatch.

public:
 virtual CompositionScopedBatch ^ CreateScopedBatch(CompositionBatchTypes batchType) = CreateScopedBatch;
CompositionScopedBatch CreateScopedBatch(CompositionBatchTypes const& batchType);
public CompositionScopedBatch CreateScopedBatch(CompositionBatchTypes batchType);
function createScopedBatch(batchType)
Public Function CreateScopedBatch (batchType As CompositionBatchTypes) As CompositionScopedBatch

Parameters

batchType
CompositionBatchTypes

The type of composition batch to create.

Returns

Returns the created CompositionScopedBatch object.

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Applies to