Ejemplo n.º 1
0
 public SpriteRenderer(GeContext context, CachedTextureResampled texture, bool useVertexTexture)
 {
     init(context, texture, useVertexTexture, false);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a triangle renderer using the current settings from the
 /// GE context and a cached texture.
 ///
 /// The GE context values used by the rendering will be copied
 /// from the GE context during this call. Later updates of the
 /// GE context values will not be considered.
 ///
 /// This triangle renderer can be re-used for rendering multiple
 /// triangles (i.e. multiple vertex-triples) sharing all the same
 /// settings from the GE context.
 /// </summary>
 /// <param name="context">    the current GE context </param>
 /// <param name="texture">    the texture to be used (or null if no texture used) </param>
 public TriangleRenderer(GeContext context, CachedTextureResampled texture, bool useVertexTexture)
 {
     init(context, texture, useVertexTexture, true);
 }