Bink SDK 1.5v

# BinkLoadConverter

The function BinkLoadConverter reloads one or more of the Bink YUV to RGB converters (if they had been unloaded by BinkUnloadConverter).

    void BinkLoadConverter(
      BINK_CONVERTER_FLAGS flags
    );

#### In Parameters

flags
  Specifies the converter to load.

#### Discussion

This function reloads one or more of the Bink YUV converters into memory. You can use memory most effectively by loading just the YUV converters that your game actually uses. For example, say you use the BINKSURFACE32 and BINKSURFACE32A surface types, use the following code to load the minimum coverters:

`

    // First, unload all of the converters.BinkUnloadConverter( BINKCONVERTERSALL );
    // Next, load just the converters you're going to use.BinkLoadConverter( BINKSURFACEYUY2 );BinkLoadConverter( BINKSURFACE32A );

`

Group: Bink API
Related Sections: Memory management on the Xbox, Sections on the Xbox
Related Functions: BinkLoad, BinkUnloadConverter
Related Basic Types: BINK_CONVERTER_FLAGS, BINK_COPY_FLAGS, void

For technical support, e-mail Bink1@radgametools.com
© Copyright 1994-2003 RAD Game Tools, Inc. All Rights Reserved.