LNXSDK/Kha/Kinc/Sources/kinc/graphics4/rendertarget.c.h

11 lines
708 B
C
Raw Normal View History

2025-01-22 16:18:30 +01:00
#include "rendertarget.h"
void kinc_g4_render_target_init(kinc_g4_render_target_t *renderTarget, int width, int height, kinc_g4_render_target_format_t format, int depthBufferBits,
int stencilBufferBits) {
kinc_g4_render_target_init_with_multisampling(renderTarget, width, height, format, depthBufferBits, stencilBufferBits, 1);
}
void kinc_g4_render_target_init_cube(kinc_g4_render_target_t *renderTarget, int cubeMapSize, kinc_g4_render_target_format_t format, int depthBufferBits,
int stencilBufferBits) {
kinc_g4_render_target_init_cube_with_multisampling(renderTarget, cubeMapSize, format, depthBufferBits, stencilBufferBits, 1);
}