Pioneer
Public Member Functions | List of all members
Graphics::Drawables::TexturedQuad Class Reference

#include <Drawables.h>

Public Member Functions

 TexturedQuad (Graphics::Renderer *r, const std::string &filename)
 
 TexturedQuad (Graphics::Renderer *r, Graphics::Texture *texture, const vector2f &pos, const vector2f &size, RenderState *state)
 
 TexturedQuad (Graphics::Renderer *r, RefCountedPtr< Graphics::Material > &material, const Graphics::VertexArray &va, RenderState *state)
 
void Draw (Graphics::Renderer *r)
 
void Draw (Graphics::Renderer *r, const Color4ub &tint)
 
const Graphics::TextureGetTexture () const
 

Constructor & Destructor Documentation

◆ TexturedQuad() [1/3]

Graphics::Drawables::TexturedQuad::TexturedQuad ( Graphics::Renderer r,
const std::string &  filename 
)
Here is the call graph for this function:

◆ TexturedQuad() [2/3]

Graphics::Drawables::TexturedQuad::TexturedQuad ( Graphics::Renderer r,
Graphics::Texture texture,
const vector2f pos,
const vector2f size,
RenderState state 
)
Here is the call graph for this function:

◆ TexturedQuad() [3/3]

Graphics::Drawables::TexturedQuad::TexturedQuad ( Graphics::Renderer r,
RefCountedPtr< Graphics::Material > &  material,
const Graphics::VertexArray va,
RenderState state 
)
Here is the call graph for this function:

Member Function Documentation

◆ Draw() [1/2]

void Graphics::Drawables::TexturedQuad::Draw ( Graphics::Renderer r)
Here is the call graph for this function:

◆ Draw() [2/2]

void Graphics::Drawables::TexturedQuad::Draw ( Graphics::Renderer r,
const Color4ub tint 
)
Here is the call graph for this function:

◆ GetTexture()

const Graphics::Texture* Graphics::Drawables::TexturedQuad::GetTexture ( ) const
inline
Here is the call graph for this function:

The documentation for this class was generated from the following files: