title: C: NaCl how to create 'PPB_Graphics3D
body: <p>In Native Client, how do I create a proper instance of <code>PPB_Graphics3D</code> in C (not C++)??</p>
  
  <p>I've looked at the 'Tumbler' native client demo, but it's in C++ and seems to be calling a static method for the creation of the object... but how do I create the <code>PPB_Graphics3D</code> in C?</p>
  
  <p>The Google doc <a href="https://developers.google.com/native-client/pepperc/struct_p_p_b___graphics3_d__1__0" rel="nofollow">here</a> shows it's using an instance of <code>PPB_Graphics3D</code> like so:</p>
  
  <pre><code>g3d-&gt;Create(instance, attribs, &amp;context);
  </code></pre>
  
  <p>But not how to actually create it.</p>