Vixen
02b45cc4
csharp
public readonly record struct SurfaceTexel

What one cache texel remembers about its surface.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (4)

  • public Vector3 Albedo

    What fraction of each channel the surface reflects.

  • public Vector3 Normal

    Which way it faces, normalised.

  • public float Depth

    How far inside the card's near plane it sits, in world units.

  • public Vector3 Emissive

    What it emits, as radiance.

Methods (1)

  • public SurfaceTexel(Vector3 Albedo, Vector3 Normal, float Depth, Vector3 Emissive)

    What one cache texel remembers about its surface.

Used by (6)

  • CardRadiosityVixen.Rendering.SurfaceCache
  • SurfaceCacheRendererDeviceTestsVixen.Graphics.Golden.Tests
  • SurfaceCacheStoreVixen.Rendering.SurfaceCache
  • SurfaceCacheTestsVixen.Rendering.SurfaceCache.Tests
  • SurfaceCacheTextureVixen.Rendering
  • SurfaceCardCaptureDeviceTestsVixen.Graphics.Golden.Tests