VisualServerSingleton.TextureFlags

Values

ValueMeaning
textureFlagMipmaps1

Generate mipmaps, which are smaller versions of the same texture to use when zoomed out, keeping the aspect ratio.

textureFlagRepeat2

Repeat (instead of clamp to edge).

textureFlagFilter4

Turn on magnifying filter, to enable smooth zooming in of the texture.

textureFlagsDefault7

Default flags. Generate mipmaps, repeat, and filter are enabled.

textureFlagAnisotropicFilter8

Anisotropic mipmap filtering. Generates smaller versions of the same texture with different aspect ratios. More effective on planes often shown going to the horrizon as those textures (Walls or Ground for example) get squashed in the viewport to different aspect ratios and regular mipmaps keep the aspect ratio so they don't optimize storage that well in those cases.

textureFlagConvertToLinear16

Converts texture to SRGB color space.

textureFlagMirroredRepeat32

Repeat texture with alternate sections mirrored.

textureFlagUsedForStreaming2048

Texture is a video surface.

Meta