|
|
@@ -196,6 +196,18 @@ private:
|
|
|
|
|
|
// If we don't have Cg, let's replace this with a stub.
|
|
|
class EXPCL_PANDA_PGRAPHNODES ShaderGenerator : public TypedReferenceCount {
|
|
|
+PUBLISHED:
|
|
|
+ ShaderGenerator(const GraphicsStateGuardianBase *gsg);
|
|
|
+ virtual ~ShaderGenerator();
|
|
|
+
|
|
|
+ virtual CPT(ShaderAttrib) synthesize_shader(const RenderState *rs,
|
|
|
+ const GeomVertexAnimationSpec &anim) {
|
|
|
+ return nullptr;
|
|
|
+ }
|
|
|
+
|
|
|
+ void rehash_generated_shaders() {}
|
|
|
+ void clear_generated_shaders() {}
|
|
|
+
|
|
|
public:
|
|
|
static TypeHandle get_class_type() {
|
|
|
return _type_handle;
|