struct TextureConfig { int TextureWidth, TextureHeight; SizeOptionType SizeOptions; bool Square; };
TextureConfig is a structure containing the configuration variables that control the packing of images into large textures.
Data Member |
Description |
Required for some hardware. | |
Texture size selected based on SizeOptionType. | |
Height of the textures that the images gets packed into. This is the maximum size of one texture and if a smaller image is produced, it will follow SizeOptions. | |
Width of the texture that the images get packed into. This is the maximum size of one texture and if a smaller image is produced, it will follow SizeOptions. |
Method |
Description |
Initializes the TextureConfig structure with default texture size. |
GFx_Loader.h