コード例 #1
0
 /// <summary>
 /// Render propeller in legacy opengl.
 /// </summary>
 private RectangleRenderer(RectangleModel model, IShaderProgramProvider renderProgramProvider,
                           AttributeMap attributeMap, string positionNameInVertexShader,
                           params GLState[] switches)
     : base(model, renderProgramProvider, attributeMap, positionNameInVertexShader, switches)
 {
     this.ModelSize = model.ModelSize;
 }
コード例 #2
0
ファイル: RectangleNode.cs プロジェクト: quyanxue/CSharpGL
 /// <summary>
 /// Render propeller in legacy opengl.
 /// </summary>
 private RectangleNode(RectangleModel model, string positionNameInIBufferable, params RenderMethodBuilder[] builders)
     : base(model, positionNameInIBufferable, builders)
 {
     this.ModelSize = model.ModelSize;
 }