CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Threaded View

  1. #3
    Join Date
    Jun 2008
    Posts
    2,477

    Re: non-static member of outer type

    Well, you have omitted the code which is actually causing the error, but your struct will not be able to access non-static data defined in your Shader class. This would be true for any class or struct, regardless of where/how it was defined. You are probably trying to access instance variables with no instance of "Shader" to refer to.
    Last edited by BigEd781; October 9th, 2009 at 01:16 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured