#include <runtime_types.h>
Public Member Functions | |
| size_t | GetSize () const |
| Computes the total number of bytes that this uniform requires. More... | |
Public Attributes | |
| std::string | name |
| size_t | location = 0u |
| RuntimeUniformType | type = RuntimeUniformType::kFloat |
| RuntimeUniformDimensions | dimensions |
| size_t | bit_width |
| std::optional< size_t > | array_elements |
Definition at line 42 of file runtime_types.h.
| size_t impeller::RuntimeUniformDescription::GetSize | ( | ) | const |
Computes the total number of bytes that this uniform requires.
Definition at line 9 of file runtime_types.cc.
References array_elements, bit_width, impeller::RuntimeUniformDimensions::cols, dimensions, and impeller::RuntimeUniformDimensions::rows.
| std::optional<size_t> impeller::RuntimeUniformDescription::array_elements |
Definition at line 48 of file runtime_types.h.
Referenced by GetSize(), and impeller::RuntimeStage::RuntimeStage().
| size_t impeller::RuntimeUniformDescription::bit_width |
Definition at line 47 of file runtime_types.h.
Referenced by GetSize(), and impeller::RuntimeStage::RuntimeStage().
| RuntimeUniformDimensions impeller::RuntimeUniformDescription::dimensions |
Definition at line 46 of file runtime_types.h.
Referenced by GetSize(), and impeller::RuntimeStage::RuntimeStage().
| size_t impeller::RuntimeUniformDescription::location = 0u |
Definition at line 44 of file runtime_types.h.
Referenced by impeller::RuntimeStage::RuntimeStage().
| std::string impeller::RuntimeUniformDescription::name |
Definition at line 43 of file runtime_types.h.
Referenced by impeller::RuntimeStage::RuntimeStage().
| RuntimeUniformType impeller::RuntimeUniformDescription::type = RuntimeUniformType::kFloat |
Definition at line 45 of file runtime_types.h.
Referenced by impeller::RuntimeStage::RuntimeStage().