SketchUp C API
|
Data that SketchUp will use the to blend the given color/depth buffer onto SketchUp rendering. More...
#include <SketchUpAPI/application/overlay.h>
Data Fields | |
enum SUOverlayDrawFrameInfoVersion | version |
Version of the struct. This will be set by SketchUp. | |
double | blending_factor |
struct SUDrawFrameMemoryBuffer | color |
Color buffer info. ptr points to a uint8_t buffer with 4 channels. | |
struct SUDrawFrameMemoryBuffer | depth |
Depth buffer info. ptr points to a float buffer. | |
void * | reserved |
Reserved for internal use. This will be set to NULL by SketchUp and should not be modified. | |
Data that SketchUp will use the to blend the given color/depth buffer onto SketchUp rendering.
double SUOverlayDrawFrameInfo::blending_factor |
Alpha channel of the given color buffer will be multiplied with this value. Must be set to 1.0 if an override is not needed.