Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualJuliean

Posted 15 April 2013 - 11:45 AM

Thanks for your comment,

 

 

I don't think Models, Materials or Effects have anything to do with clearing render targets that's why I have the Stage state group.

 

Thats interesing though. I do also have stage groups, probably a lot like yours. As in one of Hodgmans posts, my model, material and effect all holds their own state group, which the model puts together and submits to the queue. Its somewhere on the second page I quess, some poorly formated code (forums fault, I quess).

 

Now that you say "models, materials and effects should not have anything to do" with clearing render targets - how do you set the stage group anyway? Since each of those entities have their own stage groups, command injection has to go through them, at some point, right? E.g. my model has a "SetVertexConstant"-method that adds a VertexConstantX-command to the stage. How do you handle this? Thats a question I was going to ask anyway at some point, because I was really unsure how this is normally done.


#2Juliean

Posted 15 April 2013 - 11:42 AM

Thanks for your comment,

 

 

I don't think Models, Materials or Effects have anything to do with clearing render targets that's why I have the Stage state group.

 

Thats interesing though. I do also have stage groups, probably a lot like yours. As in one of Hodgmans posts, my model, material and effect all holds their own state group, which the model puts together and submits to the queue. Its somewhere on the second page I quess, some poorly formated code (forums fault, I quess).

 

Now that you say "models, materials and effects should not have anything to do" with clearing render targets - how do you set the stage group anyway? Since each of those entities have their own stage groups, command injection has to go through them, at some point, right? E.g. my model has a "SetVertexConstant"-method that adds a VertexConstantX-command to the stage. How do you handle this?


#1Juliean

Posted 15 April 2013 - 11:42 AM

Thanks for your comment,

 

I don't think Models, Materials or Effects have anything to do with clearing render targets that's why I have the Stage state group.

 

Thats interesing though. I do also have stage group, probably a lot like yours. As in one of Hodgmans posts, my model, material and effect all holds their own state group, which the model puts together and submits to the queue. Its somewhere on the second page I quess, some poorly formated code (forums fault, I quess).

 

Now that you say "models, materials and effects should not have anything to do" with clearing render targets - how do you set the stage group anyway? Since each of those entities have their own stage groups, command injection has to go through them, at some point, right? E.g. my model has a "SetVertexConstant"-method that adds a VertexConstantX-command to the stage. How do you handle this?


PARTNERS