|
CoriEngine
|
Params to use when creating a texture. More...
#include <Texture.hpp>
Public Attributes | |
| PixelFormat | m_PixelFormat { RGBA8888 } |
| WrapMode | m_WrapMode { CLAMP_TO_EDGE } |
| Filter | m_Filter { NEAREST } |
| int32_t | m_UnpackAlignment { 0 } |
| Generally you want to leave this by default if you're creating a texture from an image, they all have align of 4. | |
| bool | m_HasSemiTransparency { false } |
| Whether or no to flag the texture as semi transparent. | |
Params to use when creating a texture.
Definition at line 45 of file Texture.hpp.
Definition at line 48 of file Texture.hpp.
| bool Cori::Graphics::Texture::Params::m_HasSemiTransparency { false } |
Whether or no to flag the texture as semi transparent.
Definition at line 58 of file Texture.hpp.
| PixelFormat Cori::Graphics::Texture::Params::m_PixelFormat { RGBA8888 } |
Definition at line 46 of file Texture.hpp.
| int32_t Cori::Graphics::Texture::Params::m_UnpackAlignment { 0 } |
Generally you want to leave this by default if you're creating a texture from an image, they all have align of 4.
Definition at line 53 of file Texture.hpp.
| WrapMode Cori::Graphics::Texture::Params::m_WrapMode { CLAMP_TO_EDGE } |
Definition at line 47 of file Texture.hpp.