bool SDL_RenderGeometryRaw(SDL_Renderer *renderer, SDL_Texture *texture, const float *xy, int xy_stride, const SDL_FColor *color, int color_stride, const float *uv, int uv_stride, int num_vertices, const void *indices, int num_indices, int size_indices);
| SDL_Renderer * | renderer | レンダリングコンテキスト |
| SDL_Texture * | texture | (任意) 使用するテクスチャ |
| const float * | xy | 頂点の位置の配列 |
| int | xy_stride | 次の要素まで進めるべきバイト数 |
| const SDL_FColor * | color | 頂点の色の配列 |
| int | color_stride | 次の要素まで進めるべきバイト数 |
| const float * | uv | 正規化された頂点のテクスチャ座標の配列 |
| int | uv_stride | 次の要素まで進めるべきバイト数 |
| int | num_vertices | 頂点の数 |
| const void * | indices | (任意) 頂点の配列のインデックスの配列. NULLのとき頂点は配列の順にレンダリングされる |
| int | num_indices | インデックスの数 |
| int | size_indices | インデックスのサイズ: 1 (byte), 2 (short), 4 (int) |
(bool) 成功のとき真, 失敗のとき偽を戻す. SDL_GetError()を呼んで詳細を知ることができる.
この関数を呼べるのはメインスレッドのみである.