Makes a <Texture> and underlying <Image> object that represents a 3D volume texture.
int32 Make3D( Texture p_oTexture, Image p_oImage, int32 p_ePixelFormat, int32 p_nWidth, int32 p_nHeight, int32 p_nLayerCount )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Texture> | p_oTexture | A pointer to the <Texture> object that will hold the <Image> object. The <Texture> object submitted to the function takes ownership of the <Image> object submitted to the function. |
<Image> | p_oImage | A pointer to the <Image> object that will be owned by the <Texture>. |
int32 | p_ePixelFormat | An <int32> representing a value from the Image_Pixel_Format enumeration. Please see TYPE_SERVICE_ENUMERATION_UTIL.SSL and look for enumerated functions starting with 'IPF'. |
int32 | p_nWidth | An <int32> representing the height in pixels of the <Image>. |
int32 | p_nHeight | An <int32> representing the height in pixels of the <Image>. |
int32 | p_nLayerCount | An <int32> representing the number of layers in the volume texture. |
None published. Please look for an example in the Scenome Scripting Language code base.