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

This describes the normalized device coordinates attribute. More...

#include <Descriptors.h>

Inheritance diagram for xiiGALNormalizedDeviceCoordinates:
[legend]

Public Member Functions

 XII_DECLARE_POD_TYPE ()
 
XII_ALWAYS_INLINE constexpr float GetZtoDepthBias () const
 Returns ZtoDepthBias such that given NDC z coordinate, depth value can be computed as d = z * ZtoDepthScale + ZtoDepthBias.
 
- Public Member Functions inherited from xiiHashableStruct< xiiGALNormalizedDeviceCoordinates >
 xiiHashableStruct (const xiiHashableStruct< xiiGALNormalizedDeviceCoordinates > &other)
 
void operator= (const xiiHashableStruct< xiiGALNormalizedDeviceCoordinates > &other)
 
XII_ALWAYS_INLINE constexpr bool operator== (const xiiHashableStruct< xiiGALNormalizedDeviceCoordinates > &rhs) const=default
 
xiiUInt32 CalculateHash () const
 Calculates the 32 bit hash of the struct and returns it.
 

Public Attributes

float m_fMinZ = 0.0f
 
float m_fZToDepthScale = 0.0f
 
float m_fYToVScale = 0.0f
 

Detailed Description

This describes the normalized device coordinates attribute.


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