<TopologyAwareImageResampler> Data Interface

Provides script language access to C++ objects of this type.

Class HierarchyType » TopologyAwareImageResampler

Function Members

Function members are as follows:

Return Type Function Name Documentation
int32BuildOutputTexturesPopulates the output <TypeBuffer> with final images built from the MIP slices contained in the input <TypeBuffer>. This is only for layered textures such as array textures or cubemaps. The total number of <Image> objects submitted will be divided by the provided count to determine the number of layered images produced by this function. For example, if you submit 25 images, then you must specify a count of 5. If you submit 24 images, you must specify a count of 2, 4, 6, or 12. Note that the output <Image> objects are generated by new allocations and the input <Image> objects are not modified at all.
int32Compute1DMipDimensionsPopulates an <Int32Array> with the dimensions of all the MIP slices. If you start with 256w and 1h, then the <Int32Array> contains the following values: 128, 1, 64, 1, 32, 1, 16, 1, 8, 1, 4, 1, 2, 1, 1, 1. These values correspond to MIP maps with the following dimensions: 128×1, 64×1, 32×1, 16×1, 8×1, 4×1, 2×1, 1×1.
int32Compute2DMipDimensionsPopulates an <Int32Array> with the dimensions of all the MIP slices. If you start with 256w and 256h, then the <Int32Array> contains the following values: 128, 128, 64, 64, 32, 32, 16, 16, 8, 8, 4, 4, 2, 2, 1, 1. These values correspond to MIP maps with the following dimensions: 128×128, 64×64, 32×32, 16×16, 8×8, 4×4, 2×2, 1×1.
int32CreateMipImageStubsAllocates a new <Image> object for each of the dimension pairs in the array of <int32> dimensions submitted to this function. Note that the underlying buffer for the <Image> object data is NOT allocated by this function. Creates raw, unsized <Image> object pointers with constructor defaults.
int32ExtractSlicesFrom1DArrayTexturePopulates a <TypeBuffer> with individual images from the <Texture> object submitted to this function. For example, if the <Texture> has eight slices, the <TypeBuffer> will contain eight <Image> objects.
int32ExtractSlicesFrom1DTexturePopulates a <TypeBuffer> with individual images from the <Texture> object submitted to this function. For example, if the <Texture> represents a 1D <Texture>, the <TypeBuffer> will contain one <Image> object.
int32ExtractSlicesFrom2DArrayTexturePopulates a <TypeBuffer> with individual images from the <Texture> object submitted to this function. For example, if the <Texture> contains 10 slices, the <TypeBuffer> will contain 10 <Image> objects.
int32ExtractSlicesFrom2DTexturePopulates a <TypeBuffer> with individual images from the <Texture> object submitted to this function. For example, if the <Texture> represents a 2D <Texture>, the <TypeBuffer> will contain one <Image> object.
int32ExtractSlicesFrom3DTexturePopulates a <TypeBuffer> with individual images from the <Texture> object submitted to this function. For example, if the <Texture> represents a 3D <Texture> with four slices, the <TypeBuffer> will contain four <Image> objects.
int32ExtractSlicesFromCubemapArrayTexturePopulates a <TypeBuffer> with individual images from the <Texture> object submitted to this function. For example, if the <Texture> represents a cubemap array of three cubemaps, the <TypeBuffer> will contain three <Image> objects.
int32ExtractSlicesFromCubemapTexturePopulates a <TypeBuffer> with individual images from the <Texture> object submitted to this function. For example, if the <Texture> represents a cubemap, the <TypeBuffer> will contain six <Image> objects.
int32GenerateMip1DGenerates an analytically correct MIP chain for the <Texture> object submitted to this function.
int32GenerateMip1DArrayGenerates an analytically correct MIP chain for the <Texture> object submitted to this function.
int32GenerateMip2DGenerates an analytically correct MIP chain for the <Texture> object submitted to this function.
int32GenerateMip2DArrayGenerates an analytically correct MIP chain for the <Texture> object submitted to this function.
int32GenerateMip3DGenerates an analytically correct MIP chain for the <Texture> object submitted to this function.
int32GenerateMipChainGenerates 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.
int32GenerateMipChainsPopulates a <TypeBuffer> with MIP image slices for each <Image> object submitted in the <TypeBuffer> p_apSlices.
int32GenerateMipCubemapGenerates an analytically correct MIP chain for the <Texture> object submitted to this function.
int32GenerateMipCubemapArrayGenerates an analytically correct MIP chain for the <Texture> object submitted to this function.
int32GetImageHeightReturns an <int32> representing the image height for a single slice of a layered <Texture>, or just the height for a non-layered <Texture>.
int32GetImageWidthReturns an <int32> representing the image width for a single slice of a layered <Texture>, or just the width for a non-layered <Texture>.
int32ResampleImageResamples the source <Image> into the destination <Image>. Produces analytically correct resampled versions of layered and non-layered <Image> objects.
int32ResampleImage1DResamples the source <Image> into the destination <Image>. Produces analytically correct resampled versions of layered and non-layered <Image> objects.
int32ResampleImage1DArrayResamples the source <Image> into the destination <Image>. Produces analytically correct resampled versions of layered and non-layered <Image> objects.
int32ResampleImage2DResamples the source <Image> into the destination <Image>. Produces analytically correct resampled versions of layered and non-layered <Image> objects.
int32ResampleImage2DArrayResamples the source <Image> into the destination <Image>. Produces analytically correct resampled versions of layered and non-layered <Image> objects.
int32ResampleImage3DResamples the source <Image> into the destination <Image>. Produces analytically correct resampled versions of layered and non-layered <Image> objects.
int32ResampleImageCubemapResamples the source <Image> into the destination <Image>. Produces analytically correct resampled versions of layered and non-layered <Image> objects.
int32ResampleImageCubemapArrayResamples the source <Image> into the destination <Image>. Produces analytically correct resampled versions of layered and non-layered <Image> objects.