Module: modules/uniform-dimensions-sk


A control that handles the iDimensions uniform, which reports the x and y dimensions of the canvas. Note that we expect it to always be a float3, even though the z is never used, to be compatible with other shader toy apps. Emits a `dimensions-changed` event when the user has changed the dimensions.