常用方法
常用方法
常用方法
常用方法
public void BindTexture(int glHandle, int samplerIndex = 0) { GLCore.ActiveTexture(GetSamplerFrom(samplerIndex)); GLCore.BindTexture(TextureTarget.Texture2D, (uint)glHandle); }
public void BindTexture(int glHandle, int samplerIndex = 0) { GLCore.ActiveTexture(GetSamplerFrom(samplerIndex)); GLCore.BindTexture(TextureTarget.Texture2D, (uint)glHandle); }