All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HgiComponentMapping Struct Reference

#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

HgiComponentSwizzle HgiComponentMapping::a

Definition at line 59 of file texture.h.

HgiComponentSwizzle HgiComponentMapping::b

Definition at line 58 of file texture.h.

HgiComponentSwizzle HgiComponentMapping::g

Definition at line 57 of file texture.h.

HgiComponentSwizzle HgiComponentMapping::r

Definition at line 56 of file texture.h.

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