createVolumeTexture
expect abstract fun createVolumeTexture( width: Int, height: Int, depth: Int, format: ColorFormat, type: ColorType, levels: Int, session: Session? = Session.active): VolumeTexture(source)
Creates a 3D volume texture with the specified dimensions, format, and type.
Return
The created volume texture object.
Parameters
width
The width of the volume texture in pixels.
height
The height of the volume texture in pixels.
depth
The depth of the volume texture in layers.
format
The color format of the texture.
type
The color type of the texture.
levels
The number of mipmap levels to allocate for the texture.
session
The session to associate this texture with, defaults to the active session if not specified.
actual abstract fun createVolumeTexture( width: Int, height: Int, depth: Int, format: ColorFormat, type: ColorType, levels: Int, session: Session?): VolumeTexture(source)
actual abstract fun createVolumeTexture( width: Int, height: Int, depth: Int, format: ColorFormat, type: ColorType, levels: Int, session: Session?): VolumeTexture(source)