Cocos2d-x  v3.15
Uniform Struct Reference

Uniform is a structure to encapsulate data got from glGetActiveUniform and glGetUniformLocation. More...

Public Attributes

GLint location
 The place where the uniform placed, starts from 0. More...
 
GLint size
 Number of data type in attribute. More...
 
GLenum type
 Data type of the attribute. More...
 
std::string name
 String of the uniform name. More...
 

Detailed Description

Uniform is a structure to encapsulate data got from glGetActiveUniform and glGetUniformLocation.

Member Data Documentation

◆ location

GLint location

The place where the uniform placed, starts from 0.

◆ size

GLint size

Number of data type in attribute.

◆ type

GLenum type

Data type of the attribute.

◆ name

std::string name

String of the uniform name.


The documentation for this struct was generated from the following file: