![]() |
SLProject
4.3.020
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
|
Application struct WebGPUDemoApp with all global variables. More...
Public Attributes | |
| GLFWwindow * | window = nullptr |
| int | surfaceWidth = 0 |
| int | surfaceHeight = 0 |
| WGPUInstance | instance = nullptr |
| WGPUAdapter | adapter = nullptr |
| WGPUDevice | device = nullptr |
| WGPUQueue | queue = nullptr |
| WGPUSurface | surface = nullptr |
| WGPUBuffer | vertexBuffer = nullptr |
| WGPUBuffer | indexBuffer = nullptr |
| WGPUBuffer | uniformBuffer = nullptr |
| WGPUTexture | depthTexture = nullptr |
| WGPUTextureView | depthTextureView = nullptr |
| WGPUTexture | texture = nullptr |
| WGPUTextureView | textureView = nullptr |
| WGPUSampler | sampler = nullptr |
| WGPUShaderModule | shaderModule = nullptr |
| WGPUBindGroupLayout | bindGroupLayout = nullptr |
| WGPUBindGroup | bindGroup = nullptr |
| WGPUPipelineLayout | pipelineLayout = nullptr |
| WGPURenderPipeline | pipeline = nullptr |
| WGPUSurfaceConfiguration | surfaceConfig |
| WGPUTextureFormat | depthTextureFormat |
| WGPUTextureDescriptor | depthTextureDesc |
| WGPUTextureViewDescriptor | depthTextureViewDesc |
| unsigned | vertexDataSize |
| unsigned | indexCount |
| unsigned | indexDataSize |
| float | camRotX = 0.0f |
| float | camRotY = 0.0f |
| float | camZ = 2.0f |
Application struct WebGPUDemoApp with all global variables.
Definition at line 63 of file AppDemoWebGPU.cpp.
| WGPUAdapter WebGPUDemoApp::adapter = nullptr |
Definition at line 70 of file AppDemoWebGPU.cpp.
| WGPUBindGroup WebGPUDemoApp::bindGroup = nullptr |
Definition at line 84 of file AppDemoWebGPU.cpp.
| WGPUBindGroupLayout WebGPUDemoApp::bindGroupLayout = nullptr |
Definition at line 83 of file AppDemoWebGPU.cpp.
| float WebGPUDemoApp::camRotX = 0.0f |
Definition at line 97 of file AppDemoWebGPU.cpp.
| float WebGPUDemoApp::camRotY = 0.0f |
Definition at line 98 of file AppDemoWebGPU.cpp.
| float WebGPUDemoApp::camZ = 2.0f |
Definition at line 99 of file AppDemoWebGPU.cpp.
| WGPUTexture WebGPUDemoApp::depthTexture = nullptr |
Definition at line 77 of file AppDemoWebGPU.cpp.
| WGPUTextureDescriptor WebGPUDemoApp::depthTextureDesc |
Definition at line 90 of file AppDemoWebGPU.cpp.
| WGPUTextureFormat WebGPUDemoApp::depthTextureFormat |
Definition at line 89 of file AppDemoWebGPU.cpp.
| WGPUTextureView WebGPUDemoApp::depthTextureView = nullptr |
Definition at line 78 of file AppDemoWebGPU.cpp.
| WGPUTextureViewDescriptor WebGPUDemoApp::depthTextureViewDesc |
Definition at line 91 of file AppDemoWebGPU.cpp.
| WGPUDevice WebGPUDemoApp::device = nullptr |
Definition at line 71 of file AppDemoWebGPU.cpp.
| WGPUBuffer WebGPUDemoApp::indexBuffer = nullptr |
Definition at line 75 of file AppDemoWebGPU.cpp.
| unsigned WebGPUDemoApp::indexCount |
Definition at line 94 of file AppDemoWebGPU.cpp.
| unsigned WebGPUDemoApp::indexDataSize |
Definition at line 95 of file AppDemoWebGPU.cpp.
| WGPUInstance WebGPUDemoApp::instance = nullptr |
Definition at line 69 of file AppDemoWebGPU.cpp.
| WGPURenderPipeline WebGPUDemoApp::pipeline = nullptr |
Definition at line 86 of file AppDemoWebGPU.cpp.
| WGPUPipelineLayout WebGPUDemoApp::pipelineLayout = nullptr |
Definition at line 85 of file AppDemoWebGPU.cpp.
| WGPUQueue WebGPUDemoApp::queue = nullptr |
Definition at line 72 of file AppDemoWebGPU.cpp.
| WGPUSampler WebGPUDemoApp::sampler = nullptr |
Definition at line 81 of file AppDemoWebGPU.cpp.
| WGPUShaderModule WebGPUDemoApp::shaderModule = nullptr |
Definition at line 82 of file AppDemoWebGPU.cpp.
| WGPUSurface WebGPUDemoApp::surface = nullptr |
Definition at line 73 of file AppDemoWebGPU.cpp.
| WGPUSurfaceConfiguration WebGPUDemoApp::surfaceConfig |
Definition at line 88 of file AppDemoWebGPU.cpp.
| int WebGPUDemoApp::surfaceHeight = 0 |
Definition at line 67 of file AppDemoWebGPU.cpp.
| int WebGPUDemoApp::surfaceWidth = 0 |
Definition at line 66 of file AppDemoWebGPU.cpp.
| WGPUTexture WebGPUDemoApp::texture = nullptr |
Definition at line 79 of file AppDemoWebGPU.cpp.
| WGPUTextureView WebGPUDemoApp::textureView = nullptr |
Definition at line 80 of file AppDemoWebGPU.cpp.
| WGPUBuffer WebGPUDemoApp::uniformBuffer = nullptr |
Definition at line 76 of file AppDemoWebGPU.cpp.
| WGPUBuffer WebGPUDemoApp::vertexBuffer = nullptr |
Definition at line 74 of file AppDemoWebGPU.cpp.
| unsigned WebGPUDemoApp::vertexDataSize |
Definition at line 93 of file AppDemoWebGPU.cpp.
| GLFWwindow* WebGPUDemoApp::window = nullptr |
Definition at line 65 of file AppDemoWebGPU.cpp.