Share via


Compositor.GetCommitBatch(CompositionBatchTypes) Method

Definition

Retrieves a commit batch for the current commit cycle.

public:
 virtual CompositionCommitBatch ^ GetCommitBatch(CompositionBatchTypes batchType) = GetCommitBatch;
CompositionCommitBatch GetCommitBatch(CompositionBatchTypes const& batchType);
public CompositionCommitBatch GetCommitBatch(CompositionBatchTypes batchType);
function getCommitBatch(batchType)
Public Function GetCommitBatch (batchType As CompositionBatchTypes) As CompositionCommitBatch

Parameters

batchType
CompositionBatchTypes

The batch type.

Returns

Returns a CompositionCommitBatch representing the retrieved commit batch.

Windows requirements

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

Applies to