Cocos2d-x  v3.17
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
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...
 
var location
 The place where the uniform placed, starts from 0. More...
 
local location
 The place where the uniform placed, starts from 0. More...
 
GLint size
 Number of data type in attribute. More...
 
var size
 Number of data type in attribute. More...
 
local 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...
 
var name
 String of the uniform name. More...
 
local name
 String of the uniform name. More...
 

Detailed Description

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

Member Data Documentation

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 attribute.

var size

Number of data type in attribute.

local size

Number of data type in attribute.

GLenum type

Data type of the attribute.

var type

Data type of the attribute.

local type

Data type of the attribute.

std::string name

String of the uniform name.

var name

String of the uniform name.

local name

String of the uniform name.


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