blaze
|
Render targets. More...
Data Structures | |
struct | BLZ_RenderTarget |
Render target object. More... | |
Functions | |
BLZAPIENTRY int BLZAPICALL | BLZ_BindRenderTarget (struct BLZ_RenderTarget *target) |
Binds the specified render target for output. More... | |
BLZAPIENTRY struct BLZ_RenderTarget *BLZAPICALL | BLZ_CreateRenderTarget (int width, int height) |
Creates a RGBA render target using specified parameters. More... | |
BLZAPIENTRY int BLZAPICALL | BLZ_FreeRenderTarget (struct BLZ_RenderTarget *target) |
Destroys the specified render target. More... | |
Render targets.
Allows rendering to texture and using it later for some other purpose like post-processing effects.
BLZAPIENTRY int BLZAPICALL BLZ_BindRenderTarget | ( | struct BLZ_RenderTarget * | target | ) |
Binds the specified render target for output.
target | The render target to use, or NULL if we should draw to screen |
BLZAPIENTRY struct BLZ_RenderTarget* BLZAPICALL BLZ_CreateRenderTarget | ( | int | width, |
int | height | ||
) |
Creates a RGBA render target using specified parameters.
BLZAPIENTRY int BLZAPICALL BLZ_FreeRenderTarget | ( | struct BLZ_RenderTarget * | target | ) |
Destroys the specified render target.