LoadTexture() public method

public LoadTexture ( LoadBitmapData loadBitmapData ) : void
loadBitmapData LoadBitmapData
return void
Esempio n. 1
0
 protected override void OnContextSet(EventArgs e)
 {
     base.OnContextSet(e);
     Console.WriteLine("OpenGL version: {0} GLSL version: {1}", GL.GetString(StringName.Version), GL.GetString(StringName.ShadingLanguageVersion));
     cube.Initialize();
     cube.LoadTexture(LoadBitmapData);
 }
Esempio n. 2
0
 protected override void OnContextSet(EventArgs e)
 {
     base.OnContextSet(e);
     cube.Initialize();
     cube.LoadTexture(LoadBitmapData);
 }