Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::NDCAttribs Struct Reference

Normalized device coordinates attributes. More...

#include <GraphicsTypes.h>

Public Member Functions

constexpr bool operator== (const NDCAttribs &RHS) const
 Comparison operator tests if two structures are equivalent.
 

Public Attributes

float MinZ = 0.f
 Minimum z value of the normalized device coordinate space.
 
float ZtoDepthScale = 0.f
 NDC z to depth scale.
 
float YtoVScale = 0.f
 Scale to transform NDC y coordinate to texture V coordinate.
 

Detailed Description

Normalized device coordinates attributes.

Member Function Documentation

◆ operator==()

bool Diligent::NDCAttribs::operator== ( const NDCAttribs & RHS) const
inlineconstexpr

Comparison operator tests if two structures are equivalent.

Parameters
[in]RHS- reference to the structure to perform comparison with
Returns
  • True if all members of the two structures are equal.
  • False otherwise.