A
A
Anton Nadtoka2017-01-26 13:50:38
Android
Anton Nadtoka, 2017-01-26 13:50:38

Is it possible to load the texture in parts?

Is it possible to load the texture in parts?

void glTexImage2D(	GLenum target,
 	GLint level,
 	GLint internalFormat,
 	GLsizei width,
 	GLsizei height,
 	GLint border,
 	GLenum format,
 	GLenum type,
 	const GLvoid * data);

For example, for a 2048x2048 texture, you need about 16MB of memory for the buffer to allocate at once. Is it possible to select the 4th part and upload in portions?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
maaGames, 2017-01-26
@maaGames

This is called "four separate textures".

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question