My Project: openb3dlib.mod/openb3d/src/material.cpp File Reference

My Project

Enumerations | Functions
material.cpp File Reference
`#include <iostream>`
`#include <string>`
`#include "glew.h"`
`#include "surface.h"`
`#include "camera.h"`
`#include "shadermat.h"`
`#include "file.h"`
`#include "global.h"`
`#include "stb_image.h"`

## Enumerations

enum

{
USE_FLOAT_1, USE_FLOAT_2, USE_FLOAT_3, USE_FLOAT_4,
USE_INTEGER_1, USE_INTEGER_2, USE_INTEGER_3, USE_INTEGER_4,
USE_ENTITY_COORDS, USE_SURFACE, USE_MODEL_MATRIX, USE_VIEW_MATRIX,
USE_PROJ_MATRIX, USE_MODELVIEW_MATRIX
}

## Functions

void | CopyPixels (unsigned char *src, unsigned int srcWidth, unsigned int srcHeight, unsigned int srcX, unsigned int srcY, unsigned char *dst, unsigned int dstWidth, unsigned int dstHeight, unsigned int bytesPerPixel)

## Enumeration Type Documentation

## § anonymous enum

anonymous enum

Enumerator
USE_FLOAT_1 |
USE_FLOAT_2 |
USE_FLOAT_3 |
USE_FLOAT_4 |
USE_INTEGER_1 |
USE_INTEGER_2 |
USE_INTEGER_3 |
USE_INTEGER_4 |
USE_ENTITY_COORDS |
USE_SURFACE |
USE_MODEL_MATRIX |
USE_VIEW_MATRIX |
USE_PROJ_MATRIX |
USE_MODELVIEW_MATRIX |

## Function Documentation

## § CopyPixels()

void CopyPixels | ( | unsigned char * | src,
|  | unsigned int | srcWidth,
|  | unsigned int | srcHeight,
|  | unsigned int | srcX,
|  | unsigned int | srcY,
|  | unsigned char * | dst,
|  | unsigned int | dstWidth,
|  | unsigned int | dstHeight,
|  | unsigned int | bytesPerPixel
| ) |  |