Skip to main content

Post-processing tools 2024 R2

ensightservice::RenderRequest Struct Reference

Last update: 16.07.2025

Public Types

enum  RenderType { IMAGE_PNG = 0 , IMAGE_RAW = 1 }
 

Public Attributes

RenderType type = 1
 
int32 image_width = 2
 
int32 image_height = 3
 
int32 image_aa_passes = 4
 
bool include_highlighting = 5
 

Detailed Description

Control options for a single image render request

Definition at line 221 of file ensight.proto.

Member Enumeration Documentation

◆ RenderType

Specify the return type of the rendering request.

Enumerator
IMAGE_PNG 

The returned image will be encoded into the PNG image file format and returned as an array of bytes.

IMAGE_RAW 

The returned value be in raw binary bytes: RGBRGBRGB... width*height*3 bytes total.

Definition at line 224 of file ensight.proto.

Member Data Documentation

◆ image_aa_passes

int32 ensightservice::RenderRequest::image_aa_passes = 4

The number of anti-aliasing passes to be applied.

Definition at line 231 of file ensight.proto.

◆ image_height

int32 ensightservice::RenderRequest::image_height = 3

The desired image height in pixels.

Definition at line 230 of file ensight.proto.

◆ image_width

int32 ensightservice::RenderRequest::image_width = 2

The desired image width in pixels.

Definition at line 229 of file ensight.proto.

◆ include_highlighting

bool ensightservice::RenderRequest::include_highlighting = 5

If true, any dynamic overlay will be included in the rendered image.

Definition at line 232 of file ensight.proto.

◆ type

RenderType ensightservice::RenderRequest::type = 1

Select the format the returned image should be in.

Definition at line 228 of file ensight.proto.


The documentation for this struct was generated from the following file:

Connect with Ansys