Struct Texel
Represents a texel in ARGB8888 format.
Implements
Inherited Members
Namespace: SharpAssimp
Assembly: SharpAssimp.dll
Syntax
public record struct Texel : IEquatable<Texel>
Constructors
| Edit this page View SourceTexel(byte, byte, byte, byte)
Represents a texel in ARGB8888 format.
Declaration
public Texel(byte B, byte G, byte R, byte A)
Parameters
Type | Name | Description |
---|---|---|
byte | B | Blue component. |
byte | G | Green component. |
byte | R | Red component. |
byte | A | Alpha component. |
Properties
| Edit this page View SourceA
Alpha component.
Declaration
public byte A { readonly get; set; }
Property Value
Type | Description |
---|---|
byte |
B
Blue component.
Declaration
public byte B { readonly get; set; }
Property Value
Type | Description |
---|---|
byte |
G
Green component.
Declaration
public byte G { readonly get; set; }
Property Value
Type | Description |
---|---|
byte |
R
Red component.
Declaration
public byte R { readonly get; set; }
Property Value
Type | Description |
---|---|
byte |
Operators
| Edit this page View Sourceimplicit operator Vector4(Texel)
Implicitly converts a texel to a Vector4.
Declaration
public static implicit operator Vector4(Texel texel)
Parameters
Type | Name | Description |
---|---|---|
Texel | texel | Texel to convert |
Returns
Type | Description |
---|---|
Vector4 | Converted Vector4 |