Skip to main content

Textures & Video

Texture assets and providers, video playback and recording, and media pickers.

Commonly used

Guides

All APIs in this topic

Reference assets and other modules with a script input.

Components, assets, and modules

APIDescription
CameraRollModuleProvides an interface to the device’s camera roll and allows users to select multiple media.
TextureRepresents a texture file asset.

Objects and data

APIDescription
AnimatedTextureFileProviderProvider for animated texture resource.
CameraRollMediaRepresents media selected from the device camera roll.
CropTextureProviderBase class for Texture Providers that crop an input texture.
FileTextureProviderA TextureProvider for textures originating from files.
MediaPickerTextureProvider Camera KitBase class for Texture Providers based on selectable media.
ProceduralTextureProviderProvides a texture that can be written to or read from.
ProxyTextureProviderTexture Provider used as output from other systems, for instance SnapML.
RectCropTextureProviderTexture Provider providing a cropped region of the input texture.
TextureProviderThe base class for specialized Texture providers.
VideoRecorderAllows you to record a new texture (i.e video), based on on another texture.
VideoTextureProviderControls a video texture resource.

Enums

APIDescription
CameraRollMediaTypeEnum representing the type of media selected from camera roll.
CompressionQualityEnum used to define the quality of image or texture compression.
FilteringMode
TextureFormat
TextureUsageTexture capabilities that can be queried for a TextureFormat with DeviceInfoSystem#isFormatSupported.
VideoStatusDescribes the current status of a VideoTextureProvider.
WrapModeDescribes how a texture should be sampled when using coordinates outside of the normal range.