GenerateMip3D Data Member Function

Generates an analytically correct MIP chain for the <Texture> object submitted to this function.

Prototype

int32 GenerateMip3D( Texture src, TypeBuffer dst )

Parameters

Parameter Type Parameter Name Documentation
<Texture>srcA pointer to the source <Texture> object.
<TypeBuffer>dstA pointer to the destination <TypeBuffer> that stores the image slices. This <TypeBuffer> object owns the pointers to the newly allocated <Image> objects.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.