Bink SDK 1.5v

# BinkUnloadConverter

The function BinkUnloadConverter unloads one or more of the Bink YUV to RGB converters.

    void BinkUnloadConverter(
      BINK_CONVERTER_FLAGS flags
    );

#### In Parameters

flags
  Specifies the converter to unload.

#### Discussion

This function unloads one or more of the Bink YUV converters from 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
Related Functions: BinkLoadConverter, BinkUnload
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.