    

 ## On this page

  

 

 # ensightservice::UpdateTexture Struct Reference

 Last update: 16.07.2025 

Update a Texture entity. [More...](structensightservice_1_1_update_texture.xhtml#details)

## <a id="pub-types" name="pub-types"></a>Public Types

enum [TextureFormat](structensightservice_1_1_update_texture.xhtml#ad2a6342613ada16aa3484548ba964889) { **RGB** = 0 , **RGBA** = 1 } Define the imaging format of a texture. [More...](structensightservice_1_1_update_texture.xhtml#ad2a6342613ada16aa3484548ba964889)  
 ## <a id="pub-attribs" name="pub-attribs"></a>Public Attributes

<a id="af496b2a924971f081cbfef9915e0ea3e"></a>uint64 [id](structensightservice_1_1_update_texture.xhtml#af496b2a924971f081cbfef9915e0ea3e) = 1 texture entity id   
 <a id="a508115e6ce403414933c692698e26b2b"></a>uint64 [parent\_id](structensightservice_1_1_update_texture.xhtml#a508115e6ce403414933c692698e26b2b) = 2 scene entity id   
 <a id="aeeab37c4b13729da0f33b95e5b479d25"></a>[TextureFormat](structensightservice_1_1_update_texture.xhtml#ad2a6342613ada16aa3484548ba964889) [format](structensightservice_1_1_update_texture.xhtml#aeeab37c4b13729da0f33b95e5b479d25) = 3 RGB or RGBA.   
 <a id="a2a421dfc3b0431e38ed9b2d988de3420"></a>uint32 [width](structensightservice_1_1_update_texture.xhtml#a2a421dfc3b0431e38ed9b2d988de3420) = 4 texture width. not generally a power of 2   
 <a id="aa1e144f705e33bd9d96d2e15bcd6e9e7"></a>uint32 [height](structensightservice_1_1_update_texture.xhtml#aa1e144f705e33bd9d96d2e15bcd6e9e7) = 5 texture height. not generally a power of 2   
 <a id="a70a85aa4869aab5dd34af3bc0e226b3f"></a>bytes [texels](structensightservice_1_1_update_texture.xhtml#a70a85aa4869aab5dd34af3bc0e226b3f) = 6 packed RGB or RGBA values depending on 'format', in range \[0,255\]   
 <a id="a77a50c661bd0b3eb1d7c9814cd046ded"></a>string [hash](structensightservice_1_1_update_texture.xhtml#a77a50c661bd0b3eb1d7c9814cd046ded) = 7 hash for this message payload   
 <a id="details" name="details"></a>## Detailed Description

Update a Texture entity.

Sent to update a 2D texture.

Definition at line [478](dynamic__scene__graph_8proto_source.xhtml#l00478) of file [dynamic\_scene\_graph.proto](dynamic__scene__graph_8proto_source.xhtml).



## Member Enumeration Documentation

<a id="ad2a6342613ada16aa3484548ba964889"></a>## [◆ ](#ad2a6342613ada16aa3484548ba964889)TextureFormat

 enum [ensightservice::UpdateTexture::TextureFormat](structensightservice_1_1_update_texture.xhtml#ad2a6342613ada16aa3484548ba964889)

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](dynamic__scene__graph_8proto_source.xhtml#l00485) of file [dynamic\_scene\_graph.proto](dynamic__scene__graph_8proto_source.xhtml).





---

The documentation for this struct was generated from the following file:- D:/ANSYSDev/NoBackup/branches/EnSight-Second-Coming/ensight/client/rpc\_interface/[dynamic\_scene\_graph.proto](dynamic__scene__graph_8proto_source.xhtml)