Show / Hide Table of Contents

Struct ImagePixelChannel

The ImagePixelChannel contains data about pixel bits and pixel encoding

Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Fusee.Base.Common
Assembly: Fusee.Base.Common.dll
Syntax
public readonly struct ImagePixelChannel

Constructors

ImagePixelChannel(Int32, Int32, PixelEncoding)

Initializes an Instance of ImagePixelChannel

Declaration
public ImagePixelChannel(int firstBit, int numBits, PixelEncoding encoding)
Parameters
Type Name Description
System.Int32 firstBit
System.Int32 numBits
PixelEncoding encoding

Properties

Encoding

How the bits are to be interpreted, probably something like "int", "uint", "float"

Declaration
public readonly PixelEncoding Encoding { get; }
Property Value
Type Description
PixelEncoding

FirstBit

The first bit belonging to this pixel channel

Declaration
public readonly int FirstBit { get; }
Property Value
Type Description
System.Int32

NumBits

The number of contiguous bits contributing to this channel's data starting at FirstBit

Declaration
public readonly int NumBits { get; }
Property Value
Type Description
System.Int32
Generated by DocFX
GitHub Repo
Back to top