objective-gl ~master (2021-11-07T07:08:54.7393088)
Dub
Repo
Texture2D
objectivegl
core
OpenGL Texture2D Representation
final
class
Texture2D : Texture!GL_TEXTURE_2D {
static
auto
newEmpty
(int width, int height, PixelFormat format);
void
update
(int x, int y, int width, int height, const(ubyte)* pixels, PixelFormat format);
}
Members
Functions
update
void
update
(int x, int y, int width, int height, const(ubyte)* pixels, PixelFormat format)
Updates texture
Static functions
newEmpty
auto
newEmpty
(int width, int height, PixelFormat format)
Makes empty texture
Meta
Source
See Implementation
objectivegl
core
aliases
BlendFunc
classes
BlendFunctions
Buffer
GLDevice
ShaderProgram
Texture
Texture2D
UniformBuffer
UniformBufferFactory
VertexArray
enums
PixelFormat
ShaderType
structs
element
OpenGL Texture2D Representation