Generates an analytically correct MIP chain for the <Texture> object submitted to this function. This function is the same as GenerateMip1D(), GenerateMip2D(), and so on but it doesn't require the caller to understand the topology of the <Texture> object beforehand.
int32 GenerateMipChain( Texture src, TypeBuffer dst )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Texture> | src | A pointer to the source <Texture> object. |
<TypeBuffer> | dst | A pointer to the destination <TypeBuffer> that stores the image slices. This <TypeBuffer> object owns the pointers to the newly allocated <Image> objects. |
None published. Please look for an example in the Scenome Scripting Language code base.