示例#1
0
GLuint CreateNoise3D()
{
    GLuint handle;
    glGenTextures(1, &handle);
    glBindTexture(GL_TEXTURE_3D, handle);
    make3DNoiseTexture();
    init3DNoiseTexture(Noise3DTexSize, Noise3DTexPtr);
    return handle;
}
void CreateNoise3D()
{
	make3DNoiseTexture();
	init3DNoiseTexture(Noise3DTexSize, Noise3DTexPtr);
}