Open CASCADE Technology  7.6.0
Enumerations | Functions

RWGltf_GltfAlphaMode.hxx File Reference

#include <Standard_CString.hxx>

Enumerations

enum  RWGltf_GltfAlphaMode { RWGltf_GltfAlphaMode_Opaque , RWGltf_GltfAlphaMode_Mask , RWGltf_GltfAlphaMode_Blend }
 Low-level glTF enumeration defining Alpha Mode. More...
 

Functions

RWGltf_GltfAlphaMode RWGltf_GltfParseAlphaMode (const char *theType)
 Parse RWGltf_GltfAlphaMode from string. More...
 

Enumeration Type Documentation

◆ RWGltf_GltfAlphaMode

Low-level glTF enumeration defining Alpha Mode.

Enumerator
RWGltf_GltfAlphaMode_Opaque 

alpha value is ignored and the rendered output is fully opaque

RWGltf_GltfAlphaMode_Mask 

rendered output is either fully opaque or fully transparent depending on the alpha value and the specified alpha cutoff value

RWGltf_GltfAlphaMode_Blend 

alpha value is used to composite the source and destination areas

Function Documentation

◆ RWGltf_GltfParseAlphaMode()

RWGltf_GltfAlphaMode RWGltf_GltfParseAlphaMode ( const char *  theType)
inline

Parse RWGltf_GltfAlphaMode from string.