diff options
Diffstat (limited to 'Runtime/Graphics/GeneratedTextures.h')
-rw-r--r-- | Runtime/Graphics/GeneratedTextures.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Runtime/Graphics/GeneratedTextures.h b/Runtime/Graphics/GeneratedTextures.h new file mode 100644 index 0000000..bc474c5 --- /dev/null +++ b/Runtime/Graphics/GeneratedTextures.h @@ -0,0 +1,28 @@ +#ifndef GENERATEDTEXTURES_H +#define GENERATEDTEXTURES_H + +#include "Runtime/GfxDevice/GfxDeviceTypes.h" +class Texture; +class Texture2D; +class Texture3D; + +namespace builtintex { + +void GenerateBuiltinTextures(); +void ReinitBuiltinTextures(); + +Texture2D* GetWhiteTexture (); +Texture2D* GetBlackTexture (); +Texture3D* GetDitherMaskTexture(); +Texture* GetAttenuationTexture (); +Texture* GetHaloTexture (); + +// Get the default texture for a texture dimension +TextureID GetDefaultTexture( TextureDimension texDim ); + +TextureID GetBlackTextureID (); + +} // namespace + + +#endif |