|
Cogs.Core
|
Public Member Functions | |
| COGSRENDERING_DLL_API size_t | estimateMemorySize () const |
| Attempts to estimate the amount of memory a texture with these attributes will require. | |
Public Attributes | |
| ResourceDimensions | target = ResourceDimensions::Texture2D |
| uint32_t | width = 0 |
| uint32_t | height = 0 |
| uint32_t | depth = 1 |
| uint32_t | layers = 1 |
| uint32_t | faces = 1 |
| uint32_t | levels = 1 |
| uint32_t | samples = 1 |
| TextureFormat | format = TextureFormat::Unknown |
| TextureFlags::ETextureFlags | flags = TextureFlags::Default |
Definition at line 34 of file TextureData.h.
| size_t Cogs::TextureDescription::estimateMemorySize | ( | ) | const |
Attempts to estimate the amount of memory a texture with these attributes will require.
Definition at line 57 of file TextureData.cpp.
Referenced by Cogs::TexturesD3D11::releaseTexture().
| uint32_t Cogs::TextureDescription::depth = 1 |
Definition at line 46 of file TextureData.h.
| uint32_t Cogs::TextureDescription::faces = 1 |
Definition at line 48 of file TextureData.h.
| TextureFlags::ETextureFlags Cogs::TextureDescription::flags = TextureFlags::Default |
Definition at line 52 of file TextureData.h.
| TextureFormat Cogs::TextureDescription::format = TextureFormat::Unknown |
Definition at line 51 of file TextureData.h.
| uint32_t Cogs::TextureDescription::height = 0 |
Definition at line 45 of file TextureData.h.
| uint32_t Cogs::TextureDescription::layers = 1 |
Definition at line 47 of file TextureData.h.
| uint32_t Cogs::TextureDescription::levels = 1 |
Definition at line 49 of file TextureData.h.
| uint32_t Cogs::TextureDescription::samples = 1 |
Definition at line 50 of file TextureData.h.
| ResourceDimensions Cogs::TextureDescription::target = ResourceDimensions::Texture2D |
Definition at line 43 of file TextureData.h.
| uint32_t Cogs::TextureDescription::width = 0 |
Definition at line 44 of file TextureData.h.