Skip to main content

Post-processing tools 2024 R2

ensightservice::UpdateTexture Struct Reference

Last update: 16.07.2025

Public Types

enum  TextureFormat { RGB = 0 , RGBA = 1 }
 

Public Attributes

uint64 id = 1
 
uint64 parent_id = 2
 
TextureFormat format = 3
 
uint32 width = 4
 
uint32 height = 5
 
bytes texels = 6
 
string hash = 7
 

Detailed Description

Sent to update a 2D texture.

Definition at line 478 of file dynamic_scene_graph.proto.

Member Enumeration Documentation

◆ TextureFormat

Define the imaging format of a texture.

Texture images are always a single byte per component, but images can be RGB (three components) or RGBA (four components) per pixel. RGBA are the red, blue, green and alpha channels of the image.

Definition at line 485 of file dynamic_scene_graph.proto.

Member Data Documentation

◆ format

TextureFormat ensightservice::UpdateTexture::format = 3

RGB or RGBA.

Definition at line 491 of file dynamic_scene_graph.proto.

◆ hash

string ensightservice::UpdateTexture::hash = 7

hash for this message payload

Definition at line 495 of file dynamic_scene_graph.proto.

◆ height

uint32 ensightservice::UpdateTexture::height = 5

texture height. not generally a power of 2

Definition at line 493 of file dynamic_scene_graph.proto.

◆ id

uint64 ensightservice::UpdateTexture::id = 1

texture entity id

Definition at line 489 of file dynamic_scene_graph.proto.

◆ parent_id

uint64 ensightservice::UpdateTexture::parent_id = 2

scene entity id

Definition at line 490 of file dynamic_scene_graph.proto.

◆ texels

bytes ensightservice::UpdateTexture::texels = 6

packed RGB or RGBA values depending on 'format', in range [0,255]

Definition at line 494 of file dynamic_scene_graph.proto.

◆ width

uint32 ensightservice::UpdateTexture::width = 4

texture width. not generally a power of 2

Definition at line 492 of file dynamic_scene_graph.proto.


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

Connect with Ansys