Loading...
Searching...
No Matches
HgiComponentMapping Struct Reference

Describes color component mapping. More...

#include <texture.h>

Public Attributes

HgiComponentSwizzle r
 
HgiComponentSwizzle g
 
HgiComponentSwizzle b
 
HgiComponentSwizzle a
 

Detailed Description

Describes color component mapping.

  • r: What component is used for red channel.
  • g: What component is used for green channel.
  • b: What component is used for blue channel.
  • a: What component is used for alpha channel.

Definition at line 54 of file texture.h.

Member Data Documentation

◆ a

HgiComponentSwizzle a

Definition at line 59 of file texture.h.

◆ b

HgiComponentSwizzle b

Definition at line 58 of file texture.h.

◆ g

HgiComponentSwizzle g

Definition at line 57 of file texture.h.

◆ r

HgiComponentSwizzle r

Definition at line 56 of file texture.h.


The documentation for this struct was generated from the following file: