    

 ## On this page

  

 

 # ensightservice::UpdateTexture Struct Reference

 Last update: 16.07.2025 

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

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

uint64 [id](structensightservice_1_1_update_texture.xhtml#af496b2a924971f081cbfef9915e0ea3e) = 1 uint64 [parent\_id](structensightservice_1_1_update_texture.xhtml#a508115e6ce403414933c692698e26b2b) = 2 [TextureFormat](structensightservice_1_1_update_texture.xhtml#ad2a6342613ada16aa3484548ba964889) [format](structensightservice_1_1_update_texture.xhtml#aeeab37c4b13729da0f33b95e5b479d25) = 3 uint32 [width](structensightservice_1_1_update_texture.xhtml#a2a421dfc3b0431e38ed9b2d988de3420) = 4 uint32 [height](structensightservice_1_1_update_texture.xhtml#aa1e144f705e33bd9d96d2e15bcd6e9e7) = 5 bytes [texels](structensightservice_1_1_update_texture.xhtml#a70a85aa4869aab5dd34af3bc0e226b3f) = 6 string [hash](structensightservice_1_1_update_texture.xhtml#a77a50c661bd0b3eb1d7c9814cd046ded) = 7 <a id="details" name="details"></a>## Detailed Description

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" name="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).





## Member Data Documentation

<a id="aeeab37c4b13729da0f33b95e5b479d25" name="aeeab37c4b13729da0f33b95e5b479d25"></a>## [◆ ](#aeeab37c4b13729da0f33b95e5b479d25)format

 [TextureFormat](structensightservice_1_1_update_texture.xhtml#ad2a6342613ada16aa3484548ba964889) ensightservice::UpdateTexture::format = 3

RGB or RGBA.

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





<a id="a77a50c661bd0b3eb1d7c9814cd046ded" name="a77a50c661bd0b3eb1d7c9814cd046ded"></a>## [◆ ](#a77a50c661bd0b3eb1d7c9814cd046ded)hash

 string ensightservice::UpdateTexture::hash = 7

hash for this message payload

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





<a id="aa1e144f705e33bd9d96d2e15bcd6e9e7" name="aa1e144f705e33bd9d96d2e15bcd6e9e7"></a>## [◆ ](#aa1e144f705e33bd9d96d2e15bcd6e9e7)height

 uint32 ensightservice::UpdateTexture::height = 5

texture height. not generally a power of 2

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





<a id="af496b2a924971f081cbfef9915e0ea3e" name="af496b2a924971f081cbfef9915e0ea3e"></a>## [◆ ](#af496b2a924971f081cbfef9915e0ea3e)id

 uint64 ensightservice::UpdateTexture::id = 1

texture entity id

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





<a id="a508115e6ce403414933c692698e26b2b" name="a508115e6ce403414933c692698e26b2b"></a>## [◆ ](#a508115e6ce403414933c692698e26b2b)parent\_id

 uint64 ensightservice::UpdateTexture::parent\_id = 2

scene entity id

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





<a id="a70a85aa4869aab5dd34af3bc0e226b3f" name="a70a85aa4869aab5dd34af3bc0e226b3f"></a>## [◆ ](#a70a85aa4869aab5dd34af3bc0e226b3f)texels

 bytes ensightservice::UpdateTexture::texels = 6

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

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





<a id="a2a421dfc3b0431e38ed9b2d988de3420" name="a2a421dfc3b0431e38ed9b2d988de3420"></a>## [◆ ](#a2a421dfc3b0431e38ed9b2d988de3420)width

 uint32 ensightservice::UpdateTexture::width = 4

texture width. not generally a power of 2

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





---

The documentation for this struct was generated from the following file:- D:/Product-src/ensight/client/rpc\_interface/[dynamic\_scene\_graph.proto](dynamic__scene__graph_8proto_source.xhtml)