whitePlaceholder static method

Texture whitePlaceholder(
  1. Texture? texture
)

Returns texture if non-null, otherwise getWhitePlaceholderTexture.

Implementation

static gpu.Texture whitePlaceholder(gpu.Texture? texture) {
  return texture ?? getWhitePlaceholderTexture();
}