JNGL
Easy to use cross-platform 2D game library
|
This is the complete list of members for Sprite, including all inherited members.
batch(const ShaderProgram *shaderProgram=nullptr) const | Sprite | |
contains(jngl::Vec2 point) const | Drawable | |
draw() const override | Sprite | virtual |
draw(Mat3 modelview, const ShaderProgram *=nullptr) const | Sprite | |
draw(Mat3 modelview, Alpha, const ShaderProgram *=nullptr) const (defined in Sprite) | Sprite | |
draw(Mat3 modelview, Rgba color) const | Sprite | |
draw(const ShaderProgram *shaderProgram) const | Sprite | |
Drawable() (defined in Drawable) | Drawable | |
Drawable(const Drawable &)=default (defined in Drawable) | Drawable | |
Drawable(Drawable &&)=default (defined in Drawable) | Drawable | |
drawBoundingBox() const | Drawable | |
drawClipped(float xstart, float xend, float ystart, float yend) const | Sprite | |
drawClipped(Vec2 start, Vec2 end) const | Sprite | |
drawMesh(const std::vector< Vertex > &vertexes, const ShaderProgram *=nullptr) const | Sprite | |
drawMesh(Mat3 modelview, const std::vector< Vertex > &vertexes, const ShaderProgram *=nullptr) const | Sprite | |
drawScaled(float xfactor, float yfactor, const ShaderProgram *shaderProgram=nullptr) const | Sprite | |
getBottom() const | Drawable | |
getCenter() const | Drawable | |
getHeight() const | Drawable | |
getLeft() const | Drawable | |
getRight() const | Drawable | |
getSize() const | Drawable | |
getTop() const | Drawable | |
getWidth() const | Drawable | |
getX() const (defined in Drawable) | Drawable | |
getY() const (defined in Drawable) | Drawable | |
height (defined in Drawable) | Drawable | protected |
loader | Sprite | |
LoadType enum name (defined in Sprite) | Sprite | |
operator=(const Drawable &)=default (defined in Drawable) | Drawable | |
operator=(Drawable &&)=default (defined in Drawable) | Drawable | |
position (defined in Drawable) | Drawable | protected |
setBottom(double y) (defined in Drawable) | Drawable | |
setBytes(const unsigned char *) (defined in Sprite) | Sprite | |
setCenter(double x, double y) | Drawable | virtual |
setCenter(Vect c) | Drawable | inline |
setLeft(double x) (defined in Drawable) | Drawable | |
setPos(double x, double y) | Drawable | virtual |
setPos(Vect p) | Drawable | inline |
setRight(double x) (defined in Drawable) | Drawable | |
setTop(double y) (defined in Drawable) | Drawable | |
setX(double) (defined in Drawable) | Drawable | |
setY(double) (defined in Drawable) | Drawable | |
Sprite(const ImageData &, double scale, std::optional< std::string_view > filename=std::nullopt) | Sprite | explicit |
Sprite(const uint8_t *bytes, size_t width, size_t height) | Sprite | |
Sprite(const std::string &filename, LoadType loadType=LoadType::NORMAL) | Sprite | explicit |
step() override | Sprite | virtual |
vertexShader() | Sprite | static |
width (defined in Drawable) | Drawable | protected |
~Drawable() (defined in Drawable) | Drawable | virtual |