LoadTexture() public method

public LoadTexture ( LoadBitmapData loadBitmapData ) : void
loadBitmapData LoadBitmapData
return void
Beispiel #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);
 }
 protected override void OnContextSet(EventArgs e)
 {
     base.OnContextSet(e);
     cube.Initialize();
     cube.LoadTexture(LoadBitmapData);
 }