add missing method handlers on Windows and use 32bit depth buffer for render target by default

This commit is contained in:
Nick Fisher
2023-09-28 10:46:20 +10:00
parent d502450f9e
commit fd843147ad
7 changed files with 19 additions and 14 deletions

View File

@@ -75,6 +75,7 @@ namespace polyvox {
bool setCamera(EntityId asset, const char* nodeName);
void createSwapChain(const void* surface, uint32_t width, uint32_t height);
void destroySwapChain();
@@ -87,7 +88,7 @@ namespace polyvox {
void clearBackgroundImage();
void setBackgroundImagePosition(float x, float y, bool clamp);
void moveCameraToAsset(EntityId entityId);
void setViewFrustumCulling(bool enabled);
void setCameraExposure(float aperture, float shutterSpeed, float sensitivity);
void setCameraPosition(float x, float y, float z);
void setCameraRotation(float rads, float x, float y, float z);