mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
shaders are always constant, it appears
This commit is contained in:
parent
fb6de5abb1
commit
0869d551ae
@ -3138,7 +3138,7 @@ get_texture(TextureStage *stage) const {
|
|||||||
// Description:
|
// Description:
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
void NodePath::
|
void NodePath::
|
||||||
set_shader(Shader *sha, int priority) {
|
set_shader(const Shader *sha, int priority) {
|
||||||
nassertv_always(!is_empty());
|
nassertv_always(!is_empty());
|
||||||
|
|
||||||
const RenderAttrib *attrib =
|
const RenderAttrib *attrib =
|
||||||
|
@ -564,7 +564,7 @@ PUBLISHED:
|
|||||||
Texture *get_texture() const;
|
Texture *get_texture() const;
|
||||||
Texture *get_texture(TextureStage *stage) const;
|
Texture *get_texture(TextureStage *stage) const;
|
||||||
|
|
||||||
void set_shader(Shader *sha, int priority = 0);
|
void set_shader(const Shader *sha, int priority = 0);
|
||||||
void set_shader_off(int priority = 0);
|
void set_shader_off(int priority = 0);
|
||||||
void clear_shader();
|
void clear_shader();
|
||||||
void set_shader_input(const ShaderInput *inp);
|
void set_shader_input(const ShaderInput *inp);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user