DefaultTextures constructor
DefaultTextures(
- GpuDevice device
Creates them on device.
Implementation
DefaultTextures(GpuDevice device)
: whiteSrgb = _solid(device, [255, 255, 255, 255], GpuFormat.rgba8Srgb),
white = _solid(device, [255, 255, 255, 255], GpuFormat.rgba8),
black = _solid(device, [0, 0, 0, 255], GpuFormat.rgba8),
flatNormal = _solid(device, [128, 128, 255, 255], GpuFormat.rgba8),
blackCube = _cube(device);