Provides script language access to C++ objects of this type.
Class Hierarchy | Type » TopologyAwareImageResampler |
Function members are as follows:
Return Type | Function Name | Documentation |
---|---|---|
int32 | BuildOutputTextures | Populates 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. |
int32 | Compute1DMipDimensions | Populates 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. |
int32 | Compute2DMipDimensions | Populates 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. |
int32 | CreateMipImageStubs | Allocates 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. |
int32 | ExtractSlicesFrom1DArrayTexture | Populates 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. |
int32 | ExtractSlicesFrom1DTexture | Populates 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. |
int32 | ExtractSlicesFrom2DArrayTexture | Populates 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. |
int32 | ExtractSlicesFrom2DTexture | Populates 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. |
int32 | ExtractSlicesFrom3DTexture | Populates 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. |
int32 | ExtractSlicesFromCubemapArrayTexture | Populates 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. |
int32 | ExtractSlicesFromCubemapTexture | Populates 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. |
int32 | GenerateMip1D | Generates an analytically correct MIP chain for the <Texture> object submitted to this function. |
int32 | GenerateMip1DArray | Generates an analytically correct MIP chain for the <Texture> object submitted to this function. |
int32 | GenerateMip2D | Generates an analytically correct MIP chain for the <Texture> object submitted to this function. |
int32 | GenerateMip2DArray | Generates an analytically correct MIP chain for the <Texture> object submitted to this function. |
int32 | GenerateMip3D | Generates an analytically correct MIP chain for the <Texture> object submitted to this function. |
int32 | GenerateMipChain | 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 | GenerateMipChains | Populates a <TypeBuffer> with MIP image slices for each <Image> object submitted in the <TypeBuffer> p_apSlices. |
int32 | GenerateMipCubemap | Generates an analytically correct MIP chain for the <Texture> object submitted to this function. |
int32 | GenerateMipCubemapArray | Generates an analytically correct MIP chain for the <Texture> object submitted to this function. |
int32 | GetImageHeight | Returns an <int32> representing the image height for a single slice of a layered <Texture>, or just the height for a non-layered <Texture>. |
int32 | GetImageWidth | Returns an <int32> representing the image width for a single slice of a layered <Texture>, or just the width for a non-layered <Texture>. |
int32 | ResampleImage | Resamples the source <Image> into the destination <Image>. Produces analytically correct resampled versions of layered and non-layered <Image> objects. |
int32 | ResampleImage1D | Resamples the source <Image> into the destination <Image>. Produces analytically correct resampled versions of layered and non-layered <Image> objects. |
int32 | ResampleImage1DArray | Resamples the source <Image> into the destination <Image>. Produces analytically correct resampled versions of layered and non-layered <Image> objects. |
int32 | ResampleImage2D | Resamples the source <Image> into the destination <Image>. Produces analytically correct resampled versions of layered and non-layered <Image> objects. |
int32 | ResampleImage2DArray | Resamples the source <Image> into the destination <Image>. Produces analytically correct resampled versions of layered and non-layered <Image> objects. |
int32 | ResampleImage3D | Resamples the source <Image> into the destination <Image>. Produces analytically correct resampled versions of layered and non-layered <Image> objects. |
int32 | ResampleImageCubemap | Resamples the source <Image> into the destination <Image>. Produces analytically correct resampled versions of layered and non-layered <Image> objects. |
int32 | ResampleImageCubemapArray | Resamples the source <Image> into the destination <Image>. Produces analytically correct resampled versions of layered and non-layered <Image> objects. |