|
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 |
| struct SUDrawFrameMemoryBuffer | depth |
| 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.
| struct SUDrawFrameMemoryBuffer SUOverlayDrawFrameInfo::color |
Color buffer info. ptr points to a uint8_t buffer with 4 channels. The buffer pointed to by color must be valid until the end_frame callback is called.
| struct SUDrawFrameMemoryBuffer SUOverlayDrawFrameInfo::depth |
Depth buffer info. ptr points to a float buffer. The buffer pointed to by color must be valid until the end_frame callback is called.
1.8.3.1