Removed physics for now.
This commit is contained in:
@ -71,5 +71,12 @@ namespace Dawn {
|
||||
* Perform a synchronous frame update on the render manager.
|
||||
*/
|
||||
virtual void update() = 0;
|
||||
|
||||
/**
|
||||
* Clean up the render manager.
|
||||
*/
|
||||
virtual ~IRenderManager() {
|
||||
|
||||
}
|
||||
};
|
||||
}
|
@ -77,10 +77,10 @@ namespace Dawn {
|
||||
* @param dataFormat Data format of the texture to use.
|
||||
*/
|
||||
virtual void setSize(
|
||||
int32_t width,
|
||||
int32_t height,
|
||||
enum TextureFormat format,
|
||||
enum TextureDataFormat dataFormat
|
||||
const int32_t width,
|
||||
const int32_t height,
|
||||
const enum TextureFormat format,
|
||||
const enum TextureDataFormat dataFormat
|
||||
) = 0;
|
||||
|
||||
/**
|
||||
@ -88,8 +88,8 @@ namespace Dawn {
|
||||
*
|
||||
* @param color Color to fill.
|
||||
*/
|
||||
virtual void fill(struct Color) = 0;
|
||||
virtual void fill(uint8_t) = 0;
|
||||
virtual void fill(const struct Color) = 0;
|
||||
virtual void fill(const uint8_t) = 0;
|
||||
|
||||
/**
|
||||
* Returns true only when the texture has been loaded, sized and put on
|
||||
@ -106,7 +106,10 @@ namespace Dawn {
|
||||
* @param pixels Array of pixels you're trying to buffer.
|
||||
* @return The amount of bytes buffered to the texture.
|
||||
*/
|
||||
virtual void buffer(struct ColorU8 pixels[]) = 0;
|
||||
virtual void buffer(uint8_t pixels[]) = 0;
|
||||
virtual void buffer(const struct ColorU8 pixels[]) = 0;
|
||||
virtual void buffer(const uint8_t pixels[]) = 0;
|
||||
|
||||
virtual ~ITexture() {
|
||||
}
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user