| 165 | } |
| 166 | |
| 167 | const char* GetTextureTypeLiteral(TextureType texture_type) |
| 168 | { |
| 169 | switch(texture_type) |
| 170 | { |
| 171 | GRAPHICS_ENUM_TO_STR_CASE(TEXTURE_TYPE_2D); |
| 172 | GRAPHICS_ENUM_TO_STR_CASE(TEXTURE_TYPE_2D_ARRAY); |
| 173 | GRAPHICS_ENUM_TO_STR_CASE(TEXTURE_TYPE_CUBE_MAP); |
| 174 | GRAPHICS_ENUM_TO_STR_CASE(TEXTURE_TYPE_IMAGE_2D); |
| 175 | default:break; |
| 176 | } |
| 177 | return "<unknown dmGraphics::TextureType>"; |
| 178 | } |
| 179 | |
| 180 | const char* GetBufferTypeLiteral(BufferType buffer_type) |
| 181 | { |
no outgoing calls
no test coverage detected