FHlslShaderModel

Shader model version for HLSL input language.

Windows
MacOS
Linux

References

Module

ShaderCompilerCommon

Header

/Engine/Source/Developer/ShaderCompilerCommon/Public/ShaderConductorContext.h

Include

#include "ShaderConductorContext.h"

Syntax

struct FHlslShaderModel

Remarks

Shader model version for HLSL input language.

Variables

Name Description

Public variable

uint16

 

Major

Major shader model version (e.g. 6 in SM6.2).

Public variable

uint16

 

Minor

Minor shader model version (e.g. 2 in SM6.2).

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const FHlslShaderModel& Rhs
)

Public function Const

bool

 

operator<

(
    const FHlslShaderModel& Rhs
)

Public function Const

bool

 

operator<=

(
    const FHlslShaderModel& Rhs
)

Public function Const

bool

 

operator==

(
    const FHlslShaderModel& Rhs
)

Public function Const

bool

 

operator>

(
    const FHlslShaderModel& Rhs
)

Public function Const

bool

 

operator>=

(
    const FHlslShaderModel& Rhs
)