Open CASCADE Technology 7.8.2.dev
RWGltf_GltfAlphaMode.hxx File Reference

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.
 

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.