3D entities

This commit is contained in:
John McCardle 2026-02-04 17:45:12 -05:00
commit f4c9db8436
9 changed files with 1964 additions and 0 deletions

View file

@ -28,6 +28,9 @@ public:
// Check if shader is valid
bool isValid() const { return program_ != 0; }
// Get the raw shader program ID (for glGetUniformLocation in Entity3D)
unsigned int getProgram() const { return program_; }
// Uniform setters (cached location lookup)
void setUniform(const std::string& name, float value);
void setUniform(const std::string& name, int value);