67 #ifndef _graphicsproceduraltexturegenerator_cpp
68 #define _graphicsproceduraltexturegenerator_cpp
70 #include "Graphics/Procedural/Texture/texturegenerator.h"
virtual void AddToTextureBuffer(TextureBuffer &Buffer) const =0
Replaces and populates the pixels as configured in this generator to a TextureBuffer.
TextureGenerator()
Blank constructor.
Texture * GenerateTexture(const String &TexName, const String &TexGroup, const Graphics::PixelFormat Format=Graphics::PF_R8G8B8A8) const
Creates a Texture from this buffer.
Image * GenerateImage(const Whole SquareSize, const Graphics::PixelFormat Format=Graphics::PF_R8G8B8A8) const
Generates the Image.
virtual ~TextureGenerator()
Class destructor.
This class represents a texture loaded into video memory.
This class represents an image loaded into system memory.
PixelFormat
This is used to describe how bits are arraged for each pixel in an image.
Texture * GenerateTexture(const Whole SquareSize, const String &TexName, const String &TexGroup, const Graphics::PixelFormat Format=Graphics::PF_R8G8B8A8) const
Generates the Texture.
A convenience buffer that stores pixel colour values of a texture to be generated.
TextureBuffer BuildTextureBuffer(const Whole SquareSize) const
Creates a TextureBuffer with the pixels as configured in this generator.
The bulk of the engine components go in this namspace.
unsigned long Whole
Whole is an unsigned integer, it will be at least 32bits in size.
std::string String
A datatype used to a series of characters.
Image * GenerateImage(const Graphics::PixelFormat Format=Graphics::PF_R8G8B8A8) const
Creates an Image from this buffer.