Cocos2d-x  v3.10
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups
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.
 
var location
 The place where the uniform placed, starts from 0.
 
local location
 The place where the uniform placed, starts from 0.
 
GLint size
 Number of data type in Uniform.
 
var size
 Number of data type in Uniform.
 
local size
 Number of data type in Uniform.
 
GLenum type
 Data type of the Uniform.
 
var type
 Data type of the Uniform.
 
local type
 Data type of the Uniform.
 
std::string name
 String of the uniform name.
 
var name
 String of the uniform name.
 
local name
 String of the uniform name.
 

Detailed Description

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


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