41 class GraphicsUpdateArguments;
43 struct VertexUniformObject
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition GraphicsPipeline.h:42
Definition Pointer.hpp:303
Definition GLESMaterialManager.h:93
bool m_is_wireframe
Definition GLESMaterialManager.h:177
bool m_has_image_opacity
Definition GLESMaterialManager.h:173
VertexUniformObject getVertexUniformObject(const Material &material, const GraphicsUpdateArguments &args) const
Definition GLESMaterialManager.cpp:163
void addMaterial(const Material &material)
Definition GLESMaterialManager.cpp:349
bool hasOpacity() const
Definition GLESMaterialManager.h:109
bool hasImage() const
Definition GLESMaterialManager.cpp:388
bool m_use_model_color
Definition GLESMaterialManager.h:181
bool m_needs_to_commit_vert_buffer
Definition GLESMaterialManager.h:169
Time lastDependencyUpdate() const
Definition GLESMaterialManager.h:132
void updateShader(const Material &mat, const GraphicsUpdateArguments &args, DynamicPointer< GLESShaderManager > &shader_manager)
Definition GLESMaterialManager.cpp:372
String getColorByChannel(GraphicsUpdateArguments &args) const
Definition GLESMaterialManager.cpp:451
bool useNormalForTexture() const
Definition GLESMaterialManager.h:137
String getExtraPropertyChannel() const
Definition GLESMaterialManager.h:126
bool m_write_to_depth
Definition GLESMaterialManager.h:184
bool usesLayerColor() const
Definition GLESMaterialManager.h:114
~GLESMaterialManager()
Definition GLESMaterialManager.cpp:148
bool usesModelColor() const
Definition GLESMaterialManager.h:113
VertexUniformObject m_vert_uniform
Definition GLESMaterialManager.h:152
void cleanup()
Definition GLESMaterialManager.cpp:152
UUID id() const
Definition GLESMaterialManager.cpp:501
bool useLighting() const
Definition GLESMaterialManager.cpp:572
fltp04 fadeDistance() const
Definition GLESMaterialManager.cpp:384
void setUniformVariables(const DynamicPointer< GLESShader > &shader)
Definition GLESMaterialManager.cpp:414
Time m_last_push_update_time
Definition GLESMaterialManager.h:156
bool m_smooth_normals
Definition GLESMaterialManager.h:176
UUID m_id
Definition GLESMaterialManager.h:186
bool m_has_grid
Definition GLESMaterialManager.h:179
String m_image_address[cast< uint04 >(UVType::e_uv_size)]
Definition GLESMaterialManager.h:158
bool m_needs_to_commit_frag_buffer
Definition GLESMaterialManager.h:168
bool m_ignore_depth
Definition GLESMaterialManager.h:183
uint04 m_layer_number
Definition GLESMaterialManager.h:185
Vector< 3, Material::TileTextureMode > m_texture_tile_mode
Definition GLESMaterialManager.h:161
Buffer< Material > m_materials
Definition GLESMaterialManager.h:148
bool m_needs_pipeline_update
Definition GLESMaterialManager.h:170
bool isDynamic() const
Definition GLESMaterialManager.h:112
UUID material() const
Definition GLESMaterialManager.cpp:558
void clearMaterials()
Definition GLESMaterialManager.cpp:368
Time m_last_updated_time
Definition GLESMaterialManager.h:154
bool needsToUpdateShader(const Material &material)
Definition GLESMaterialManager.cpp:567
QOpenGLTexture * m_texture
Definition GLESMaterialManager.h:166
void updateUniformBuffer(GraphicsUpdateArguments &args)
Definition GLESMaterialManager.cpp:181
GLESMaterialManager(const GLESMaterialManager &m_pipeline)=delete
uint04 getNumberOfImages(const GraphicsUpdateArguments &args) const
Definition GLESMaterialManager.cpp:434
bool hasGrid() const
Definition GLESMaterialManager.h:100
bool m_has_opacity
Definition GLESMaterialManager.h:171
String m_extra_channel
Definition GLESMaterialManager.h:160
fltp04 m_depth_bias
Definition GLESMaterialManager.h:165
bool m_use_layer_color
Definition GLESMaterialManager.h:182
bool ignoreDepth() const
Definition GLESMaterialManager.h:110
bool m_is_dynamic
Definition GLESMaterialManager.h:178
bool isWireframe() const
Definition GLESMaterialManager.h:135
fltp04 depthBias() const
Definition GLESMaterialManager.h:116
bool needsToUpdateImage(const Material &material)
Definition GLESMaterialManager.cpp:380
bool overrideCamera() const
Definition GLESMaterialManager.h:136
ConstPointer< GLESGraphicsDevice > m_device
Definition GLESMaterialManager.h:149
DynamicPointer< GLESShaderManager > m_shader_manager
Definition GLESMaterialManager.h:163
DynamicPointer< OpenGLBuffer > m_frag_uniform_buffer
Definition GLESMaterialManager.h:151
bool writeToDepth() const
Definition GLESMaterialManager.h:111
bool m_use_normal_for_texture
Definition GLESMaterialManager.h:180
void commit()
Definition GLESMaterialManager.cpp:397
FragUniformObject getFragUniformObject(const Material &material) const
Definition GLESMaterialManager.cpp:170
bool m_is_two_sided
Definition GLESMaterialManager.h:174
DynamicPointer< GLESShader > getShader(PrimitiveMode property, bool is_integer) const
Definition GLESMaterialManager.cpp:467
void checkImages()
Definition GLESMaterialManager.cpp:158
DynamicPointer< OpenGLBuffer > m_vertex_uniform_buffer
Definition GLESMaterialManager.h:150
const VertexUniformObject & vertexUniform() const
Definition GLESMaterialManager.h:103
void createPipeline(GraphicsUpdateArguments &args, DynamicPointer< GLESShaderManager > &shader_manager)
Definition GLESMaterialManager.cpp:422
bool smoothNormals() const
Definition GLESMaterialManager.cpp:582
Material::ShadingModel m_shade_model
Definition GLESMaterialManager.h:164
bool m_override_camera
Definition GLESMaterialManager.h:175
bool m_has_image
Definition GLESMaterialManager.h:172
GLESMaterialManager(const DynamicPointer< GLESGraphicsDevice > &device)
Definition GLESMaterialManager.cpp:128
FragUniformObject m_frag_uniform
Definition GLESMaterialManager.h:153
bool isTwoSided() const
Definition GLESMaterialManager.h:134
static UUID MaterialID(const Material &material)
Definition GLESMaterialManager.cpp:505
uint04 getLayerNumber(const Material &material) const
Definition GLESMaterialManager.cpp:587
Definition GraphicsUpdateArguments.h:40
ShadingModel
Definition Material.h:48
TextureCoordMode
Definition Material.h:98
Definition Matrix.hpp:173
Represents a color in the RGB space with optional alpha transparency.
Definition RGBColor.h:53
Represents a timestamp with utilities for manipulation and conversion.
Definition Time.h:54
An element of a vector space. An element of the real coordinate space Rn Basis vector,...
Definition Vector.hpp:62
float fltp04
Defines an alias representing a 4 byte floating-point number.
Definition BaseValues.hpp:157
uint8_t uint01
-Defines an alias representing a 1 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:98
PrimitiveMode
Definition DesignObjectBase.h:113
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:120
constexpr t_to cast(const Angle< t_from > &value)
Definition Angle.h:514
Definition BaseValues.hpp:272