getMaxTextureSize

Returns the maximum size in texels of a texture of the given type. Guarantees at least 2048 for 2D textures, 256 for 3D textures.

Return

Maximum size in texels

Parameters

engine

Engine to query

type

Sampler type