IDxcOptimizerPass structure (dxcapi.h)

Interface representing an optimizer pass.

To obtain an instance of this interface, call IDxcOptimizer::GetAvailablePass.

Syntax

struct IDxcOptimizerPass : IUnknown {
  HRESULT GetOptionName(
    LPWSTR *ppResult
  );
  HRESULT GetDescription(
    LPWSTR *ppResult
  );
  HRESULT GetOptionArgCount(
    UINT32 *pCount
  );
  HRESULT GetOptionArgName(
    UINT32 argIndex,
    LPWSTR *ppResult
  );
  HRESULT GetOptionArgDescription(
    UINT32 argIndex,
    LPWSTR *ppResult
  );
};

Inheritance

The IDxcOptimizerPass structure implements IUnknown.

Requirements

Requirement Value
Header dxcapi.h