Skip to main content

Post-processing tools 2023 R2

ensightservice::UpdateTexture Struct Reference

Last update: 17.04.2023

Update a Texture entity. More...

Public Types

enum  TextureFormat { RGB = 0 , RGBA = 1 }
 Define the imaging format of a texture. More...
 

Public Attributes

uint64 id = 1
 texture entity id
 
uint64 parent_id = 2
 scene entity id
 
TextureFormat format = 3
 RGB or RGBA.
 
uint32 width = 4
 texture width. not generally a power of 2
 
uint32 height = 5
 texture height. not generally a power of 2
 
bytes texels = 6
 packed RGB or RGBA values depending on 'format', in range [0,255]
 
string hash = 7
 hash for this message payload
 

Detailed Description

Update a Texture entity.

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.


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