Пример #1
0
 public SetRenderTargetOperation(GLRenderer mder, GLTexture ite, Vector3D sp, Vector3D sr)
 {
     internrenderer = mder;
     itexture = ite;
     spos = sp;
     srot = sr;
 }
Пример #2
0
 public override void SetRenderTarget(Texture2D texture, Vector3D cpos, Vector3D crot)
 {
     spos = cpos;
     srot = crot;
     rendertexture = texture as GLTexture;
     //TODO: Use a RenderTargetOperation instead of this method
     //SetRenderTargetOperation mop = new SetRenderTargetOperation(this,texture as GLTexture,cpos,crot);
 }