Skip to content

Latest commit

 

History

History
95 lines (78 loc) · 1.18 KB

File metadata and controls

95 lines (78 loc) · 1.18 KB

texture2D

texture2D(sampler2D,vec2)

Parameters

sampler Type: sampler2D coord Type: vec2

Return Value

Type: vec4

JSON
{
  "Type": "texture2D(sampler2D,vec2)",
  "Name": "texture2D(sampler2D,vec2)",
  "Category": 1,
  "InputPins": [
    {
      "Connection": null,
      "Id": "sampler",
      "Type": "sampler2D"
    },
    {
      "Connection": null,
      "Id": "coord",
      "Type": "vec2"
    }
  ],
  "OutputPins": [
    {
      "Id": "",
      "Type": "vec4"
    }
  ]
}

texture2D(sampler2D,vec2,float)

Parameters

sampler Type: sampler2D coord Type: vec2 bias Type: float

Return Value

Type: vec4

JSON
{
  "Type": "texture2D(sampler2D,vec2,float)",
  "Name": "texture2D(sampler2D,vec2,float)",
  "Category": 1,
  "InputPins": [
    {
      "Connection": null,
      "Id": "sampler",
      "Type": "sampler2D"
    },
    {
      "Connection": null,
      "Id": "coord",
      "Type": "vec2"
    },
    {
      "Connection": null,
      "Id": "bias",
      "Type": "float"
    }
  ],
  "OutputPins": [
    {
      "Id": "",
      "Type": "vec4"
    }
  ]
}