csharp
public readonly record struct BitmapAn 8-bit RGBA image in memory.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (3)
public int WidthIts width in pixels.
public int HeightIts height in pixels.
public byte[] PixelsIts pixels, row-major, four bytes each.
Methods (2)
public Bitmap(int Width, int Height, byte[] Pixels)An 8-bit RGBA image in memory.
public int Offset(int x, int y)The byte offset of a pixel.
Used by (28)
- ClusteredShadingDeviceTestsVixen.Graphics.Golden.Tests
- CompositorImageTestsVixen.Graphics.Golden.Tests
- ControlHarnessVixen.Ui.Controls.Tests
- DebugDrawImageTestsVixen.Graphics.Golden.Tests
- DisabledStateTestsVixen.Ui.Controls.Tests
- DistanceFieldAoImageTestsVixen.Graphics.Golden.Tests
- EditorGizmoFacingDeviceTestsVixen.Graphics.Golden.Tests
- FixtureVixen.Graphics.Golden.Tests
- GoldenImageVixen.Graphics.Golden.Tests
- IconArtTestsVixen.Ui.Controls.Tests
- ImageComparerVixen.Ui.Testing
- IndirectDiffuseImageTestsVixen.Graphics.Golden.Tests
- IrradianceShadingDeviceTestsVixen.Graphics.Golden.Tests
- LineImageTestsVixen.Graphics.Golden.Tests
- ParticleSpriteDeviceTestsVixen.Graphics.Golden.Tests
- PngCodecVixen.Ui.Testing
- PngCodecTestsVixen.Ui.Testing.Tests
- RasterizerTestsVixen.Ui.Testing.Tests
- ScreenProbeBilateralImageTestsVixen.Graphics.Golden.Tests
- ScreenProbeGatherImageTestsVixen.Graphics.Golden.Tests
- ScreenProbeUpsampleImageTestsVixen.Graphics.Golden.Tests
- ShadowAtlasTileDeviceTestsVixen.Graphics.Golden.Tests
- SoftwareUiRasterizerVixen.Ui.Testing
- UiImageTestsVixen.Graphics.Golden.Tests
- UiTestVixen.Ui.Testing
- VirtualGeometryGoldenTestsVixen.Graphics.Golden.Tests
- VisibilityTestsVixen.Ui.Testing.Tests
- VisualBaselineVixen.Ui.Testing