#include <Texture.h>
Public Member Functions | |
T & | At (uint32_t x, uint32_t y) |
const T & | At (uint32_t x, uint32_t y) const |
const T * | GetDataPtr () const |
uint32_t | GetHeight () const |
uint32_t | GetWidth () const |
MSGPACK_DEFINE_ARRAY (_width, _height, _texture_data) | |
void | SetDimensions (uint32_t width, uint32_t height) |
Texture ()=default | |
Texture (uint32_t width, uint32_t height) | |
Private Attributes | |
uint32_t | _height = 0 |
std::vector< T > | _texture_data |
uint32_t | _width = 0 |
|
default |
|
inline |
Definition at line 24 of file Texture.h.
References carla::rpc::Texture< T >::_height, carla::rpc::Texture< T >::_texture_data, and carla::rpc::Texture< T >::_width.
|
inline |
Definition at line 43 of file Texture.h.
References carla::rpc::Texture< T >::_texture_data, and carla::rpc::Texture< T >::_width.
Referenced by ACarlaGameModeBase::CreateUETexture().
|
inline |
Definition at line 47 of file Texture.h.
References carla::rpc::Texture< T >::_texture_data, and carla::rpc::Texture< T >::_width.
|
inline |
Definition at line 51 of file Texture.h.
References carla::rpc::Texture< T >::_texture_data.
|
inline |
Definition at line 33 of file Texture.h.
References carla::rpc::Texture< T >::_height.
Referenced by carla::client::World::ApplyTexturesToObject(), carla::client::World::ApplyTexturesToObjects(), and ACarlaGameModeBase::CreateUETexture().
|
inline |
Definition at line 29 of file Texture.h.
References carla::rpc::Texture< T >::_width.
Referenced by carla::client::World::ApplyTexturesToObject(), carla::client::World::ApplyTexturesToObjects(), and ACarlaGameModeBase::CreateUETexture().
carla::rpc::Texture< T >::MSGPACK_DEFINE_ARRAY | ( | _width | , |
_height | , | ||
_texture_data | |||
) |
|
inline |
Definition at line 37 of file Texture.h.
References carla::rpc::Texture< T >::_height, carla::rpc::Texture< T >::_texture_data, and carla::rpc::Texture< T >::_width.
|
private |
Definition at line 58 of file Texture.h.
Referenced by carla::rpc::Texture< T >::GetHeight(), carla::rpc::Texture< T >::SetDimensions(), and carla::rpc::Texture< T >::Texture().
|
private |
Definition at line 59 of file Texture.h.
Referenced by carla::rpc::Texture< T >::At(), carla::rpc::Texture< T >::GetDataPtr(), carla::rpc::Texture< T >::SetDimensions(), and carla::rpc::Texture< T >::Texture().
|
private |
Definition at line 57 of file Texture.h.
Referenced by carla::rpc::Texture< T >::At(), carla::rpc::Texture< T >::GetWidth(), carla::rpc::Texture< T >::SetDimensions(), and carla::rpc::Texture< T >::Texture().