working version of text rendering
This commit is contained in:
@@ -16,14 +16,16 @@ namespace OpenVulkano::Scene
|
||||
|
||||
class SimpleDrawable : public Drawable
|
||||
{
|
||||
protected:
|
||||
Geometry* m_mesh = nullptr;
|
||||
Material* m_material = nullptr;
|
||||
UniformBuffer* m_uniBuffer = nullptr;
|
||||
|
||||
public:
|
||||
SimpleDrawable(const DrawPhase phase = DrawPhase::MAIN)
|
||||
: Drawable(DrawEncoder::GetDrawEncoder<SimpleDrawable>(), phase)
|
||||
{}
|
||||
: Drawable(DrawEncoder::GetDrawEncoder<SimpleDrawable>(), phase)
|
||||
{
|
||||
}
|
||||
|
||||
explicit SimpleDrawable(const SimpleDrawable* toCopy)
|
||||
: Drawable(DrawEncoder::GetDrawEncoder<SimpleDrawable>(), toCopy->GetDrawPhase())
|
||||
|
||||
Reference in New Issue
Block a user