2.9.16
Coherent GT
A modern user interface library for games
renoir::Texture2D Struct Reference

Description of a texture 3D object. More...

#include <Coherent/renoir/include/RenoirBackend/Textures.h>

Inherited by renoir::Texture2DArray.

Public Attributes

unsigned Width
 Width of the texture.
 
unsigned Height
 Height of the texture.
 
unsigned MipsCount
 Mips count.
 
unsigned SamplesCount
 MSAA sample count, if 1 -> no MSAA.
 
unsigned Props
 Texture properties. Accepts flags from the renoir::ImageProperties enumeration.
 
bool WillNeverOverwrite
 Some textures promise that they'll never overwrite bytes that are in-use.
 
bool IsRenderTarget
 Tells if the texture can also be used as a Render Target.
 
PixelFormat Format
 Format of the texture.
 
unsigned short TileMode
 Tiling mode of texture data.
 
unsigned short BaseAlignment
 Base alignment required for the storage of texture memory.
 
unsigned ContentRectX
 Where the content of the texture starts in X direction.
 
unsigned ContentRectY
 Where the content of the texture starts in Y direction.
 
unsigned ContentRectWidth
 The width of the content of the texture.
 
unsigned ContentRectHeight
 The height of the content of the texture.
 
ImageOrigin Origin
 The origin of the image. If it is BottomLeft it will be reversed on the y axis.
 

Detailed Description

Description of a texture 3D object.