Ejemplo n.º 1
0
 public static void GetQueryEXT(QueryTarget target, QueryParameterName pname, out int @params)
 {
     unsafe
     {
         fixed(int *p_params = & @params)
         {
             Debug.Assert(Delegates.pglGetQueryivEXT != null, "pglGetQueryivEXT not implemented");
             Delegates.pglGetQueryivEXT((int)target, (int)pname, p_params);
             LogCommand("glGetQueryivEXT", null, target, pname, @params);
         }
     }
     DebugCheckErrors(null);
 }
Ejemplo n.º 2
0
        public override bool Equals(object obj)
        {
            if (this == obj)
            {
                return(true);
            }
            if (!(obj is QueryParameterData casted))
            {
                return(false);
            }

            return(QueryParameterName?.Equals(casted.QueryParameterName) ?? casted.QueryParameterName == null);
        }
        public override bool Equals(object obj)
        {
            if (this == obj)
            {
                return(true);
            }
            var casted = obj as QueryParameterData;

            if (casted == null)
            {
                return(false);
            }

            return(QueryParameterName?.Equals(casted.QueryParameterName) ?? casted.QueryParameterName == null);
        }
Ejemplo n.º 4
0
 public static unsafe void GetQuery(this ArbOcclusionQuery thisApi, [Flow(FlowDirection.In)] QueryTarget target, [Flow(FlowDirection.In)] QueryParameterName pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] Span <int> @params)
 {
     // SpanOverloader
     thisApi.GetQuery(target, pname, out @params.GetPinnableReference());
 }
Ejemplo n.º 5
0
 public override int GetHashCode()
 {
     return(QueryParameterName?.GetHashCode() ?? 0);
 }
Ejemplo n.º 6
0
 public partial void GetQueryIndexed([Flow(FlowDirection.In)] QueryTarget target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] QueryParameterName pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] out int @params);
Ejemplo n.º 7
0
 public unsafe partial void GetQueryIndexed([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] QueryParameterName pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] int * @params);
Ejemplo n.º 8
0
 public abstract void GetQuery([Flow(FlowDirection.In)] QueryTarget target, [Flow(FlowDirection.In)] QueryParameterName pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] out int @params);
Ejemplo n.º 9
0
 public static unsafe void GetQueryIndexed(this ArbTransformFeedback3 thisApi, [Flow(FlowDirection.In)] QueryTarget target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] QueryParameterName pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] Span <int> @params)
 {
     // SpanOverloader
     thisApi.GetQueryIndexed(target, index, pname, out @params.GetPinnableReference());
 }
Ejemplo n.º 10
0
 public abstract unsafe void GetQueryIndexed([Flow(FlowDirection.In)] QueryTarget target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] QueryParameterName pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] int * @params);
 public override int GetHashCode()
 {
     return(QueryParameterName != null ? QueryParameterName.GetHashCode() : 0);
 }