maxTextureSize property

int? maxTextureSize

Get the max texture size from the current WebGL canvas. Will return null if called on Canvas2D

Implementation

int? get maxTextureSize => _renderContext.maxTextureSize as int?;