Project import generated by Copybara.
GitOrigin-RevId: f4b1fe3f15810450fb6539e733f6a260d3ee082c
This commit is contained in:
@@ -38,6 +38,17 @@ extern const GLchar* const kBasicVertexShader;
|
||||
// vec2 sample_coordinate - texture coordinate for shader
|
||||
extern const GLchar* const kScaledVertexShader;
|
||||
|
||||
// Applies an affine transformation to the vertex and leaves texture coordinates
|
||||
// as is. Input attributes:
|
||||
// vec4 position - vertex position
|
||||
// vec4 texture_coordinate - texture coordinate
|
||||
// Input uniform:
|
||||
// mat3 homogeneous affine transform - transformation matrix for vertices
|
||||
// vec2 viewport_size - size of the viewport
|
||||
// Output varying:
|
||||
// vec2 sample_coordinate - texture coordinate for shader
|
||||
extern const GLchar* const kTransformedVertexShader;
|
||||
|
||||
// Outputs the texture as it is.
|
||||
// Input varying:
|
||||
// vec2 sample_coordinate - texture coordinate
|
||||
|
||||
Reference in New Issue
Block a user