Files
BlitzNext/Runtime/blitz3d/brush.hpp
T
Michael Fabian 'Xaymar' Dirks 2196cb8419 runtime: Formatting
2019-01-18 17:04:17 +01:00

43 lines
813 B
C++

#ifndef BRUSH_H
#define BRUSH_H
#include "geom.hpp"
#include "texture.hpp"
class Brush {
public:
Brush();
Brush(const Brush& t);
Brush(const Brush& a, const Brush& b);
~Brush();
Brush& operator=(const Brush& t);
void setColor(const Vector& color);
void setAlpha(float alpha);
void setShininess(float shininess);
void setBlend(int blend);
void setFX(int fx);
void setTexture(int index, const Texture& t, int frame);
const Vector& getColor() const;
float getAlpha() const;
float getShininess() const;
int getBlend() const;
int getFX() const;
Texture getTexture(int index) const;
const gxScene::RenderState& getRenderState() const;
bool operator<(const Brush& b) const;
private:
struct Rep;
mutable Rep* rep;
Rep* write() const;
};
#endif