public interface GpuContext
| Modifier and Type | Method and Description |
|---|---|
int |
bindStagingBuffer(StagingBuffer stagingBuffer) |
int |
bindStagingBufferId(int id) |
int |
bindTexture(Texture texture) |
void |
bindTexture(Texture texture,
int unit) |
int |
bindTextureId(int id,
int numTexDimensions) |
void |
delete(Texture texture) |
SetUniforms |
getUniformSetter(Shader shader) |
Buffer |
map(StagingBuffer stagingBuffer) |
void |
texSubImage3D(StagingBuffer stagingBuffer,
Texture3D texture,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
long pixels_buffer_offset) |
void |
texSubImage3D(Texture3D texture,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
Buffer pixels) |
void |
unmap(StagingBuffer stagingBuffer) |
void |
use(Shader shader) |
void use(Shader shader)
SetUniforms getUniformSetter(Shader shader)
int bindStagingBuffer(StagingBuffer stagingBuffer)
stagingBuffer - staging buffer to bindint bindStagingBufferId(int id)
id - staging buffer id to bindint bindTexture(Texture texture)
texture - texture to bindvoid bindTexture(Texture texture, int unit)
texture - texture to bindunit - texture unit to bind toint bindTextureId(int id,
int numTexDimensions)
id - texture id to bindnumTexDimensions - texture target: 1, 2, or 3Buffer map(StagingBuffer stagingBuffer)
void unmap(StagingBuffer stagingBuffer)
void delete(Texture texture)
void texSubImage3D(StagingBuffer stagingBuffer, Texture3D texture, int xoffset, int yoffset, int zoffset, int width, int height, int depth, long pixels_buffer_offset)
Copyright © 2018–2025 BigDataViewer. All rights reserved.