65 INLINE
bool valid(
GSG *gsg);
67 void unbind(
GSG *gsg);
68 void issue_parameters(
GSG *gsg,
int altered);
69 void issue_transform(
GSG *gsg);
70 void disable_shader_vertex_arrays(
GSG *gsg);
73 void disable_shader_texture_bindings(
GSG *gsg);
77 LPDIRECT3DVERTEXDECLARATION9 _vertex_declaration;
79 int _num_bound_streams;
86 CGprogram _cg_program;
87 pvector <CGparameter> _cg_parameter_map;
91 void release_resources(
void);
97 static void init_type() {
100 TypedObject::get_class_type());
103 return get_class_type();
105 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
The ShaderContext is meant to contain the compiled version of a shader string.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.