TextureCodec class

TextureCodec class

Class to manage encoders and decoders for textures.

The TextureCodec type exposes the following members:

Constructors

ConstructorDescription
__init__(self)Constructs a new instance of TextureCodec

Methods

MethodDescription
get_supported_encoder_formats()Gets all supported encoder formats
register_codec(, codec)Register a set of texture encoders and decoders
encode(, texture, stream, format)Encode texture data into stream using specified format
decode(, stream, reverse_y)Decode texture data from stream

See Also