Draw Manager, GPUTexture: Add support for binding individual cubeface to framebuffer.
This commit is contained in:
@@ -51,6 +51,8 @@ void GPU_texture_bind_as_framebuffer(struct GPUTexture *tex);
|
||||
|
||||
GPUFrameBuffer *GPU_framebuffer_create(void);
|
||||
bool GPU_framebuffer_texture_attach(GPUFrameBuffer *fb, struct GPUTexture *tex, int slot, int mip);
|
||||
bool GPU_framebuffer_texture_cubeface_attach(
|
||||
GPUFrameBuffer *fb, struct GPUTexture *tex, int slot, int face, int mip);
|
||||
void GPU_framebuffer_texture_detach(struct GPUTexture *tex);
|
||||
void GPU_framebuffer_bind(GPUFrameBuffer *fb);
|
||||
void GPU_framebuffer_slots_bind(GPUFrameBuffer *fb, int slot);
|
||||
|
||||
Reference in New Issue
Block a user