query stringlengths 7 3.85k | document stringlengths 11 430k | metadata dict | negatives listlengths 0 101 | negative_scores listlengths 0 101 | document_score stringlengths 3 10 | document_rank stringclasses 102 values |
|---|---|---|---|---|---|---|
Specify the value of a uniform variable for a specified program object | func ProgramUniform3i(program uint32, location int32, v0 int32, v1 int32, v2 int32) {
C.glowProgramUniform3i(gpProgramUniform3i, (C.GLuint)(program), (C.GLint)(location), (C.GLint)(v0), (C.GLint)(v1), (C.GLint)(v2))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func ProgramUniform3ui(program uint32, location int32, v0 uint32, v... | [
"0.74596703",
"0.6542257",
"0.6461325",
"0.64492404",
"0.64413136",
"0.64122504",
"0.63523656",
"0.6340831",
"0.63384855",
"0.6316857",
"0.6307855",
"0.6295642",
"0.6285599",
"0.6283731",
"0.62582535",
"0.6256287",
"0.6242904",
"0.61734796",
"0.61641574",
"0.61352617",
"0.613... | 0.5768209 | 68 |
Specify the value of a uniform variable for a specified program object | func ProgramUniform3iv(program uint32, location int32, count int32, value *int32) {
C.glowProgramUniform3iv(gpProgramUniform3iv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(value)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func ProgramUniform3ui(program uint32, location int32, v0 uint32, v... | [
"0.74596703",
"0.6542257",
"0.6461325",
"0.64492404",
"0.64413136",
"0.64122504",
"0.63523656",
"0.6340831",
"0.63384855",
"0.6316857",
"0.6307855",
"0.6295642",
"0.6285599",
"0.6283731",
"0.62582535",
"0.6256287",
"0.6242904",
"0.61734796",
"0.61641574",
"0.61352617",
"0.613... | 0.5694582 | 82 |
Specify the value of a uniform variable for a specified program object | func ProgramUniform3ui(program uint32, location int32, v0 uint32, v1 uint32, v2 uint32) {
C.glowProgramUniform3ui(gpProgramUniform3ui, (C.GLuint)(program), (C.GLint)(location), (C.GLuint)(v0), (C.GLuint)(v1), (C.GLuint)(v2))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func ProgramUniform3ui(program uint32, location int32, v0 uint32, v... | [
"0.74596244",
"0.65417147",
"0.6461359",
"0.644842",
"0.64406013",
"0.6411922",
"0.63519603",
"0.6340269",
"0.6338394",
"0.631641",
"0.630704",
"0.6295751",
"0.6286016",
"0.6283217",
"0.6257883",
"0.6256306",
"0.6242154",
"0.61727124",
"0.6163814",
"0.61348826",
"0.6133831",
... | 0.59912443 | 29 |
Specify the value of a uniform variable for a specified program object | func ProgramUniform3uiv(program uint32, location int32, count int32, value *uint32) {
C.glowProgramUniform3uiv(gpProgramUniform3uiv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(value)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func ProgramUniform3ui(program uint32, location int32, v0 uint32, v... | [
"0.74596703",
"0.6542257",
"0.6461325",
"0.64492404",
"0.64413136",
"0.64122504",
"0.63523656",
"0.6340831",
"0.63384855",
"0.6316857",
"0.6307855",
"0.6295642",
"0.6285599",
"0.6283731",
"0.62582535",
"0.6256287",
"0.6242904",
"0.61734796",
"0.61641574",
"0.61352617",
"0.613... | 0.59670734 | 32 |
Specify the value of a uniform variable for a specified program object | func ProgramUniform4f(program uint32, location int32, v0 float32, v1 float32, v2 float32, v3 float32) {
C.glowProgramUniform4f(gpProgramUniform4f, (C.GLuint)(program), (C.GLint)(location), (C.GLfloat)(v0), (C.GLfloat)(v1), (C.GLfloat)(v2), (C.GLfloat)(v3))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func ProgramUniform3ui(program uint32, location int32, v0 uint32, v... | [
"0.74596703",
"0.6542257",
"0.6461325",
"0.64492404",
"0.64413136",
"0.64122504",
"0.63523656",
"0.6340831",
"0.63384855",
"0.6316857",
"0.6307855",
"0.6295642",
"0.6285599",
"0.6283731",
"0.62582535",
"0.6256287",
"0.6242904",
"0.61734796",
"0.61641574",
"0.61352617",
"0.613... | 0.0 | -1 |
Specify the value of a uniform variable for a specified program object | func ProgramUniform4fv(program uint32, location int32, count int32, value *float32) {
C.glowProgramUniform4fv(gpProgramUniform4fv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(value)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func ProgramUniform3ui(program uint32, location int32, v0 uint32, v... | [
"0.74596703",
"0.6542257",
"0.6461325",
"0.64492404",
"0.64413136",
"0.64122504",
"0.63523656",
"0.6340831",
"0.63384855",
"0.6316857",
"0.6307855",
"0.6295642",
"0.6285599",
"0.6283731",
"0.62582535",
"0.6256287",
"0.6242904",
"0.61734796",
"0.61641574",
"0.61352617",
"0.613... | 0.0 | -1 |
Specify the value of a uniform variable for a specified program object | func ProgramUniform4i(program uint32, location int32, v0 int32, v1 int32, v2 int32, v3 int32) {
C.glowProgramUniform4i(gpProgramUniform4i, (C.GLuint)(program), (C.GLint)(location), (C.GLint)(v0), (C.GLint)(v1), (C.GLint)(v2), (C.GLint)(v3))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func ProgramUniform3ui(program uint32, location int32, v0 uint32, v... | [
"0.74596244",
"0.65417147",
"0.6461359",
"0.644842",
"0.64406013",
"0.6411922",
"0.63519603",
"0.6340269",
"0.6338394",
"0.631641",
"0.630704",
"0.6295751",
"0.6286016",
"0.6283217",
"0.6257883",
"0.6256306",
"0.6242154",
"0.61727124",
"0.6163814",
"0.61348826",
"0.6133831",
... | 0.0 | -1 |
Specify the value of a uniform variable for a specified program object | func ProgramUniform4iv(program uint32, location int32, count int32, value *int32) {
C.glowProgramUniform4iv(gpProgramUniform4iv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(value)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func ProgramUniform3ui(program uint32, location int32, v0 uint32, v... | [
"0.74596703",
"0.6542257",
"0.6461325",
"0.64492404",
"0.64413136",
"0.64122504",
"0.63523656",
"0.6340831",
"0.63384855",
"0.6316857",
"0.6307855",
"0.6295642",
"0.6285599",
"0.6283731",
"0.62582535",
"0.6256287",
"0.6242904",
"0.61734796",
"0.61641574",
"0.61352617",
"0.613... | 0.0 | -1 |
Specify the value of a uniform variable for a specified program object | func ProgramUniform4ui(program uint32, location int32, v0 uint32, v1 uint32, v2 uint32, v3 uint32) {
C.glowProgramUniform4ui(gpProgramUniform4ui, (C.GLuint)(program), (C.GLint)(location), (C.GLuint)(v0), (C.GLuint)(v1), (C.GLuint)(v2), (C.GLuint)(v3))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func ProgramUniform3ui(program uint32, location int32, v0 uint32, v... | [
"0.74596703",
"0.6542257",
"0.6461325",
"0.64492404",
"0.64413136",
"0.64122504",
"0.63523656",
"0.6340831",
"0.63384855",
"0.6316857",
"0.6307855",
"0.6295642",
"0.6285599",
"0.6283731",
"0.62582535",
"0.6256287",
"0.6242904",
"0.61734796",
"0.61641574",
"0.61352617",
"0.613... | 0.56241274 | 90 |
Specify the value of a uniform variable for a specified program object | func ProgramUniform4uiv(program uint32, location int32, count int32, value *uint32) {
C.glowProgramUniform4uiv(gpProgramUniform4uiv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(value)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func ProgramUniform3ui(program uint32, location int32, v0 uint32, v... | [
"0.74596703",
"0.6542257",
"0.6461325",
"0.64492404",
"0.64413136",
"0.64122504",
"0.63523656",
"0.6340831",
"0.63384855",
"0.6316857",
"0.6307855",
"0.6295642",
"0.6285599",
"0.6283731",
"0.62582535",
"0.6256287",
"0.6242904",
"0.61734796",
"0.61641574",
"0.61352617",
"0.613... | 0.0 | -1 |
Specify the value of a uniform variable for a specified program object | func ProgramUniformMatrix2fv(program uint32, location int32, count int32, transpose bool, value *float32) {
C.glowProgramUniformMatrix2fv(gpProgramUniformMatrix2fv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func ProgramUniform3ui(program uint32, location int32, v0 uint32, v... | [
"0.74596244",
"0.65417147",
"0.6461359",
"0.644842",
"0.64406013",
"0.6411922",
"0.63519603",
"0.6340269",
"0.6338394",
"0.631641",
"0.630704",
"0.6295751",
"0.6286016",
"0.6283217",
"0.6257883",
"0.6256306",
"0.6242154",
"0.61727124",
"0.6163814",
"0.61348826",
"0.6133831",
... | 0.0 | -1 |
Specify the value of a uniform variable for a specified program object | func ProgramUniformMatrix2x3fv(program uint32, location int32, count int32, transpose bool, value *float32) {
C.glowProgramUniformMatrix2x3fv(gpProgramUniformMatrix2x3fv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func ProgramUniform3ui(program uint32, location int32, v0 uint32, v... | [
"0.74596703",
"0.6542257",
"0.6461325",
"0.64492404",
"0.64413136",
"0.64122504",
"0.63523656",
"0.6340831",
"0.63384855",
"0.6316857",
"0.6307855",
"0.6295642",
"0.6285599",
"0.6283731",
"0.62582535",
"0.6256287",
"0.6242904",
"0.61734796",
"0.61641574",
"0.61352617",
"0.613... | 0.0 | -1 |
Specify the value of a uniform variable for a specified program object | func ProgramUniformMatrix2x4fv(program uint32, location int32, count int32, transpose bool, value *float32) {
C.glowProgramUniformMatrix2x4fv(gpProgramUniformMatrix2x4fv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func ProgramUniform3ui(program uint32, location int32, v0 uint32, v... | [
"0.74596703",
"0.6542257",
"0.6461325",
"0.64492404",
"0.64413136",
"0.64122504",
"0.63523656",
"0.6340831",
"0.63384855",
"0.6316857",
"0.6307855",
"0.6295642",
"0.6285599",
"0.6283731",
"0.62582535",
"0.6256287",
"0.6242904",
"0.61734796",
"0.61641574",
"0.61352617",
"0.613... | 0.0 | -1 |
Specify the value of a uniform variable for a specified program object | func ProgramUniformMatrix3fv(program uint32, location int32, count int32, transpose bool, value *float32) {
C.glowProgramUniformMatrix3fv(gpProgramUniformMatrix3fv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func ProgramUniform3ui(program uint32, location int32, v0 uint32, v... | [
"0.74596703",
"0.6542257",
"0.6461325",
"0.64492404",
"0.64413136",
"0.64122504",
"0.63523656",
"0.6340831",
"0.63384855",
"0.6316857",
"0.6307855",
"0.6295642",
"0.6285599",
"0.6283731",
"0.62582535",
"0.6256287",
"0.6242904",
"0.61734796",
"0.61641574",
"0.61352617",
"0.613... | 0.0 | -1 |
Specify the value of a uniform variable for a specified program object | func ProgramUniformMatrix3x2fv(program uint32, location int32, count int32, transpose bool, value *float32) {
C.glowProgramUniformMatrix3x2fv(gpProgramUniformMatrix3x2fv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func ProgramUniform3ui(program uint32, location int32, v0 uint32, v... | [
"0.74596244",
"0.65417147",
"0.6461359",
"0.644842",
"0.64406013",
"0.6411922",
"0.63519603",
"0.6340269",
"0.6338394",
"0.631641",
"0.630704",
"0.6295751",
"0.6286016",
"0.6283217",
"0.6257883",
"0.6256306",
"0.6242154",
"0.61727124",
"0.6163814",
"0.61348826",
"0.6133831",
... | 0.0 | -1 |
Specify the value of a uniform variable for a specified program object | func ProgramUniformMatrix3x4fv(program uint32, location int32, count int32, transpose bool, value *float32) {
C.glowProgramUniformMatrix3x4fv(gpProgramUniformMatrix3x4fv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func ProgramUniform3ui(program uint32, location int32, v0 uint32, v... | [
"0.74596703",
"0.6542257",
"0.6461325",
"0.64492404",
"0.64413136",
"0.64122504",
"0.63523656",
"0.6340831",
"0.63384855",
"0.6316857",
"0.6307855",
"0.6295642",
"0.6285599",
"0.6283731",
"0.62582535",
"0.6256287",
"0.6242904",
"0.61734796",
"0.61641574",
"0.61352617",
"0.613... | 0.0 | -1 |
Specify the value of a uniform variable for a specified program object | func ProgramUniformMatrix4fv(program uint32, location int32, count int32, transpose bool, value *float32) {
C.glowProgramUniformMatrix4fv(gpProgramUniformMatrix4fv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func ProgramUniform3ui(program uint32, location int32, v0 uint32, v... | [
"0.74596703",
"0.6542257",
"0.6461325",
"0.64492404",
"0.64413136",
"0.64122504",
"0.63523656",
"0.6340831",
"0.63384855",
"0.6316857",
"0.6307855",
"0.6295642",
"0.6285599",
"0.6283731",
"0.62582535",
"0.6256287",
"0.6242904",
"0.61734796",
"0.61641574",
"0.61352617",
"0.613... | 0.0 | -1 |
Specify the value of a uniform variable for a specified program object | func ProgramUniformMatrix4x2fv(program uint32, location int32, count int32, transpose bool, value *float32) {
C.glowProgramUniformMatrix4x2fv(gpProgramUniformMatrix4x2fv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func ProgramUniform3ui(program uint32, location int32, v0 uint32, v... | [
"0.74596703",
"0.6542257",
"0.6461325",
"0.64492404",
"0.64413136",
"0.64122504",
"0.63523656",
"0.6340831",
"0.63384855",
"0.6316857",
"0.6307855",
"0.6295642",
"0.6285599",
"0.6283731",
"0.62582535",
"0.6256287",
"0.6242904",
"0.61734796",
"0.61641574",
"0.61352617",
"0.613... | 0.0 | -1 |
Specify the value of a uniform variable for a specified program object | func ProgramUniformMatrix4x3fv(program uint32, location int32, count int32, transpose bool, value *float32) {
C.glowProgramUniformMatrix4x3fv(gpProgramUniformMatrix4x3fv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func ProgramUniform3ui(program uint32, location int32, v0 uint32, v... | [
"0.74596244",
"0.65417147",
"0.6461359",
"0.644842",
"0.64406013",
"0.6411922",
"0.63519603",
"0.6340269",
"0.6338394",
"0.631641",
"0.630704",
"0.6295751",
"0.6286016",
"0.6283217",
"0.6257883",
"0.6256306",
"0.6242154",
"0.61727124",
"0.6163814",
"0.61348826",
"0.6133831",
... | 0.0 | -1 |
specifiy the vertex to be used as the source of data for flat shaded varyings | func ProvokingVertex(mode uint32) {
C.glowProvokingVertex(gpProvokingVertex, (C.GLenum)(mode))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (g *Graph) InitSingleSource(source *Vertex) {\n\tfor _, v := range g.Vertexs {\n\t\tv.UpperBound = math.MaxInt32\n\t\tv.Pi = nil\n\t}\n\tsource.UpperBound = 0\n}",
"func vertexInterp(isolevel float64, p1, p2 gl.Vector, valp1, valp2 float64) gl.Vector {\n\tif math.Abs(isolevel-valp1) < epsilon {\n\t\treturn ... | [
"0.5627926",
"0.559103",
"0.5455208",
"0.53628564",
"0.53606296",
"0.53479576",
"0.53330594",
"0.53044915",
"0.5214661",
"0.5126297",
"0.50868094",
"0.5083302",
"0.5073065",
"0.5021851",
"0.5016231",
"0.4975505",
"0.4974356",
"0.49566036",
"0.49356934",
"0.49356934",
"0.49342... | 0.4952528 | 19 |
push and pop the server attribute stack | func PushAttrib(mask uint32) {
C.glowPushAttrib(gpPushAttrib, (C.GLbitfield)(mask))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (this popChannel) stack(cmd ...*URLContext) {\n\ttoStack := cmd\n\tfor {\n\t\tselect {\n\t\tcase this <- toStack:\n\t\t\treturn\n\t\tcase old := <-this:\n\t\t\t// Content of the channel got emptied and is now in old, so append whatever\n\t\t\t// is in toStack to it, so that it can either be inserted in the ch... | [
"0.54709494",
"0.53512096",
"0.5339871",
"0.5168803",
"0.51184034",
"0.5114499",
"0.50536144",
"0.5051467",
"0.5051467",
"0.5051467",
"0.5009617",
"0.50072324",
"0.50072324",
"0.4997513",
"0.49843997",
"0.49840468",
"0.49775678",
"0.49754292",
"0.49056947",
"0.4902187",
"0.48... | 0.0 | -1 |
push and pop the client attribute stack | func PushClientAttrib(mask uint32) {
C.glowPushClientAttrib(gpPushClientAttrib, (C.GLbitfield)(mask))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func PushClientAttrib(mask uint32) {\n\tsyscall.Syscall(gpPushClientAttrib, 1, uintptr(mask), 0, 0)\n}",
"func PushClientAttrib(mask uint32) {\n C.glowPushClientAttrib(gpPushClientAttrib, (C.GLbitfield)(mask))\n}",
"func (s *stacks) Add(client clientpb.Client) (stack *stack, err error) {\n\ts.mutex.Lock()\n\t... | [
"0.610393",
"0.5580497",
"0.5220047",
"0.5219984",
"0.51897347",
"0.50422686",
"0.48800346",
"0.48511297",
"0.48407498",
"0.48333812",
"0.48183915",
"0.47951838",
"0.4770264",
"0.47558677",
"0.4754899",
"0.47343105",
"0.47150815",
"0.47144675",
"0.4695851",
"0.46655047",
"0.4... | 0.570839 | 1 |
push a named debug group into the command stream | func PushDebugGroup(source uint32, id uint32, length int32, message *uint8) {
C.glowPushDebugGroup(gpPushDebugGroup, (C.GLenum)(source), (C.GLuint)(id), (C.GLsizei)(length), (*C.GLchar)(unsafe.Pointer(message)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func PushDebugGroup(source uint32, id uint32, length int32, message *uint8) {\n\tsyscall.Syscall6(gpPushDebugGroup, 4, uintptr(source), uintptr(id), uintptr(length), uintptr(unsafe.Pointer(message)), 0, 0)\n}",
"func PushDebugGroup(source uint32, id uint32, length int32, message *int8) {\n C.glowPushDebugGroup(... | [
"0.70686924",
"0.7037358",
"0.55377126",
"0.552822",
"0.5423073",
"0.532179",
"0.5306808",
"0.52838206",
"0.5258032",
"0.5208155",
"0.516692",
"0.516692",
"0.5165506",
"0.51392627",
"0.5138021",
"0.5128647",
"0.51274556",
"0.5124223",
"0.51228845",
"0.5121599",
"0.5117295",
... | 0.70561934 | 2 |
push and pop the current matrix stack | func PushMatrix() {
C.glowPushMatrix(gpPushMatrix)
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *MyStack) Push(x int) {\n s.queue2 = append(s.queue2, x)\n for len(s.queue1) > 0 {\n s.queue2 = append(s.queue2, s.queue1[0])\n s.queue1 = s.queue1[1:]\n }\n s.queue1, s.queue2 = s.queue2, s.queue1\n}",
"func PushMatrix() {\n\tsyscall.Syscall(gpPushMatrix, 0, 0, 0, 0)\n}",
"fu... | [
"0.63679147",
"0.62701297",
"0.62649775",
"0.62408364",
"0.6209694",
"0.62059695",
"0.61879075",
"0.6130927",
"0.61161023",
"0.60930765",
"0.60591584",
"0.6040496",
"0.6027936",
"0.601224",
"0.5968115",
"0.5965046",
"0.5961536",
"0.5954741",
"0.595461",
"0.595461",
"0.5946987... | 0.64167553 | 0 |
push and pop the name stack | func PushName(name uint32) {
C.glowPushName(gpPushName, (C.GLuint)(name))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (st *scopeStack) push(name ID) {\n\tids := idScope{\n\t\tID: name,\n\t\tscope: scope{},\n\t}\n\tst.stack = append(st.stack, ids)\n}",
"func (s *StackStr) push(str string) {\n\ts.data[s.top] = str\n\ts.top++\n}",
"func (s *stack) push(n *Node) {\n\ts.ns = append(s.ns, n)\n}",
"func (w *Walker) pushSco... | [
"0.7128691",
"0.6430227",
"0.6410915",
"0.6243308",
"0.6212291",
"0.6186443",
"0.61795247",
"0.6177034",
"0.61623585",
"0.6125811",
"0.6028593",
"0.6012905",
"0.60033876",
"0.59973943",
"0.5986886",
"0.59693235",
"0.5912552",
"0.58914024",
"0.5890342",
"0.58899695",
"0.588106... | 0.556162 | 40 |
record the GL time into a query object after all previous commands have reached the GL server but have not yet necessarily executed. | func QueryCounter(id uint32, target uint32) {
C.glowQueryCounter(gpQueryCounter, (C.GLuint)(id), (C.GLenum)(target))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Basememcached_protocolListener) EnterTime(ctx *TimeContext) {}",
"func LogSQLiteQueryAfter(insertID, memUsed, memHighWater int64) (err error) {\n\tdbQuery := `\n\t\tUPDATE vis_query_runs\n\t\tSET memory_used = $2, memory_high_water = $3\n\t\tWHERE query_run_id = $1`\n\tcommandTag, err := pdb.Exec(dbQuer... | [
"0.5643242",
"0.5518756",
"0.5453312",
"0.54377687",
"0.52620655",
"0.51119804",
"0.5006278",
"0.5005519",
"0.49783894",
"0.49781573",
"0.49741495",
"0.49352902",
"0.49296203",
"0.4909209",
"0.49047476",
"0.48972893",
"0.48873216",
"0.48751184",
"0.4874499",
"0.48380214",
"0.... | 0.44489685 | 97 |
return the values of the current matrix | func QueryMatrixxOES(mantissa *int32, exponent *int32) uint32 {
ret := C.glowQueryMatrixxOES(gpQueryMatrixxOES, (*C.GLfixed)(unsafe.Pointer(mantissa)), (*C.GLint)(unsafe.Pointer(exponent)))
return (uint32)(ret)
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (l *LineChart) ValueMatrix() [][]float64 {\n\treturn l.values\n}",
"func (s *spoolNode) Values() tree.Datums {\n\treturn s.rows.At(s.curRowIdx)\n}",
"func (m *Mat) Value(index int) (val float32) {\n\tcursor := 0\n\tfor i := 0; i < len(m.W); i++ {\n\t\tfor f := 0; f < 4; f++ {\n\t\t\tif cursor >= index {\n... | [
"0.6630708",
"0.63330996",
"0.62243414",
"0.6053648",
"0.60014874",
"0.590483",
"0.58563787",
"0.5767254",
"0.5651234",
"0.56432045",
"0.56398916",
"0.5637201",
"0.5622725",
"0.56161577",
"0.5586769",
"0.5576984",
"0.5575711",
"0.5572057",
"0.5554693",
"0.55498534",
"0.549713... | 0.0 | -1 |
select a color buffer source for pixels | func ReadBuffer(src uint32) {
C.glowReadBuffer(gpReadBuffer, (C.GLenum)(src))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func SelectBuffer(size int32, buffer *uint32) {\n C.glowSelectBuffer(gpSelectBuffer, (C.GLsizei)(size), (*C.GLuint)(unsafe.Pointer(buffer)))\n}",
"func SelectBuffer(size int32, buffer *uint32) {\n\tC.glowSelectBuffer(gpSelectBuffer, (C.GLsizei)(size), (*C.GLuint)(unsafe.Pointer(buffer)))\n}",
"func qr_decoder... | [
"0.6070687",
"0.5766731",
"0.5657546",
"0.5489404",
"0.53374475",
"0.5294057",
"0.52903944",
"0.52876276",
"0.5284147",
"0.52287775",
"0.52257425",
"0.52253914",
"0.5190236",
"0.51431614",
"0.5136194",
"0.5118886",
"0.5077019",
"0.5052399",
"0.49936667",
"0.49909106",
"0.4977... | 0.57290745 | 3 |
read a block of pixels from the frame buffer | func ReadPixels(x int32, y int32, width int32, height int32, format uint32, xtype uint32, pixels unsafe.Pointer) {
C.glowReadPixels(gpReadPixels, (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLenum)(format), (C.GLenum)(xtype), pixels)
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (i *Image) readPixelsFromGPU() error {\n\tvar err error\n\ti.basePixels, err = i.image.Pixels()\n\tif err != nil {\n\t\treturn err\n\t}\n\ti.drawImageHistory = nil\n\ti.stale = false\n\treturn nil\n}",
"func ReadPixels(x, y, width, height, format, formatType int) []byte {\n\tsize := uint32((width - x) * (he... | [
"0.6502933",
"0.64840156",
"0.6082744",
"0.6074811",
"0.6028613",
"0.59408027",
"0.5863977",
"0.5845161",
"0.5829541",
"0.5788325",
"0.5788325",
"0.5775895",
"0.5774273",
"0.5762508",
"0.5734204",
"0.5706222",
"0.56671655",
"0.56580025",
"0.5646366",
"0.5642672",
"0.5622748",... | 0.57889616 | 10 |
read a block of pixels from the frame buffer | func ReadnPixels(x int32, y int32, width int32, height int32, format uint32, xtype uint32, bufSize int32, data unsafe.Pointer) {
C.glowReadnPixels(gpReadnPixels, (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLenum)(format), (C.GLenum)(xtype), (C.GLsizei)(bufSize), data)
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (i *Image) readPixelsFromGPU() error {\n\tvar err error\n\ti.basePixels, err = i.image.Pixels()\n\tif err != nil {\n\t\treturn err\n\t}\n\ti.drawImageHistory = nil\n\ti.stale = false\n\treturn nil\n}",
"func ReadPixels(x, y, width, height, format, formatType int) []byte {\n\tsize := uint32((width - x) * (he... | [
"0.6502933",
"0.64840156",
"0.6082744",
"0.6074811",
"0.6028613",
"0.59408027",
"0.5863977",
"0.5845161",
"0.5829541",
"0.57889616",
"0.57889616",
"0.5788325",
"0.5788325",
"0.5775895",
"0.5774273",
"0.5762508",
"0.5734204",
"0.5706222",
"0.56671655",
"0.56580025",
"0.5646366... | 0.5596715 | 24 |
release resources consumed by the implementation's shader compiler | func ReleaseShaderCompiler() {
C.glowReleaseShaderCompiler(gpReleaseShaderCompiler)
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func ReleaseShaderCompiler() {\n C.glowReleaseShaderCompiler(gpReleaseShaderCompiler)\n}",
"func ReleaseShaderCompiler() {\n\tgl.ReleaseShaderCompiler()\n}",
"func ReleaseShaderCompiler() {\n\tC.glReleaseShaderCompiler()\n}",
"func (c *Compiler) Release() {\n\tC.shaderc_compiler_release(c.compiler)\n}",
"... | [
"0.76125705",
"0.7453949",
"0.7385063",
"0.73812115",
"0.72884774",
"0.72038025",
"0.69533604",
"0.65738964",
"0.63668287",
"0.62888783",
"0.61813873",
"0.6148792",
"0.61388564",
"0.61197275",
"0.6026781",
"0.58942294",
"0.5871236",
"0.582105",
"0.5778082",
"0.5776103",
"0.57... | 0.7273417 | 6 |
establish data storage, format and dimensions of a renderbuffer object's image | func RenderbufferStorage(target uint32, internalformat uint32, width int32, height int32) {
C.glowRenderbufferStorage(gpRenderbufferStorage, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func RenderbufferStorage(target uint32, internalformat uint32, width int32, height int32) {\n C.glowRenderbufferStorage(gpRenderbufferStorage, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height))\n}",
"func RenderbufferStorage(target uint32, internalformat uint32, width int32... | [
"0.5998305",
"0.58400124",
"0.5705627",
"0.5702508",
"0.5666278",
"0.56230754",
"0.56207895",
"0.5592833",
"0.55329335",
"0.5517138",
"0.551079",
"0.549668",
"0.5485291",
"0.54749393",
"0.5390986",
"0.53616107",
"0.53538954",
"0.5349218",
"0.5310649",
"0.5305363",
"0.5294529"... | 0.5602298 | 8 |
establish data storage, format, dimensions and sample count of a renderbuffer object's image | func RenderbufferStorageMultisample(target uint32, samples int32, internalformat uint32, width int32, height int32) {
C.glowRenderbufferStorageMultisample(gpRenderbufferStorageMultisample, (C.GLenum)(target), (C.GLsizei)(samples), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func RenderbufferStorage(target uint32, internalformat uint32, width int32, height int32) {\n C.glowRenderbufferStorage(gpRenderbufferStorage, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height))\n}",
"func RenderbufferStorage(target Enum, internalformat Enum, width Sizei, he... | [
"0.6027799",
"0.5717835",
"0.5703735",
"0.56905144",
"0.56375647",
"0.56171376",
"0.56171376",
"0.55977327",
"0.5487325",
"0.53763473",
"0.536057",
"0.5331314",
"0.5275517",
"0.52639896",
"0.5248336",
"0.524174",
"0.5198033",
"0.51471144",
"0.51371145",
"0.5113358",
"0.510632... | 0.47432134 | 62 |
reset histogram table entries to zero | func ResetHistogram(target uint32) {
C.glowResetHistogram(gpResetHistogram, (C.GLenum)(target))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (h *Histogram) Reset() {\n\th.Counter.Reset()\n\t// Leave Offset and Divider alone\n\tfor i := 0; i < len(h.Hdata); i++ {\n\t\th.Hdata[i] = 0\n\t}\n}",
"func (ms HistogramDataPoint) InitEmpty() {\n\t*ms.orig = &otlpmetrics.HistogramDataPoint{}\n}",
"func (ms HistogramBucket) InitEmpty() {\n\t*ms.orig = &o... | [
"0.77796936",
"0.6632671",
"0.6602373",
"0.62776405",
"0.62066203",
"0.6112114",
"0.6076527",
"0.60095865",
"0.59967715",
"0.5862732",
"0.5829162",
"0.56958616",
"0.56720376",
"0.5647056",
"0.56146",
"0.5613184",
"0.56100583",
"0.56016034",
"0.5594738",
"0.5576105",
"0.557436... | 0.6191807 | 5 |
reset minmax table entries to initial values | func ResetMinmax(target uint32) {
C.glowResetMinmax(gpResetMinmax, (C.GLenum)(target))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (r *MinMaxRange) Reset() {\n\tr.Min = math.Inf(1)\n\tr.Max = math.Inf(-1)\n}",
"func testSetMinNumTablets(newMin int) {\n\tminNumTablets.Set(newMin)\n}",
"func (d *NonCumulativeDistribution) UpdateMinMax() {\n}",
"func (stats *PrimaryKeyStats) UpdateMinMax(pk PrimaryKey) {\n\tif stats.MinPk == nil {\n\t... | [
"0.64931244",
"0.60981715",
"0.59785086",
"0.5951624",
"0.5916058",
"0.54692894",
"0.54020315",
"0.52352774",
"0.51792073",
"0.51664025",
"0.5139438",
"0.51352453",
"0.51118225",
"0.5068089",
"0.5060789",
"0.5038061",
"0.50326437",
"0.5022114",
"0.50157505",
"0.49808767",
"0.... | 0.59015477 | 5 |
resume transform feedback operations | func ResumeTransformFeedback() {
C.glowResumeTransformFeedback(gpResumeTransformFeedback)
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func ResumeTransformFeedback() {\n C.glowResumeTransformFeedback(gpResumeTransformFeedback)\n}",
"func (self *Tween) _resumeI(args ...interface{}) {\n self.Object.Call(\"_resume\", args)\n}",
"func (self *Tween) _resume() {\n self.Object.Call(\"_resume\")\n}",
"func ResumeTransformFeedback() {\n\tsysc... | [
"0.5852837",
"0.5672501",
"0.5553464",
"0.55378157",
"0.5426855",
"0.5384724",
"0.5272847",
"0.5269439",
"0.52256405",
"0.51993257",
"0.50903815",
"0.5082644",
"0.5024265",
"0.5019742",
"0.50104254",
"0.4978756",
"0.4965635",
"0.4965635",
"0.4943474",
"0.49403235",
"0.4902015... | 0.5317271 | 7 |
specify multisample coverage parameters | func SampleCoverage(value float32, invert bool) {
C.glowSampleCoverage(gpSampleCoverage, (C.GLfloat)(value), (C.GLboolean)(boolToInt(invert)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func SampleCoverage(value float32, invert bool) {\n\tsyscall.Syscall(gpSampleCoverage, 2, uintptr(math.Float32bits(value)), boolToUintptr(invert), 0)\n}",
"func Coverage() float64 {}",
"func SampleCoverage(value float32, invert bool) {\n C.glowSampleCoverage(gpSampleCoverage, (C.GLfloat)(value), (C.GLboolean)... | [
"0.58642465",
"0.5800914",
"0.5765548",
"0.5600144",
"0.5389432",
"0.5373801",
"0.46626437",
"0.46526325",
"0.4625833",
"0.4622399",
"0.4599536",
"0.4586786",
"0.4573069",
"0.4530744",
"0.45277405",
"0.44400665",
"0.44272324",
"0.440704",
"0.43953106",
"0.43860328",
"0.438103... | 0.5471003 | 5 |
set the value of a subword of the sample mask | func SampleMaski(maskNumber uint32, mask uint32) {
C.glowSampleMaski(gpSampleMaski, (C.GLuint)(maskNumber), (C.GLbitfield)(mask))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (r *RAM) SetFreqTuningWord(x uint32) {\n\tbinary.BigEndian.PutUint32(r[0:4], x)\n}",
"func Set(data []uintptr, bitIdx int) {\n\t// Unsigned division by a power-of-2 constant compiles to a right-shift,\n\t// while signed does not due to negative nastiness.\n\tdata[uint(bitIdx)/BitsPerWord] |= 1 << (uint(bitI... | [
"0.5692214",
"0.5654135",
"0.56206316",
"0.55107075",
"0.54400367",
"0.52938724",
"0.51777655",
"0.51708823",
"0.51620406",
"0.512095",
"0.5101827",
"0.5076113",
"0.5069988",
"0.5065545",
"0.5064046",
"0.49795565",
"0.495981",
"0.49276274",
"0.48725054",
"0.48485556",
"0.4840... | 0.0 | -1 |
define the scissor box | func Scissor(x int32, y int32, width int32, height int32) {
C.glowScissor(gpScissor, (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func Scissor(x int32, y int32, width int32, height int32) {\n C.glowScissor(gpScissor, (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height))\n}",
"func Scissor(x int, y int, width int, height int) {\n\tC.glScissor(C.GLint(x), C.GLint(y), C.GLsizei(width), C.GLsizei(height))\n}",
"func Scissor(x... | [
"0.7306707",
"0.7017229",
"0.69977593",
"0.6996485",
"0.67317617",
"0.65064496",
"0.64013356",
"0.6133552",
"0.6069343",
"0.5690698",
"0.5682292",
"0.53505236",
"0.53045774",
"0.53045774",
"0.5232383",
"0.5169226",
"0.49412957",
"0.4852202",
"0.47069392",
"0.47046113",
"0.467... | 0.6861694 | 5 |
define the scissor box for a specific viewport | func ScissorIndexed(index uint32, left int32, bottom int32, width int32, height int32) {
C.glowScissorIndexed(gpScissorIndexed, (C.GLuint)(index), (C.GLint)(left), (C.GLint)(bottom), (C.GLsizei)(width), (C.GLsizei)(height))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func Scissor(x int32, y int32, width int32, height int32) {\n C.glowScissor(gpScissor, (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height))\n}",
"func Scissor(x, y, width, height int32) {\n\tgl.Scissor(x, y, width, height)\n}",
"func Scissor(x int, y int, width int, height int) {\n\tC.glScisso... | [
"0.67170966",
"0.6665238",
"0.65972096",
"0.65350837",
"0.6280728",
"0.62801445",
"0.62343717",
"0.6188699",
"0.6188699",
"0.61327016",
"0.6132442",
"0.5633547",
"0.55728525",
"0.54311025",
"0.52861816",
"0.5276475",
"0.4986367",
"0.4984276",
"0.48591787",
"0.4853017",
"0.482... | 0.5072679 | 17 |
define an array of secondary colors | func SecondaryColorPointer(size int32, xtype uint32, stride int32, pointer unsafe.Pointer) {
C.glowSecondaryColorPointer(gpSecondaryColorPointer, (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride), pointer)
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func GenColor(intr int) [][]uint8 {\n\toutput := [][]uint8{}\n\tfor i := 0; i <= 255; i += intr {\n\t\tfor j := 0; j <= 255; j += intr {\n\t\t\tfor k := 0; k <= 255; k += intr {\n\t\t\t\ta := []uint8{uint8(i), uint8(j), uint8(k)}\n\t\t\t\toutput = append(output, a)\n\n\t\t\t}\n\t\t}\n\t}\n\treturn output\n\n}",
... | [
"0.62305045",
"0.58697766",
"0.5841596",
"0.5832669",
"0.5777161",
"0.5772136",
"0.57394844",
"0.5696425",
"0.5655635",
"0.55842054",
"0.55304444",
"0.55119973",
"0.54661673",
"0.545896",
"0.54540193",
"0.5444813",
"0.54300684",
"0.5428829",
"0.5410257",
"0.5379879",
"0.53674... | 0.5399717 | 19 |
establish a buffer for selection mode values | func SelectBuffer(size int32, buffer *uint32) {
C.glowSelectBuffer(gpSelectBuffer, (C.GLsizei)(size), (*C.GLuint)(unsafe.Pointer(buffer)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func SelectBuffer(size int32, buffer *uint32) {\n C.glowSelectBuffer(gpSelectBuffer, (C.GLsizei)(size), (*C.GLuint)(unsafe.Pointer(buffer)))\n}",
"func SelectBuffer(size int32, buffer *uint32) {\n\tsyscall.Syscall(gpSelectBuffer, 2, uintptr(size), uintptr(unsafe.Pointer(buffer)), 0)\n}",
"func (b *AppendOnlyB... | [
"0.65760446",
"0.65485376",
"0.61191225",
"0.5796058",
"0.5790717",
"0.5776493",
"0.5611938",
"0.56019115",
"0.5505821",
"0.5450479",
"0.5395669",
"0.5388519",
"0.5374943",
"0.5350101",
"0.52980506",
"0.52446246",
"0.5240286",
"0.52325135",
"0.5230893",
"0.5212422",
"0.520250... | 0.6455141 | 2 |
define a separable twodimensional convolution filter | func SeparableFilter2D(target uint32, internalformat uint32, width int32, height int32, format uint32, xtype uint32, row unsafe.Pointer, column unsafe.Pointer) {
C.glowSeparableFilter2D(gpSeparableFilter2D, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLenum)(format), (C.GLenum)(xtype), row, column)
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func ConvolutionFilter2D(target uint32, internalformat uint32, width int32, height int32, format uint32, xtype uint32, image unsafe.Pointer) {\n C.glowConvolutionFilter2D(gpConvolutionFilter2D, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLenum)(format), (C.GLenum)(... | [
"0.62630594",
"0.62214506",
"0.6202235",
"0.6085207",
"0.608213",
"0.6071926",
"0.6057668",
"0.5849779",
"0.5622253",
"0.56174934",
"0.55740094",
"0.5553006",
"0.54248303",
"0.5422281",
"0.54010767",
"0.5367987",
"0.53366935",
"0.53357047",
"0.5321584",
"0.5305488",
"0.521883... | 0.54949594 | 12 |
select flat or smooth shading | func ShadeModel(mode uint32) {
C.glowShadeModel(gpShadeModel, (C.GLenum)(mode))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func MinSampleShading(value float32) {\n C.glowMinSampleShading(gpMinSampleShading, (C.GLfloat)(value))\n}",
"func ShadeModel(mode uint32) {\n C.glowShadeModel(gpShadeModel, (C.GLenum)(mode))\n}",
"func (me TxsdFeBlendTypeMode) IsLighten() bool { return me.String() == \"lighten\" }",
"func color(r geometry... | [
"0.6057056",
"0.5537454",
"0.5414625",
"0.5414063",
"0.5317515",
"0.5317515",
"0.5312016",
"0.5181634",
"0.5118959",
"0.5091456",
"0.50600046",
"0.5032356",
"0.50057834",
"0.50028145",
"0.49857584",
"0.49581292",
"0.49476284",
"0.49317154",
"0.49126634",
"0.49018177",
"0.4889... | 0.5109614 | 9 |
load precompiled shader binaries | func ShaderBinary(count int32, shaders *uint32, binaryFormat uint32, binary unsafe.Pointer, length int32) {
C.glowShaderBinary(gpShaderBinary, (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(shaders)), (C.GLenum)(binaryFormat), binary, (C.GLsizei)(length))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func ShaderBinary(count int32, shaders *uint32, binaryformat uint32, binary unsafe.Pointer, length int32) {\n C.glowShaderBinary(gpShaderBinary, (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(shaders)), (C.GLenum)(binaryformat), binary, (C.GLsizei)(length))\n}",
"func ShaderBinary(count int32, shaders *uint32, ... | [
"0.65038353",
"0.63297147",
"0.6231991",
"0.60017765",
"0.6001524",
"0.58366245",
"0.57430834",
"0.5721227",
"0.56981456",
"0.56857246",
"0.5680859",
"0.5674468",
"0.5624474",
"0.55776554",
"0.5426046",
"0.54056126",
"0.5389037",
"0.5382641",
"0.5371606",
"0.53366506",
"0.533... | 0.60776806 | 4 |
Replaces the source code in a shader object | func ShaderSource(shader uint32, count int32, xstring **uint8, length *int32) {
C.glowShaderSource(gpShaderSource, (C.GLuint)(shader), (C.GLsizei)(count), (**C.GLchar)(unsafe.Pointer(xstring)), (*C.GLint)(unsafe.Pointer(length)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (shader Shader) Source(source string) {\n\tcstrs, free := gl.Strs(source + \"\\x00\")\n\tgl.ShaderSource(uint32(shader), 1, cstrs, nil)\n\tfree()\n}",
"func ShaderSource(s Shader, src string) {\n\tglsource, free := gl.Strs(src + \"\\x00\")\n\tgl.ShaderSource(s.Value, 1, glsource, nil)\n\tfree()\n}",
"func... | [
"0.66479784",
"0.633193",
"0.61871094",
"0.6032779",
"0.60179514",
"0.5950072",
"0.59113926",
"0.57986933",
"0.56629425",
"0.56469846",
"0.562162",
"0.55166596",
"0.5412991",
"0.5407148",
"0.540047",
"0.52969486",
"0.5283951",
"0.52395153",
"0.5216457",
"0.5215928",
"0.521417... | 0.5770038 | 9 |
change an active shader storage block binding | func ShaderStorageBlockBinding(program uint32, storageBlockIndex uint32, storageBlockBinding uint32) {
C.glowShaderStorageBlockBinding(gpShaderStorageBlockBinding, (C.GLuint)(program), (C.GLuint)(storageBlockIndex), (C.GLuint)(storageBlockBinding))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func ShaderStorageBlockBinding(program uint32, storageBlockIndex uint32, storageBlockBinding uint32) {\n C.glowShaderStorageBlockBinding(gpShaderStorageBlockBinding, (C.GLuint)(program), (C.GLuint)(storageBlockIndex), (C.GLuint)(storageBlockBinding))\n}",
"func ShaderStorageBlockBinding(program uint32, storageB... | [
"0.7950159",
"0.78279096",
"0.65373474",
"0.63529205",
"0.6241185",
"0.5785076",
"0.5726374",
"0.57025385",
"0.56556636",
"0.56556636",
"0.55944026",
"0.55944026",
"0.55934834",
"0.5485258",
"0.5485258",
"0.54153067",
"0.5319749",
"0.53159505",
"0.52973616",
"0.5239126",
"0.5... | 0.758001 | 3 |
set front and back function and reference value for stencil testing | func StencilFunc(xfunc uint32, ref int32, mask uint32) {
C.glowStencilFunc(gpStencilFunc, (C.GLenum)(xfunc), (C.GLint)(ref), (C.GLuint)(mask))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (b *TestDriver) Backward(val int) error {\n\tlog.Printf(\"Backward: %d\", val)\n\n\treturn nil\n}",
"func (self *Tween) SetCurrentA(member int) {\n self.Object.Set(\"current\", member)\n}",
"func (gdt *Array) Front() Variant {\n\targ0 := gdt.getBase()\n\n\tret := C.go_godot_array_front(GDNative.api, ar... | [
"0.5494535",
"0.5301295",
"0.51464635",
"0.50419146",
"0.5037436",
"0.5015516",
"0.49657822",
"0.49561486",
"0.49543884",
"0.49428144",
"0.49407095",
"0.493178",
"0.4925037",
"0.49189514",
"0.49135685",
"0.49078906",
"0.49038228",
"0.4894651",
"0.489098",
"0.48855984",
"0.487... | 0.4466191 | 87 |
set front and/or back function and reference value for stencil testing | func StencilFuncSeparate(face uint32, xfunc uint32, ref int32, mask uint32) {
C.glowStencilFuncSeparate(gpStencilFuncSeparate, (C.GLenum)(face), (C.GLenum)(xfunc), (C.GLint)(ref), (C.GLuint)(mask))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (b *TestDriver) Backward(val int) error {\n\tlog.Printf(\"Backward: %d\", val)\n\n\treturn nil\n}",
"func (self *Tween) SetCurrentA(member int) {\n self.Object.Set(\"current\", member)\n}",
"func (gdt *Array) Front() Variant {\n\targ0 := gdt.getBase()\n\n\tret := C.go_godot_array_front(GDNative.api, ar... | [
"0.54468954",
"0.53770256",
"0.51493025",
"0.51096535",
"0.50962466",
"0.5093472",
"0.50177526",
"0.49825084",
"0.4945851",
"0.49456924",
"0.49455816",
"0.494494",
"0.4939719",
"0.49390656",
"0.49196833",
"0.49033886",
"0.49010313",
"0.48947307",
"0.48780322",
"0.4875032",
"0... | 0.4548324 | 70 |
control the front and back writing of individual bits in the stencil planes | func StencilMask(mask uint32) {
C.glowStencilMask(gpStencilMask, (C.GLuint)(mask))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func StencilMaskSeparate(face uint32, mask uint32) {\n C.glowStencilMaskSeparate(gpStencilMaskSeparate, (C.GLenum)(face), (C.GLuint)(mask))\n}",
"func StencilMask(mask uint32) {\n C.glowStencilMask(gpStencilMask, (C.GLuint)(mask))\n}",
"func StencilMask(mask uint32) {\n\tgl.StencilMask(mask)\n}",
"func Ste... | [
"0.59734964",
"0.5958469",
"0.58629996",
"0.5840201",
"0.5777541",
"0.57605547",
"0.5710903",
"0.56910944",
"0.5665752",
"0.56283",
"0.56265545",
"0.56265545",
"0.5616654",
"0.5596104",
"0.5520322",
"0.5495398",
"0.5464861",
"0.54398996",
"0.5411829",
"0.5362842",
"0.52449816... | 0.56041425 | 14 |
control the front and/or back writing of individual bits in the stencil planes | func StencilMaskSeparate(face uint32, mask uint32) {
C.glowStencilMaskSeparate(gpStencilMaskSeparate, (C.GLenum)(face), (C.GLuint)(mask))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func StencilMask(mask uint32) {\n C.glowStencilMask(gpStencilMask, (C.GLuint)(mask))\n}",
"func StencilMaskSeparate(face uint32, mask uint32) {\n C.glowStencilMaskSeparate(gpStencilMaskSeparate, (C.GLenum)(face), (C.GLuint)(mask))\n}",
"func StencilMask(mask uint32) {\n\tgl.StencilMask(mask)\n}",
"func Ste... | [
"0.5981252",
"0.59556305",
"0.58794415",
"0.5829393",
"0.577979",
"0.57236236",
"0.5711162",
"0.5676766",
"0.56660885",
"0.5647756",
"0.5608868",
"0.5608868",
"0.55869067",
"0.55785143",
"0.5521046",
"0.5504999",
"0.5494866",
"0.5455648",
"0.5418937",
"0.5384106",
"0.524249",... | 0.5582656 | 14 |
set front and back stencil test actions | func StencilOp(fail uint32, zfail uint32, zpass uint32) {
C.glowStencilOp(gpStencilOp, (C.GLenum)(fail), (C.GLenum)(zfail), (C.GLenum)(zpass))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (b *TestDriver) FrontFlip() (err error) {\n\tb.Publish(Rolling, true)\n\treturn nil\n}",
"func (w *Window) addActions() {\n\t// MENU BAR\n\topenAct := ui.NewActionWithTextParent(\"&Open\", w)\n\topenAct.SetShortcuts(ui.QKeySequence_Open)\n\topenAct.SetStatusTip(\"Open a demonstration file\")\n\topenAct.OnTr... | [
"0.5191295",
"0.50616056",
"0.5060055",
"0.50513345",
"0.48776266",
"0.4732944",
"0.47290424",
"0.46570688",
"0.46473038",
"0.46464473",
"0.46410078",
"0.46100742",
"0.4563076",
"0.44370377",
"0.44200116",
"0.44028863",
"0.4400459",
"0.4396058",
"0.43954757",
"0.43943077",
"0... | 0.0 | -1 |
set front and/or back stencil test actions | func StencilOpSeparate(face uint32, sfail uint32, dpfail uint32, dppass uint32) {
C.glowStencilOpSeparate(gpStencilOpSeparate, (C.GLenum)(face), (C.GLenum)(sfail), (C.GLenum)(dpfail), (C.GLenum)(dppass))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (w *Window) addActions() {\n\t// MENU BAR\n\topenAct := ui.NewActionWithTextParent(\"&Open\", w)\n\topenAct.SetShortcuts(ui.QKeySequence_Open)\n\topenAct.SetStatusTip(\"Open a demonstration file\")\n\topenAct.OnTriggered(func() {\n\t\tfilename := ui.QFileDialogGetOpenFileName()\n\t\tif filename != \"\" {\n\t\... | [
"0.52145684",
"0.5150215",
"0.5049527",
"0.49726212",
"0.49165",
"0.49031076",
"0.48264718",
"0.47444108",
"0.4716233",
"0.46796545",
"0.46344215",
"0.46237358",
"0.45230445",
"0.45163077",
"0.44984436",
"0.44977668",
"0.44761503",
"0.44696873",
"0.4464036",
"0.44472817",
"0.... | 0.0 | -1 |
attach a buffer object's data store to a buffer texture object | func TexBuffer(target uint32, internalformat uint32, buffer uint32) {
C.glowTexBuffer(gpTexBuffer, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLuint)(buffer))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func TextureBuffer(texture uint32, internalformat uint32, buffer uint32) {\n\tsyscall.Syscall(gpTextureBuffer, 3, uintptr(texture), uintptr(internalformat), uintptr(buffer))\n}",
"func TexBuffer(target uint32, internalformat uint32, buffer uint32) {\n C.glowTexBuffer(gpTexBuffer, (C.GLenum)(target), (C.GLenum)(... | [
"0.6570589",
"0.6301369",
"0.62815315",
"0.62485975",
"0.6153884",
"0.6095835",
"0.6046486",
"0.6046486",
"0.60367835",
"0.6030357",
"0.5992881",
"0.59343165",
"0.58607763",
"0.5856295",
"0.5853856",
"0.5830652",
"0.580583",
"0.58029306",
"0.576574",
"0.57534164",
"0.57534164... | 0.604845 | 7 |
attach a range of a buffer object's data store to a buffer texture object | func TexBufferRange(target uint32, internalformat uint32, buffer uint32, offset int, size int) {
C.glowTexBufferRange(gpTexBufferRange, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLuint)(buffer), (C.GLintptr)(offset), (C.GLsizeiptr)(size))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func TextureBufferRange(texture uint32, internalformat uint32, buffer uint32, offset int, size int) {\n\tsyscall.Syscall6(gpTextureBufferRange, 5, uintptr(texture), uintptr(internalformat), uintptr(buffer), uintptr(offset), uintptr(size), 0)\n}",
"func TexBufferRange(target uint32, internalformat uint32, buffer ... | [
"0.7155576",
"0.6988774",
"0.68070585",
"0.6797182",
"0.67809206",
"0.67809206",
"0.6443307",
"0.6443307",
"0.6262211",
"0.62520915",
"0.6196866",
"0.609554",
"0.60904115",
"0.6084441",
"0.60702294",
"0.6055566",
"0.6012688",
"0.59631103",
"0.5864826",
"0.5861156",
"0.5861156... | 0.67304766 | 7 |
define an array of texture coordinates | func TexCoordPointer(size int32, xtype uint32, stride int32, pointer unsafe.Pointer) {
C.glowTexCoordPointer(gpTexCoordPointer, (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride), pointer)
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func appendVerticesTextureCoords(vertices []gfx.Vec3, textureCoords []gfx.TexCoord, v gfx.Vec3) ([]gfx.Vec3, []gfx.TexCoord) {\n\tvertices = append(vertices, v)\n\tuvX, uvY := UvLatLng(v)\n\ttextureCoords = append(textureCoords, gfx.TexCoord{uvX, uvY})\n\n\tif uvX == 0.0 {\n\t\tvertices = append(vertices, v)\n\t\t... | [
"0.578813",
"0.5673342",
"0.5594642",
"0.5354332",
"0.53411394",
"0.53234106",
"0.5321791",
"0.5319815",
"0.5291808",
"0.5291586",
"0.5278926",
"0.52737015",
"0.5219744",
"0.51949817",
"0.51874506",
"0.5185524",
"0.51825595",
"0.51748407",
"0.5162375",
"0.5162375",
"0.5141784... | 0.51812136 | 17 |
specify a onedimensional texture image | func TexImage1D(target uint32, level int32, internalformat int32, width int32, border int32, format uint32, xtype uint32, pixels unsafe.Pointer) {
C.glowTexImage1D(gpTexImage1D, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(internalformat), (C.GLsizei)(width), (C.GLint)(border), (C.GLenum)(format), (C.GLenum)(xtype), pixels)
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func BindImageTexture(unit uint32, texture uint32, level int32, layered bool, layer int32, access uint32, format uint32) {\n C.glowBindImageTexture(gpBindImageTexture, (C.GLuint)(unit), (C.GLuint)(texture), (C.GLint)(level), (C.GLboolean)(boolToInt(layered)), (C.GLint)(layer), (C.GLenum)(access), (C.GLenum)(forma... | [
"0.6714431",
"0.63583815",
"0.6279395",
"0.62374234",
"0.62233365",
"0.62233365",
"0.6218464",
"0.6151611",
"0.6128656",
"0.61138684",
"0.6110254",
"0.6108208",
"0.6102179",
"0.6071912",
"0.6071912",
"0.593116",
"0.5918309",
"0.59177005",
"0.5899501",
"0.5845472",
"0.5830761"... | 0.6063035 | 16 |
specify a twodimensional texture image | func TexImage2D(target uint32, level int32, internalformat int32, width int32, height int32, border int32, format uint32, xtype uint32, pixels unsafe.Pointer) {
C.glowTexImage2D(gpTexImage2D, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLint)(border), (C.GLenum)(format), (C.GLenum)(xtype), pixels)
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func TexImage2D(target Enum, level int, width, height int, format Enum, ty Enum, data []byte) {\n\tp := unsafe.Pointer(nil)\n\tif len(data) > 0 {\n\t\tp = gl.Ptr(&data[0])\n\t}\n\tgl.TexImage2D(uint32(target), int32(level), int32(format), int32(width), int32(height), 0, uint32(format), uint32(ty), p)\n}",
"func ... | [
"0.6833085",
"0.6789198",
"0.67810637",
"0.67664236",
"0.66015923",
"0.65738314",
"0.6553952",
"0.64152366",
"0.6390624",
"0.63037115",
"0.62595475",
"0.6246993",
"0.6246993",
"0.6243933",
"0.6177276",
"0.6153705",
"0.6152731",
"0.61164725",
"0.61164725",
"0.60688776",
"0.604... | 0.67318803 | 5 |
establish the data storage, format, dimensions, and number of samples of a multisample texture's image | func TexImage2DMultisample(target uint32, samples int32, internalformat uint32, width int32, height int32, fixedsamplelocations bool) {
C.glowTexImage2DMultisample(gpTexImage2DMultisample, (C.GLenum)(target), (C.GLsizei)(samples), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLboolean)(boolToInt(fixedsamplelocations)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func RenderbufferStorageMultisample(target uint32, samples int32, internalformat uint32, width int32, height int32) {\n C.glowRenderbufferStorageMultisample(gpRenderbufferStorageMultisample, (C.GLenum)(target), (C.GLsizei)(samples), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height))\n}",
"func... | [
"0.6786642",
"0.6674726",
"0.6648529",
"0.664595",
"0.65805995",
"0.65620697",
"0.65620697",
"0.6561601",
"0.6559353",
"0.645284",
"0.645284",
"0.63961303",
"0.63761675",
"0.63761675",
"0.6373263",
"0.63513196",
"0.63513196",
"0.63495386",
"0.6331949",
"0.6319217",
"0.6250102... | 0.6218648 | 25 |
specify a threedimensional texture image | func TexImage3D(target uint32, level int32, internalformat int32, width int32, height int32, depth int32, border int32, format uint32, xtype uint32, pixels unsafe.Pointer) {
C.glowTexImage3D(gpTexImage3D, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLint)(border), (C.GLenum)(format), (C.GLenum)(xtype), pixels)
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func BindImageTexture(unit uint32, texture uint32, level int32, layered bool, layer int32, access uint32, format uint32) {\n C.glowBindImageTexture(gpBindImageTexture, (C.GLuint)(unit), (C.GLuint)(texture), (C.GLint)(level), (C.GLboolean)(boolToInt(layered)), (C.GLint)(layer), (C.GLenum)(access), (C.GLenum)(forma... | [
"0.6566488",
"0.6554717",
"0.64830875",
"0.64407885",
"0.64407885",
"0.6424229",
"0.6388144",
"0.63630474",
"0.62822914",
"0.61625487",
"0.6140823",
"0.6091185",
"0.6063474",
"0.6063474",
"0.60621315",
"0.6061631",
"0.59596807",
"0.59116316",
"0.5908636",
"0.5899263",
"0.5891... | 0.6341683 | 9 |
establish the data storage, format, dimensions, and number of samples of a multisample texture's image | func TexImage3DMultisample(target uint32, samples int32, internalformat uint32, width int32, height int32, depth int32, fixedsamplelocations bool) {
C.glowTexImage3DMultisample(gpTexImage3DMultisample, (C.GLenum)(target), (C.GLsizei)(samples), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLboolean)(boolToInt(fixedsamplelocations)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func RenderbufferStorageMultisample(target uint32, samples int32, internalformat uint32, width int32, height int32) {\n C.glowRenderbufferStorageMultisample(gpRenderbufferStorageMultisample, (C.GLenum)(target), (C.GLsizei)(samples), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height))\n}",
"func... | [
"0.6786152",
"0.66729325",
"0.6647402",
"0.6644453",
"0.65782523",
"0.6560819",
"0.6560819",
"0.6559473",
"0.655873",
"0.645201",
"0.645201",
"0.63954514",
"0.6374779",
"0.6374779",
"0.63734436",
"0.6350393",
"0.6350393",
"0.6348099",
"0.6330747",
"0.63198245",
"0.6234649",
... | 0.6248304 | 21 |
simultaneously specify storage for all levels of a onedimensional texture | func TexStorage1D(target uint32, levels int32, internalformat uint32, width int32) {
C.glowTexStorage1D(gpTexStorage1D, (C.GLenum)(target), (C.GLsizei)(levels), (C.GLenum)(internalformat), (C.GLsizei)(width))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func TexStorage2D(target uint32, levels int32, internalformat uint32, width int32, height int32) {\n C.glowTexStorage2D(gpTexStorage2D, (C.GLenum)(target), (C.GLsizei)(levels), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height))\n}",
"func TexStorage3D(target uint32, levels int32, internalforma... | [
"0.6481912",
"0.6434418",
"0.63266677",
"0.63188255",
"0.6160439",
"0.6114599",
"0.6060151",
"0.6060151",
"0.6007019",
"0.5983739",
"0.5983739",
"0.5954445",
"0.59472793",
"0.59472793",
"0.5906241",
"0.5906241",
"0.58520925",
"0.584384",
"0.5837907",
"0.58353865",
"0.58353865... | 0.5762271 | 22 |
simultaneously specify storage for all levels of a twodimensional or onedimensional array texture | func TexStorage2D(target uint32, levels int32, internalformat uint32, width int32, height int32) {
C.glowTexStorage2D(gpTexStorage2D, (C.GLenum)(target), (C.GLsizei)(levels), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func TexStorage2D(target uint32, levels int32, internalformat uint32, width int32, height int32) {\n C.glowTexStorage2D(gpTexStorage2D, (C.GLenum)(target), (C.GLsizei)(levels), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height))\n}",
"func TexStorage3D(target uint32, levels int32, internalforma... | [
"0.65776384",
"0.6278009",
"0.62318534",
"0.6193223",
"0.6141736",
"0.60825574",
"0.60825574",
"0.6038832",
"0.60092634",
"0.5945297",
"0.5945297",
"0.59415907",
"0.5909957",
"0.59038913",
"0.58585167",
"0.58585167",
"0.58515716",
"0.57893974",
"0.57893974",
"0.57864505",
"0.... | 0.6110569 | 6 |
specify storage for a twodimensional multisample texture | func TexStorage2DMultisample(target uint32, samples int32, internalformat uint32, width int32, height int32, fixedsamplelocations bool) {
C.glowTexStorage2DMultisample(gpTexStorage2DMultisample, (C.GLenum)(target), (C.GLsizei)(samples), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLboolean)(boolToInt(fixedsamplelocations)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func TextureStorage2DMultisample(texture uint32, samples int32, internalformat uint32, width int32, height int32, fixedsamplelocations bool) {\n\tsyscall.Syscall6(gpTextureStorage2DMultisample, 6, uintptr(texture), uintptr(samples), uintptr(internalformat), uintptr(width), uintptr(height), boolToUintptr(fixedsampl... | [
"0.7120261",
"0.7107945",
"0.7027544",
"0.7027544",
"0.688155",
"0.678472",
"0.6781341",
"0.66833496",
"0.6669362",
"0.6669362",
"0.665484",
"0.659543",
"0.6554903",
"0.653559",
"0.653559",
"0.64936674",
"0.6490389",
"0.64669263",
"0.64669263",
"0.63843006",
"0.63843006",
"... | 0.66715014 | 9 |
simultaneously specify storage for all levels of a threedimensional, twodimensional array or cubemap array texture | func TexStorage3D(target uint32, levels int32, internalformat uint32, width int32, height int32, depth int32) {
C.glowTexStorage3D(gpTexStorage3D, (C.GLenum)(target), (C.GLsizei)(levels), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func TexStorage3D(target uint32, levels int32, internalformat uint32, width int32, height int32, depth int32) {\n C.glowTexStorage3D(gpTexStorage3D, (C.GLenum)(target), (C.GLsizei)(levels), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth))\n}",
"func TexStorage2D(target ui... | [
"0.66350985",
"0.64861655",
"0.63874346",
"0.6194319",
"0.6167928",
"0.61138237",
"0.61138237",
"0.608281",
"0.6069372",
"0.6069372",
"0.6054328",
"0.6054328",
"0.6012813",
"0.5966383",
"0.5966383",
"0.59648466",
"0.59648466",
"0.5936023",
"0.58939016",
"0.5808736",
"0.565523... | 0.613428 | 6 |
specify storage for a twodimensional multisample array texture | func TexStorage3DMultisample(target uint32, samples int32, internalformat uint32, width int32, height int32, depth int32, fixedsamplelocations bool) {
C.glowTexStorage3DMultisample(gpTexStorage3DMultisample, (C.GLenum)(target), (C.GLsizei)(samples), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLboolean)(boolToInt(fixedsamplelocations)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func TextureStorage2DMultisample(texture uint32, samples int32, internalformat uint32, width int32, height int32, fixedsamplelocations bool) {\n\tsyscall.Syscall6(gpTextureStorage2DMultisample, 6, uintptr(texture), uintptr(samples), uintptr(internalformat), uintptr(width), uintptr(height), boolToUintptr(fixedsampl... | [
"0.6958995",
"0.69396913",
"0.6876651",
"0.6876651",
"0.68010634",
"0.6675414",
"0.66385174",
"0.66385174",
"0.6611011",
"0.65757585",
"0.65544504",
"0.6541622",
"0.6515064",
"0.65053016",
"0.65053016",
"0.64466196",
"0.6441859",
"0.6441859",
"0.6334862",
"0.63212025",
"0.626... | 0.6422637 | 19 |
specify a onedimensional texture subimage | func TexSubImage1D(target uint32, level int32, xoffset int32, width int32, format uint32, xtype uint32, pixels unsafe.Pointer) {
C.glowTexSubImage1D(gpTexSubImage1D, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLsizei)(width), (C.GLenum)(format), (C.GLenum)(xtype), pixels)
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (tex Texture) Sub(ctx gl.Context, lvl int, width int, height int, data []byte) {\n\tctx.TexSubImage2D(gl.TEXTURE_2D, lvl, 0, 0, width, height, gl.RGBA, gl.UNSIGNED_BYTE, data)\n\tif lvl > 0 {\n\t\tctx.GenerateMipmap(gl.TEXTURE_2D)\n\t}\n}",
"func TextureSubImage2D(texture uint32, level int32, xoffset int32,... | [
"0.6849117",
"0.6805371",
"0.67690927",
"0.6667373",
"0.6667373",
"0.6655032",
"0.6655032",
"0.66407305",
"0.6591775",
"0.6591775",
"0.6556737",
"0.65274084",
"0.64174885",
"0.64146405",
"0.6409768",
"0.6409768",
"0.63806546",
"0.63806546",
"0.63385385",
"0.631576",
"0.631576... | 0.6149757 | 29 |
specify a twodimensional texture subimage | func TexSubImage2D(target uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, xtype uint32, pixels unsafe.Pointer) {
C.glowTexSubImage2D(gpTexSubImage2D, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLenum)(format), (C.GLenum)(xtype), pixels)
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func TextureSubImage2D(texture uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, xtype uint32, pixels unsafe.Pointer) {\n\tsyscall.Syscall9(gpTextureSubImage2D, 9, uintptr(texture), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(width), uintptr(height), uintp... | [
"0.7449629",
"0.7327818",
"0.7327818",
"0.71222657",
"0.71222657",
"0.71038663",
"0.70518786",
"0.7017891",
"0.7017891",
"0.7000812",
"0.6994868",
"0.6917792",
"0.6912913",
"0.68344927",
"0.67598456",
"0.66982776",
"0.66733",
"0.66733",
"0.6654625",
"0.6654625",
"0.66489625",... | 0.694903 | 12 |
specify a threedimensional texture subimage | func TexSubImage3D(target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, xtype uint32, pixels unsafe.Pointer) {
C.glowTexSubImage3D(gpTexSubImage3D, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(zoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLenum)(format), (C.GLenum)(xtype), pixels)
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func TextureSubImage2D(texture uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, xtype uint32, pixels unsafe.Pointer) {\n\tsyscall.Syscall9(gpTextureSubImage2D, 9, uintptr(texture), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(width), uintptr(height), uintp... | [
"0.6947256",
"0.69261074",
"0.68723303",
"0.68723303",
"0.68711805",
"0.68711805",
"0.6811806",
"0.6811806",
"0.6779053",
"0.67704505",
"0.6683558",
"0.6683558",
"0.66611964",
"0.6657282",
"0.6657282",
"0.66469866",
"0.6622561",
"0.65525985",
"0.6548776",
"0.6548776",
"0.6543... | 0.65033925 | 23 |
controls the ordering of reads and writes to rendered fragments across drawing commands | func TextureBarrier() {
C.glowTextureBarrier(gpTextureBarrier)
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (sh *ShaderStd) PostRender() error { return nil }",
"func Draw(width, height int, delta float64) {\n\ttickAnimatedTextures(delta)\n\tframeID++\nsync:\n\tfor {\n\t\tselect {\n\t\tcase f := <-syncChan:\n\t\t\tf()\n\t\tdefault:\n\t\t\tbreak sync\n\t\t}\n\t}\n\n\t// Only update the viewport if the window was re... | [
"0.5485089",
"0.53222233",
"0.5277024",
"0.5239806",
"0.5203008",
"0.51429015",
"0.5088557",
"0.5018274",
"0.490596",
"0.48894998",
"0.48539975",
"0.48507068",
"0.4827736",
"0.48180738",
"0.48137724",
"0.48132282",
"0.4787675",
"0.47756463",
"0.47733226",
"0.47661132",
"0.476... | 0.0 | -1 |
attach a buffer object's data store to a buffer texture object | func TextureBuffer(texture uint32, internalformat uint32, buffer uint32) {
C.glowTextureBuffer(gpTextureBuffer, (C.GLuint)(texture), (C.GLenum)(internalformat), (C.GLuint)(buffer))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func TextureBuffer(texture uint32, internalformat uint32, buffer uint32) {\n\tsyscall.Syscall(gpTextureBuffer, 3, uintptr(texture), uintptr(internalformat), uintptr(buffer))\n}",
"func TexBuffer(target uint32, internalformat uint32, buffer uint32) {\n C.glowTexBuffer(gpTexBuffer, (C.GLenum)(target), (C.GLenum)(... | [
"0.65713114",
"0.6301587",
"0.62823206",
"0.62493527",
"0.61558366",
"0.6096861",
"0.6048709",
"0.6048709",
"0.6037888",
"0.60320127",
"0.5992485",
"0.59355056",
"0.5861404",
"0.5857703",
"0.585549",
"0.5831203",
"0.580782",
"0.58036363",
"0.57672685",
"0.5754324",
"0.5754324... | 0.60471433 | 9 |
attach a range of a buffer object's data store to a buffer texture object | func TextureBufferRange(texture uint32, internalformat uint32, buffer uint32, offset int, size int) {
C.glowTextureBufferRange(gpTextureBufferRange, (C.GLuint)(texture), (C.GLenum)(internalformat), (C.GLuint)(buffer), (C.GLintptr)(offset), (C.GLsizeiptr)(size))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func TextureBufferRange(texture uint32, internalformat uint32, buffer uint32, offset int, size int) {\n\tsyscall.Syscall6(gpTextureBufferRange, 5, uintptr(texture), uintptr(internalformat), uintptr(buffer), uintptr(offset), uintptr(size), 0)\n}",
"func TexBufferRange(target uint32, internalformat uint32, buffer ... | [
"0.71557915",
"0.69899017",
"0.6807765",
"0.67981076",
"0.67315185",
"0.67315185",
"0.6444133",
"0.6444133",
"0.626128",
"0.6252712",
"0.6196802",
"0.60945904",
"0.60910076",
"0.6084522",
"0.60710937",
"0.605441",
"0.6011166",
"0.59619427",
"0.58632314",
"0.5860921",
"0.58609... | 0.6781472 | 5 |
simultaneously specify storage for all levels of a onedimensional texture | func TextureStorage1D(texture uint32, levels int32, internalformat uint32, width int32) {
C.glowTextureStorage1D(gpTextureStorage1D, (C.GLuint)(texture), (C.GLsizei)(levels), (C.GLenum)(internalformat), (C.GLsizei)(width))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func TexStorage2D(target uint32, levels int32, internalformat uint32, width int32, height int32) {\n C.glowTexStorage2D(gpTexStorage2D, (C.GLenum)(target), (C.GLsizei)(levels), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height))\n}",
"func TexStorage3D(target uint32, levels int32, internalforma... | [
"0.6481912",
"0.6434418",
"0.63266677",
"0.63188255",
"0.6160439",
"0.6114599",
"0.6007019",
"0.5983739",
"0.5983739",
"0.5954445",
"0.59472793",
"0.59472793",
"0.5906241",
"0.5906241",
"0.58520925",
"0.584384",
"0.5837907",
"0.58353865",
"0.58353865",
"0.5762271",
"0.5762271... | 0.6060151 | 7 |
simultaneously specify storage for all levels of a twodimensional or onedimensional array texture | func TextureStorage2D(texture uint32, levels int32, internalformat uint32, width int32, height int32) {
C.glowTextureStorage2D(gpTextureStorage2D, (C.GLuint)(texture), (C.GLsizei)(levels), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func TexStorage2D(target uint32, levels int32, internalformat uint32, width int32, height int32) {\n C.glowTexStorage2D(gpTexStorage2D, (C.GLenum)(target), (C.GLsizei)(levels), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height))\n}",
"func TexStorage3D(target uint32, levels int32, internalforma... | [
"0.65786964",
"0.6279857",
"0.6233576",
"0.61938465",
"0.61427706",
"0.61113095",
"0.61113095",
"0.60394007",
"0.6010009",
"0.5946486",
"0.5946486",
"0.59404075",
"0.5910071",
"0.5905209",
"0.5858813",
"0.5858813",
"0.58514065",
"0.57908326",
"0.57908326",
"0.5786706",
"0.578... | 0.60832965 | 8 |
specify storage for a twodimensional multisample texture | func TextureStorage2DMultisample(texture uint32, samples int32, internalformat uint32, width int32, height int32, fixedsamplelocations bool) {
C.glowTextureStorage2DMultisample(gpTextureStorage2DMultisample, (C.GLuint)(texture), (C.GLsizei)(samples), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLboolean)(boolToInt(fixedsamplelocations)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func TextureStorage2DMultisample(texture uint32, samples int32, internalformat uint32, width int32, height int32, fixedsamplelocations bool) {\n\tsyscall.Syscall6(gpTextureStorage2DMultisample, 6, uintptr(texture), uintptr(samples), uintptr(internalformat), uintptr(width), uintptr(height), boolToUintptr(fixedsampl... | [
"0.7118668",
"0.7107076",
"0.6880249",
"0.67835176",
"0.67802685",
"0.66814154",
"0.66703206",
"0.66703206",
"0.666826",
"0.666826",
"0.66538864",
"0.659427",
"0.65525776",
"0.6534803",
"0.6534803",
"0.64927393",
"0.64897984",
"0.6466062",
"0.6466062",
"0.6383763",
"0.6383763... | 0.7026041 | 3 |
simultaneously specify storage for all levels of a threedimensional, twodimensional array or cubemap array texture | func TextureStorage3D(texture uint32, levels int32, internalformat uint32, width int32, height int32, depth int32) {
C.glowTextureStorage3D(gpTextureStorage3D, (C.GLuint)(texture), (C.GLsizei)(levels), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func TexStorage3D(target uint32, levels int32, internalformat uint32, width int32, height int32, depth int32) {\n C.glowTexStorage3D(gpTexStorage3D, (C.GLenum)(target), (C.GLsizei)(levels), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth))\n}",
"func TexStorage2D(target ui... | [
"0.6635198",
"0.6486707",
"0.63876593",
"0.6194941",
"0.6168341",
"0.6134",
"0.6134",
"0.60824764",
"0.60698664",
"0.60698664",
"0.6054396",
"0.6054396",
"0.6013693",
"0.5967025",
"0.5967025",
"0.59647155",
"0.59647155",
"0.5936097",
"0.58936864",
"0.5809921",
"0.5656006",
... | 0.6114037 | 8 |
specify storage for a twodimensional multisample array texture | func TextureStorage3DMultisample(texture uint32, samples int32, internalformat uint32, width int32, height int32, depth int32, fixedsamplelocations bool) {
C.glowTextureStorage3DMultisample(gpTextureStorage3DMultisample, (C.GLuint)(texture), (C.GLsizei)(samples), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLboolean)(boolToInt(fixedsamplelocations)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func TextureStorage2DMultisample(texture uint32, samples int32, internalformat uint32, width int32, height int32, fixedsamplelocations bool) {\n\tsyscall.Syscall6(gpTextureStorage2DMultisample, 6, uintptr(texture), uintptr(samples), uintptr(internalformat), uintptr(width), uintptr(height), boolToUintptr(fixedsampl... | [
"0.6958995",
"0.69396913",
"0.6876651",
"0.6876651",
"0.68010634",
"0.6675414",
"0.66385174",
"0.66385174",
"0.6611011",
"0.65757585",
"0.65544504",
"0.6541622",
"0.6515064",
"0.64466196",
"0.6441859",
"0.6441859",
"0.6422637",
"0.6422637",
"0.6334862",
"0.63212025",
"0.62631... | 0.65053016 | 14 |
specify a onedimensional texture subimage | func TextureSubImage1D(texture uint32, level int32, xoffset int32, width int32, format uint32, xtype uint32, pixels unsafe.Pointer) {
C.glowTextureSubImage1D(gpTextureSubImage1D, (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(xoffset), (C.GLsizei)(width), (C.GLenum)(format), (C.GLenum)(xtype), pixels)
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (tex Texture) Sub(ctx gl.Context, lvl int, width int, height int, data []byte) {\n\tctx.TexSubImage2D(gl.TEXTURE_2D, lvl, 0, 0, width, height, gl.RGBA, gl.UNSIGNED_BYTE, data)\n\tif lvl > 0 {\n\t\tctx.GenerateMipmap(gl.TEXTURE_2D)\n\t}\n}",
"func TextureSubImage2D(texture uint32, level int32, xoffset int32,... | [
"0.6848586",
"0.68042946",
"0.6769025",
"0.66662157",
"0.66662157",
"0.66554165",
"0.66554165",
"0.66410613",
"0.6556018",
"0.6528938",
"0.6416173",
"0.6414878",
"0.6411202",
"0.6411202",
"0.6379526",
"0.6379526",
"0.6337429",
"0.6315307",
"0.6315307",
"0.62667584",
"0.626675... | 0.6591515 | 9 |
specify a twodimensional texture subimage | func TextureSubImage2D(texture uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, xtype uint32, pixels unsafe.Pointer) {
C.glowTextureSubImage2D(gpTextureSubImage2D, (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLenum)(format), (C.GLenum)(xtype), pixels)
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func TextureSubImage2D(texture uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, xtype uint32, pixels unsafe.Pointer) {\n\tsyscall.Syscall9(gpTextureSubImage2D, 9, uintptr(texture), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(width), uintptr(height), uintp... | [
"0.74493104",
"0.71226686",
"0.71226686",
"0.71042997",
"0.7051337",
"0.7017677",
"0.7017677",
"0.6999615",
"0.6993878",
"0.69483685",
"0.69483685",
"0.69175017",
"0.6912419",
"0.6832872",
"0.67588323",
"0.6697545",
"0.66721773",
"0.66721773",
"0.66528285",
"0.66528285",
"0.6... | 0.73273915 | 2 |
specify a threedimensional texture subimage | func TextureSubImage3D(texture uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, xtype uint32, pixels unsafe.Pointer) {
C.glowTextureSubImage3D(gpTextureSubImage3D, (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(zoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLenum)(format), (C.GLenum)(xtype), pixels)
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func TextureSubImage2D(texture uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, xtype uint32, pixels unsafe.Pointer) {\n\tsyscall.Syscall9(gpTextureSubImage2D, 9, uintptr(texture), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(width), uintptr(height), uintp... | [
"0.6947256",
"0.69261074",
"0.68723303",
"0.68723303",
"0.6811806",
"0.6811806",
"0.6779053",
"0.67704505",
"0.6683558",
"0.6683558",
"0.66611964",
"0.6657282",
"0.6657282",
"0.66469866",
"0.6622561",
"0.65525985",
"0.6548776",
"0.6548776",
"0.6543036",
"0.6543036",
"0.650339... | 0.68711805 | 5 |
initialize a texture as a data alias of another texture's data store | func TextureView(texture uint32, target uint32, origtexture uint32, internalformat uint32, minlevel uint32, numlevels uint32, minlayer uint32, numlayers uint32) {
C.glowTextureView(gpTextureView, (C.GLuint)(texture), (C.GLenum)(target), (C.GLuint)(origtexture), (C.GLenum)(internalformat), (C.GLuint)(minlevel), (C.GLuint)(numlevels), (C.GLuint)(minlayer), (C.GLuint)(numlayers))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (self *TileSprite) SetTextureA(member *Texture) {\n self.Object.Set(\"texture\", member)\n}",
"func (tx *TextureFile) Init(sc *Scene) error {\n\tif tx.Tex != nil {\n\t\ttx.Tex.SetBotZero(tx.Bot0)\n\t\ttx.Tex.Activate(0)\n\t\treturn nil\n\t}\n\tif tx.File == \"\" {\n\t\terr := fmt.Errorf(\"gi3d.Texture: %... | [
"0.5935286",
"0.56745994",
"0.5483037",
"0.54774165",
"0.54635316",
"0.5458661",
"0.5458422",
"0.5387212",
"0.53472465",
"0.533445",
"0.52744955",
"0.52696097",
"0.52219105",
"0.5214841",
"0.52070904",
"0.5201899",
"0.5182364",
"0.5160694",
"0.51271373",
"0.5123956",
"0.51216... | 0.0 | -1 |
bind a buffer object to a transform feedback buffer object | func TransformFeedbackBufferBase(xfb uint32, index uint32, buffer uint32) {
C.glowTransformFeedbackBufferBase(gpTransformFeedbackBufferBase, (C.GLuint)(xfb), (C.GLuint)(index), (C.GLuint)(buffer))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func TransformFeedbackBufferBase(xfb uint32, index uint32, buffer uint32) {\n\tsyscall.Syscall(gpTransformFeedbackBufferBase, 3, uintptr(xfb), uintptr(index), uintptr(buffer))\n}",
"func (Operators) Buffer(notifier Observable) OperatorFunc {\n\treturn func(source Observable) Observable {\n\t\top := bufferOperato... | [
"0.63341165",
"0.6284247",
"0.6230228",
"0.6194053",
"0.6120655",
"0.6088125",
"0.6043801",
"0.5981593",
"0.59690523",
"0.5876163",
"0.58376616",
"0.5762315",
"0.5762315",
"0.5744878",
"0.5735758",
"0.57199043",
"0.5709579",
"0.56797165",
"0.56779623",
"0.5672772",
"0.5672231... | 0.6089599 | 6 |
bind a range within a buffer object to a transform feedback buffer object | func TransformFeedbackBufferRange(xfb uint32, index uint32, buffer uint32, offset int, size int) {
C.glowTransformFeedbackBufferRange(gpTransformFeedbackBufferRange, (C.GLuint)(xfb), (C.GLuint)(index), (C.GLuint)(buffer), (C.GLintptr)(offset), (C.GLsizeiptr)(size))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func TransformFeedbackBufferRange(xfb uint32, index uint32, buffer uint32, offset int, size int) {\n\tsyscall.Syscall6(gpTransformFeedbackBufferRange, 5, uintptr(xfb), uintptr(index), uintptr(buffer), uintptr(offset), uintptr(size), 0)\n}",
"func BindBufferRange(target uint32, index uint32, buffer uint32, offset... | [
"0.69992024",
"0.67348146",
"0.66460305",
"0.6574097",
"0.6491132",
"0.6491132",
"0.61209214",
"0.5996768",
"0.5992194",
"0.5964868",
"0.58563286",
"0.58563286",
"0.57990336",
"0.5792093",
"0.57180953",
"0.57175463",
"0.56841177",
"0.56051767",
"0.55944043",
"0.55944043",
"0.... | 0.65945554 | 4 |
specify values to record in transform feedback buffers | func TransformFeedbackVaryings(program uint32, count int32, varyings **uint8, bufferMode uint32) {
C.glowTransformFeedbackVaryings(gpTransformFeedbackVaryings, (C.GLuint)(program), (C.GLsizei)(count), (**C.GLchar)(unsafe.Pointer(varyings)), (C.GLenum)(bufferMode))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func TransformFeedbackVaryings(program uint32, count int32, varyings **int8, bufferMode uint32) {\n C.glowTransformFeedbackVaryings(gpTransformFeedbackVaryings, (C.GLuint)(program), (C.GLsizei)(count), (**C.GLchar)(unsafe.Pointer(varyings)), (C.GLenum)(bufferMode))\n}",
"func record(ctx context.Context, ms ...s... | [
"0.56836575",
"0.5500255",
"0.529375",
"0.5248762",
"0.5196125",
"0.51426053",
"0.5055565",
"0.49546474",
"0.48790947",
"0.48721343",
"0.48693502",
"0.4858225",
"0.48087314",
"0.48053527",
"0.48016986",
"0.48001975",
"0.47837102",
"0.4746477",
"0.47165903",
"0.46915597",
"0.4... | 0.5193352 | 6 |
Specify the value of a uniform variable for the current program object | func Uniform1f(location int32, v0 float32) {
C.glowUniform1f(gpUniform1f, (C.GLint)(location), (C.GLfloat)(v0))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func Uniform1ui(location int32, v0 uint32) {\n C.glowUniform1ui(gp... | [
"0.7574669",
"0.65830624",
"0.6486839",
"0.6450151",
"0.6415091",
"0.6369731",
"0.6354713",
"0.63287956",
"0.6303149",
"0.625209",
"0.6247739",
"0.62409264",
"0.6228146",
"0.62280524",
"0.6218001",
"0.6184524",
"0.6178961",
"0.6171075",
"0.61197543",
"0.6110173",
"0.6107993",... | 0.0 | -1 |
Specify the value of a uniform variable for the current program object | func Uniform1fv(location int32, count int32, value *float32) {
C.glowUniform1fv(gpUniform1fv, (C.GLint)(location), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(value)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func Uniform1ui(location int32, v0 uint32) {\n C.glowUniform1ui(gp... | [
"0.7574669",
"0.65830624",
"0.6486839",
"0.6450151",
"0.6415091",
"0.6369731",
"0.6354713",
"0.63287956",
"0.6303149",
"0.625209",
"0.6247739",
"0.62409264",
"0.6228146",
"0.62280524",
"0.6218001",
"0.6184524",
"0.6178961",
"0.6171075",
"0.61197543",
"0.6110173",
"0.6107993",... | 0.0 | -1 |
Specify the value of a uniform variable for the current program object | func Uniform1i(location int32, v0 int32) {
C.glowUniform1i(gpUniform1i, (C.GLint)(location), (C.GLint)(v0))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func Uniform1ui(location int32, v0 uint32) {\n C.glowUniform1ui(gp... | [
"0.75753504",
"0.65816534",
"0.6486437",
"0.6448379",
"0.6412938",
"0.63686436",
"0.6353555",
"0.63283783",
"0.6301342",
"0.62500095",
"0.6246228",
"0.623952",
"0.62270397",
"0.6226674",
"0.6215848",
"0.6184048",
"0.6178847",
"0.617014",
"0.61181873",
"0.61090964",
"0.6108105... | 0.5689898 | 74 |
Specify the value of a uniform variable for the current program object | func Uniform1iv(location int32, count int32, value *int32) {
C.glowUniform1iv(gpUniform1iv, (C.GLint)(location), (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(value)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func Uniform1ui(location int32, v0 uint32) {\n C.glowUniform1ui(gp... | [
"0.7574669",
"0.65830624",
"0.6486839",
"0.6450151",
"0.6415091",
"0.6369731",
"0.6354713",
"0.63287956",
"0.6303149",
"0.625209",
"0.6247739",
"0.62409264",
"0.6228146",
"0.62280524",
"0.6218001",
"0.6184524",
"0.6178961",
"0.6171075",
"0.61197543",
"0.6110173",
"0.6107993",... | 0.0 | -1 |
Specify the value of a uniform variable for the current program object | func Uniform1ui(location int32, v0 uint32) {
C.glowUniform1ui(gpUniform1ui, (C.GLint)(location), (C.GLuint)(v0))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func Uniform1ui(location int32, v0 uint32) {\n C.glowUniform1ui(gp... | [
"0.7574669",
"0.65830624",
"0.6486839",
"0.6450151",
"0.6415091",
"0.6369731",
"0.6354713",
"0.63287956",
"0.6303149",
"0.625209",
"0.6247739",
"0.62409264",
"0.6228146",
"0.62280524",
"0.6218001",
"0.6184524",
"0.6178961",
"0.6171075",
"0.61197543",
"0.6110173",
"0.6107993",... | 0.6084276 | 23 |
Specify the value of a uniform variable for the current program object | func Uniform1uiv(location int32, count int32, value *uint32) {
C.glowUniform1uiv(gpUniform1uiv, (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(value)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func Uniform1ui(location int32, v0 uint32) {\n C.glowUniform1ui(gp... | [
"0.7574669",
"0.65830624",
"0.6486839",
"0.6450151",
"0.6415091",
"0.6369731",
"0.6354713",
"0.63287956",
"0.6303149",
"0.625209",
"0.6247739",
"0.62409264",
"0.6228146",
"0.62280524",
"0.6218001",
"0.6184524",
"0.6178961",
"0.6171075",
"0.61197543",
"0.6110173",
"0.6107993",... | 0.5730884 | 66 |
Specify the value of a uniform variable for the current program object | func Uniform2f(location int32, v0 float32, v1 float32) {
C.glowUniform2f(gpUniform2f, (C.GLint)(location), (C.GLfloat)(v0), (C.GLfloat)(v1))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func Uniform1ui(location int32, v0 uint32) {\n C.glowUniform1ui(gp... | [
"0.75753504",
"0.65816534",
"0.6486437",
"0.6448379",
"0.6412938",
"0.63686436",
"0.6353555",
"0.63283783",
"0.6301342",
"0.62500095",
"0.6246228",
"0.623952",
"0.62270397",
"0.6226674",
"0.6215848",
"0.6184048",
"0.6178847",
"0.617014",
"0.61181873",
"0.61090964",
"0.6108105... | 0.0 | -1 |
Specify the value of a uniform variable for the current program object | func Uniform2fv(location int32, count int32, value *float32) {
C.glowUniform2fv(gpUniform2fv, (C.GLint)(location), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(value)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func Uniform1ui(location int32, v0 uint32) {\n C.glowUniform1ui(gp... | [
"0.7574669",
"0.65830624",
"0.6486839",
"0.6450151",
"0.6415091",
"0.6369731",
"0.6354713",
"0.63287956",
"0.6303149",
"0.625209",
"0.6247739",
"0.62409264",
"0.6228146",
"0.62280524",
"0.6218001",
"0.6184524",
"0.6178961",
"0.6171075",
"0.61197543",
"0.6110173",
"0.6107993",... | 0.0 | -1 |
Specify the value of a uniform variable for the current program object | func Uniform2i(location int32, v0 int32, v1 int32) {
C.glowUniform2i(gpUniform2i, (C.GLint)(location), (C.GLint)(v0), (C.GLint)(v1))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func Uniform1ui(location int32, v0 uint32) {\n C.glowUniform1ui(gp... | [
"0.7574669",
"0.65830624",
"0.6486839",
"0.6450151",
"0.6415091",
"0.6369731",
"0.6354713",
"0.63287956",
"0.6303149",
"0.625209",
"0.6247739",
"0.62409264",
"0.6228146",
"0.62280524",
"0.6218001",
"0.6184524",
"0.6178961",
"0.6171075",
"0.61197543",
"0.6110173",
"0.6107993",... | 0.0 | -1 |
Specify the value of a uniform variable for the current program object | func Uniform2iv(location int32, count int32, value *int32) {
C.glowUniform2iv(gpUniform2iv, (C.GLint)(location), (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(value)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func Uniform1ui(location int32, v0 uint32) {\n C.glowUniform1ui(gp... | [
"0.7574669",
"0.65830624",
"0.6486839",
"0.6450151",
"0.6415091",
"0.6369731",
"0.6354713",
"0.63287956",
"0.6303149",
"0.625209",
"0.6247739",
"0.62409264",
"0.6228146",
"0.62280524",
"0.6218001",
"0.6184524",
"0.6178961",
"0.6171075",
"0.61197543",
"0.6110173",
"0.6107993",... | 0.0 | -1 |
Specify the value of a uniform variable for the current program object | func Uniform2ui(location int32, v0 uint32, v1 uint32) {
C.glowUniform2ui(gpUniform2ui, (C.GLint)(location), (C.GLuint)(v0), (C.GLuint)(v1))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func Uniform1ui(location int32, v0 uint32) {\n C.glowUniform1ui(gp... | [
"0.75753504",
"0.65816534",
"0.6486437",
"0.6448379",
"0.6412938",
"0.63686436",
"0.6353555",
"0.63283783",
"0.6301342",
"0.62500095",
"0.6246228",
"0.623952",
"0.62270397",
"0.6226674",
"0.6215848",
"0.6184048",
"0.6178847",
"0.617014",
"0.61181873",
"0.61090964",
"0.6108105... | 0.0 | -1 |
Specify the value of a uniform variable for the current program object | func Uniform2uiv(location int32, count int32, value *uint32) {
C.glowUniform2uiv(gpUniform2uiv, (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(value)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func Uniform1ui(location int32, v0 uint32) {\n C.glowUniform1ui(gp... | [
"0.7574669",
"0.65830624",
"0.6486839",
"0.6450151",
"0.6415091",
"0.6369731",
"0.6354713",
"0.63287956",
"0.6303149",
"0.625209",
"0.6247739",
"0.62409264",
"0.6228146",
"0.62280524",
"0.6218001",
"0.6184524",
"0.6178961",
"0.6171075",
"0.61197543",
"0.6110173",
"0.6107993",... | 0.0 | -1 |
Specify the value of a uniform variable for the current program object | func Uniform3f(location int32, v0 float32, v1 float32, v2 float32) {
C.glowUniform3f(gpUniform3f, (C.GLint)(location), (C.GLfloat)(v0), (C.GLfloat)(v1), (C.GLfloat)(v2))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func Uniform1ui(location int32, v0 uint32) {\n C.glowUniform1ui(gp... | [
"0.7574669",
"0.65830624",
"0.6486839",
"0.6450151",
"0.6415091",
"0.6369731",
"0.6354713",
"0.63287956",
"0.6303149",
"0.625209",
"0.6247739",
"0.62409264",
"0.6228146",
"0.62280524",
"0.6218001",
"0.6184524",
"0.6178961",
"0.6171075",
"0.61197543",
"0.6110173",
"0.6107993",... | 0.0 | -1 |
Specify the value of a uniform variable for the current program object | func Uniform3fv(location int32, count int32, value *float32) {
C.glowUniform3fv(gpUniform3fv, (C.GLint)(location), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(value)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func Uniform1ui(location int32, v0 uint32) {\n C.glowUniform1ui(gp... | [
"0.7574669",
"0.65830624",
"0.6486839",
"0.6450151",
"0.6415091",
"0.6369731",
"0.6354713",
"0.63287956",
"0.6303149",
"0.625209",
"0.6247739",
"0.62409264",
"0.6228146",
"0.62280524",
"0.6218001",
"0.6184524",
"0.6178961",
"0.6171075",
"0.61197543",
"0.6110173",
"0.6107993",... | 0.0 | -1 |
Specify the value of a uniform variable for the current program object | func Uniform3i(location int32, v0 int32, v1 int32, v2 int32) {
C.glowUniform3i(gpUniform3i, (C.GLint)(location), (C.GLint)(v0), (C.GLint)(v1), (C.GLint)(v2))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func Uniform1ui(location int32, v0 uint32) {\n C.glowUniform1ui(gp... | [
"0.75753504",
"0.65816534",
"0.6486437",
"0.6448379",
"0.6412938",
"0.63686436",
"0.6353555",
"0.63283783",
"0.6301342",
"0.62500095",
"0.6246228",
"0.623952",
"0.62270397",
"0.6226674",
"0.6215848",
"0.6184048",
"0.6178847",
"0.617014",
"0.61181873",
"0.61090964",
"0.6108105... | 0.0 | -1 |
Specify the value of a uniform variable for the current program object | func Uniform3iv(location int32, count int32, value *int32) {
C.glowUniform3iv(gpUniform3iv, (C.GLint)(location), (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(value)))
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"func (s *Shader) setUniform(name string, value int32) {\n location:=gl.GetUniformLocation(s.idPrograma, gl.Str(name + \"\\x00\"))\n if location != -1 { // Si existe ese nombre de variable\n gl.Uniform1i(location, value)\n }\n}",
"func Uniform1ui(location int32, v0 uint32) {\n C.glowUniform1ui(gp... | [
"0.7574669",
"0.65830624",
"0.6486839",
"0.6450151",
"0.6415091",
"0.6369731",
"0.6354713",
"0.63287956",
"0.6303149",
"0.625209",
"0.6247739",
"0.62409264",
"0.6228146",
"0.62280524",
"0.6218001",
"0.6184524",
"0.6178961",
"0.6171075",
"0.61197543",
"0.6110173",
"0.6107993",... | 0.0 | -1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.