38 virtual ~Plane(
void) { texture_.reset(); }
47 GLsizei
texWidth(
void)
const {
return texture_->width(); }
48 GLsizei
texHeight(
void)
const {
return texture_->height(); }
52 void Draw(
void)
override;
57 std::shared_ptr<Texture> texture_;
GLenum GetPrimitiveType(void) const override
void set_texture(const std::shared_ptr< Texture > &t)
void SetupAllAttrPointer(void) override
static std::shared_ptr< Texture > NullTextureObj
bool FillVertexBuffer(GLfloat *pBuffer) override
GLsizei texHeight(void) const
GLsizei texWidth(void) const