mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-07-11 01:28:41 +12:00
PICA: Start implementing GPU vertex fetch
This commit is contained in:
parent
652b600884
commit
e13ef42b65
9 changed files with 117 additions and 8 deletions
19
include/PICA/draw_acceleration.hpp
Normal file
19
include/PICA/draw_acceleration.hpp
Normal file
|
@ -0,0 +1,19 @@
|
|||
#pragma once
|
||||
|
||||
#include <array>
|
||||
|
||||
#include "helpers.hpp"
|
||||
|
||||
namespace PICA {
|
||||
struct DrawAcceleration {
|
||||
u8* vertexBuffer;
|
||||
u8* indexBuffer;
|
||||
|
||||
// Minimum and maximum index in the index buffer for a draw call
|
||||
u16 minimumIndex, maximumIndex;
|
||||
u32 vertexDataSize;
|
||||
|
||||
bool canBeAccelerated;
|
||||
bool indexed;
|
||||
};
|
||||
} // namespace PICA
|
Loading…
Add table
Add a link
Reference in a new issue