XII Release 0.1.0
Loading...
Searching...
No Matches
xiiGALTextureComponentMapping Struct Reference

This describes the per-channel texture component mapping. More...

#include <TextureView.h>

Inheritance diagram for xiiGALTextureComponentMapping:
[legend]

Public Member Functions

 XII_DECLARE_POD_TYPE ()
 
- Public Member Functions inherited from xiiHashableStruct< xiiGALTextureComponentMapping >
 xiiHashableStruct (const xiiHashableStruct< xiiGALTextureComponentMapping > &other)
 
void operator= (const xiiHashableStruct< xiiGALTextureComponentMapping > &other)
 
XII_ALWAYS_INLINE constexpr bool operator== (const xiiHashableStruct< xiiGALTextureComponentMapping > &rhs) const=default
 
xiiUInt32 CalculateHash () const
 Calculates the 32 bit hash of the struct and returns it.
 

Public Attributes

xiiEnum< xiiGALTextureComponentSwizzlem_R = xiiGALTextureComponentSwizzle::Identity
 Defines the component placed in the red component of the output vector.
 
xiiEnum< xiiGALTextureComponentSwizzlem_G = xiiGALTextureComponentSwizzle::Identity
 Defines the component placed in the green component of the output vector.
 
xiiEnum< xiiGALTextureComponentSwizzlem_B = xiiGALTextureComponentSwizzle::Identity
 Defines the component placed in the blue component of the output vector.
 
xiiEnum< xiiGALTextureComponentSwizzlem_A = xiiGALTextureComponentSwizzle::Identity
 Defines the component placed in the alpha component of the output vector.
 

Detailed Description

This describes the per-channel texture component mapping.


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