mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
pgraphnodes: Add exposed methods to ShaderGenerator stub
Since HAVE_CG is now dependent on __aarch64__, it otherwise relies on interrogate having been run with the same architecture flags.
This commit is contained in:
parent
f5e7b0a439
commit
617a759fd2
@ -196,6 +196,18 @@ private:
|
|||||||
|
|
||||||
// If we don't have Cg, let's replace this with a stub.
|
// If we don't have Cg, let's replace this with a stub.
|
||||||
class EXPCL_PANDA_PGRAPHNODES ShaderGenerator : public TypedReferenceCount {
|
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:
|
public:
|
||||||
static TypeHandle get_class_type() {
|
static TypeHandle get_class_type() {
|
||||||
return _type_handle;
|
return _type_handle;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user