You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
99 lines
2.6 KiB
99 lines
2.6 KiB
Content-Type: text/x-zim-wiki
|
|
Wiki-Format: zim 0.4
|
|
Creation-Date: 2020-02-03T22:11:42-08:00
|
|
|
|
====== Home ======
|
|
|
|
[[~/source/Trac3r-rust/doc/sfml_rust/index.html|Documentation Root]]
|
|
|
|
Main Systems:
|
|
[[~/source/Trac3r-rust/doc/sfml_rust/sprite/index.html|Spri]][[~/source/Trac3r-rust/doc/sfml_rust/sprite/index.html|te]]
|
|
[[CanvasContainerClasses]]
|
|
|
|
Docs
|
|
[[VkProcessor]] [[~/source/Trac3r-rust/doc/sfml_rust/vkprocessor/struct.VkProcessor.html|===========]]
|
|
[[CanvasState]] [[~/source/Trac3r-rust/doc/sfml_rust/canvas/canvas_state/index.html|===========]]
|
|
[[DynamicVertex]]
|
|
[[CompuState]] [[~/source/Trac3r-rust/doc/sfml_rust/compute/compu_state/struct.CompuState.html|===========]]
|
|
|
|
|
|
--------------------
|
|
|
|
====== Warming Up ======
|
|
|
|
Currently I'm getting my bearings again on this project.
|
|
|
|
=== canvas ===
|
|
I made a maybe(?) good change to the heirarchy of the canvas. Hiding the construction of handles from anything outside.
|
|
|
|
Currently, canvas is separated out to the state container itself and one API class for users to interact with, in addition to a set of 'managed' objects
|
|
|
|
Buffers and Handles are at one level, shared with text which is unrelated.
|
|
Why do I hold the shader handles (CompiledShaderHandle)
|
|
|
|
In Shader lie the shader compilers, pipelines, and supporting data.
|
|
|
|
**Current Question:**
|
|
Where do I put the CompiledShaderHandles?
|
|
|
|
I need to put them where I create them. The actual shader doesn't.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
--------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
├── canvas
|
|
│ ├── canvas_frame.rs
|
|
│ ├── canvas_state.rs
|
|
│ ├── managed
|
|
│ │ ├── canvas_text.rs
|
|
│ │ ├── gpu_buffers.rs
|
|
│ │ ├── handles.rs
|
|
│ │ ├── mod.rs
|
|
│ │ └── shader
|
|
│ │ ├── dynamic_vertex.rs
|
|
│ │ ├── generic_shader.rs
|
|
│ │ ├── mod.rs
|
|
│ │ ├── shader_common.rs
|
|
│ │ └── text_shader.rs
|
|
│ └── mod.rs
|
|
├── compute
|
|
│ ├── compu_frame.rs
|
|
│ ├── compu_state.rs
|
|
│ ├── managed
|
|
│ │ ├── compu_buffer.rs
|
|
│ │ ├── compu_kernel.rs
|
|
│ │ ├── compu_sprite.rs
|
|
│ │ ├── handles.rs
|
|
│ │ └── mod.rs
|
|
│ └── mod.rs
|
|
├── main.rs
|
|
├── sprite.rs
|
|
├── util
|
|
│ ├── mod.rs
|
|
│ ├── timer.rs
|
|
│ ├── vertex_2d.rs
|
|
│ └── vertex_3d.rs
|
|
└── vkprocessor.rs
|
|
|
|
|
|
|