◆ natively_supports_texture_format()
bool smlt::Renderer::natively_supports_texture_format |
( |
TextureFormat |
fmt | ) |
|
|
inline |
Returns true if the GPU can support the texture format without any kind of conversion
◆ supports_texture_format()
bool smlt::Renderer::supports_texture_format |
( |
TextureFormat |
fmt | ) |
|
|
inline |
Returns true if the renderer can convert the specified format to make it usable, or if it natively supports the format
◆ texture_format_is_native()
bool smlt::Renderer::texture_format_is_native |
( |
TextureFormat |
fmt | ) |
|
|
virtual |
To be overridden by subclasses. Default supported textures are those that are supported by glTexImage2D without any extensions
Reimplemented in smlt::GLRenderer.
◆ texture_format_is_usable()
bool smlt::Renderer::texture_format_is_usable |
( |
TextureFormat |
fmt | ) |
|
|
virtual |
To be overridden by subclasses to specify texture formats that can be handled by the renderer
The documentation for this class was generated from the following files:
- simulant/renderers/renderer.h
- simulant/renderers/renderer.cpp