override public void SetParameter(TextureUnit unit, TextureCube cube) { if (cube == null) { return; } GL.ActiveTexture(unit); GL.BindTexture(TextureTarget.TextureCubeMap, cube.texture); }
override public void SetParameterBySemantic(string semantic, TextureCube cube) { if (program == -1 || cube == null || !cube.Loaded) { return; } var param = GetParamBySemantic(semantic); if (param == null) { return; } GL.ActiveTexture(param.unit); GL.BindTexture(TextureTarget.TextureCubeMap, cube.texture); }
public abstract void SetParameterBySemantic(string semantic, TextureCube cube);
public abstract void SetParameterByName(string name, TextureCube cube);
public abstract void SetParameter(TextureUnit unit, TextureCube cube);