Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Korean translate #359

Open
wants to merge 49 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
5a4e2c2
kr translate, 00 and 01
diskhkme Sep 17, 2023
f2d96bd
kr translate 02 (except MacOS part)
diskhkme Sep 18, 2023
fff7580
kr translate 03-00-00 base code
diskhkme Sep 19, 2023
95c8ead
kr translate 03-00-01 instance
diskhkme Sep 19, 2023
603a24c
kr translate 03-00-02 validation layerr, backup
diskhkme Sep 27, 2023
a725ed0
kr translate 03-00-02 validation layer, finish
diskhkme Oct 12, 2023
5a8e529
kr translate 03-00-03 physical device
diskhkme Oct 12, 2023
806aa59
kr translate 03-00-04 logical device
diskhkme Oct 14, 2023
ad2d13f
kr translate 03-00-04 logical device, final
diskhkme Oct 14, 2023
dfdb3d2
kr translate update links of 03-00-02, 03
diskhkme Oct 14, 2023
c705993
kr translate 03-01-00 window surface
diskhkme Oct 14, 2023
a1e53f2
kr translate 03-01-01 swap chain
diskhkme Oct 15, 2023
7455fa4
kr translate 03-01-02 image view
diskhkme Oct 15, 2023
9fa6af7
kr translate 03-02-00 graphics pipeline, intro
diskhkme Oct 16, 2023
5b79abf
kr translate 03-02-01 shader modules
diskhkme Oct 17, 2023
a5d2faf
kr translate fixed mardown errors and links
diskhkme Oct 17, 2023
28d4c5c
kr translate 03-02-02 fixed functions
diskhkme Oct 18, 2023
fc35393
kr translate 03-02-03 render passes
diskhkme Oct 19, 2023
a0e18f4
kr translate 03-02-03 pipeline, conclusion
diskhkme Oct 19, 2023
8a05a13
kr translate 03-03-00 framebuffers
diskhkme Oct 21, 2023
81cee13
kr translate 03-03-01 drawing, framebuffers
diskhkme Oct 23, 2023
f9317ab
kr translate 03-03-02 drawing, command buffers
diskhkme Oct 23, 2023
2c9b387
kr translate fix typo
diskhkme Feb 5, 2024
0b4c98c
kr translate fix typo
diskhkme Feb 6, 2024
26cfdc5
kr translate fix typo
diskhkme Feb 6, 2024
03ea8d3
kr translate 03-03-02 rendering and presentation
diskhkme Feb 7, 2024
de9ddfa
Merge branch 'kr_translate' of https://github.com/diskhkme/VulkanTuto…
diskhkme Feb 9, 2024
dc891b9
kr translate 03-03-03 frames in flight
diskhkme Feb 9, 2024
b0b49f2
kr translate 03-03-04 swap chain recreation
diskhkme Feb 9, 2024
36cc8e0
kr translate 04-00 vertex input desciption
diskhkme Feb 9, 2024
896d406
kr translate 04-01 vertex buffer creation
diskhkme Feb 12, 2024
2211065
kr translate 04-02 staging buffer
diskhkme Feb 12, 2024
9aae27a
kr translate 04-03 index buffer
diskhkme Feb 13, 2024
4808eb1
kr translate 05-00 descriptor layout and buffer
diskhkme Feb 15, 2024
ecce6c6
kr translate fix newline inconsistency
diskhkme Feb 15, 2024
5d456ab
kr translate add Korean glossary, fix terms
diskhkme Feb 15, 2024
191faaa
kr translate 05-01 descriptor pool and sets
diskhkme Feb 15, 2024
0378f74
kr translate 06-00 images (needs improvement)
diskhkme Feb 17, 2024
d8d8401
kr translate 06-00 image view and sampler
diskhkme Feb 19, 2024
16261a0
kr translate change translation
diskhkme Feb 20, 2024
bbcb64f
kr translate 06-02 combined image sampler
diskhkme Feb 20, 2024
39c8196
kr translate 07 depth buffering
diskhkme Feb 28, 2024
eca0c50
kr translate 08 loading models
diskhkme Mar 4, 2024
69c5920
kr translate 09 generating mipmaps
diskhkme Mar 5, 2024
a7b5555
kr translate 10 multisampling
diskhkme Mar 11, 2024
e07abd6
kr translate 11 compute shader
diskhkme Mar 20, 2024
db544d4
kr translate 90 faq
diskhkme Mar 20, 2024
5dea1a4
Merge branch 'Overv:main' into kr_translate
diskhkme Mar 20, 2024
990a8f9
kr translate sync up to date
diskhkme Mar 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
kr translate 03-00-04 logical device
  • Loading branch information
diskhkme committed Oct 14, 2023
commit 806aa5924902cd1b0036799f32adb1e156effa83
32 changes: 10 additions & 22 deletions kr/03_Drawing_a_triangle/00_Setup/04_Logical_device_and_queues.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
## Introduction
## 개요

After selecting a physical device to use we need to set up a *logical device* to
interface with it. The logical device creation process is similar to the
instance creation process and describes the features we want to use. We also
need to specify which queues to create now that we've queried which queue
families are available. You can even create multiple logical devices from the
same physical device if you have varying requirements.
사용할 물리적 장치를 선택한 뒤에는 이와 상호작용할 *논리적 장치*를 설정해야 합니다. 논리적 장치의 생성 과정은 인스턴스 생성 과정과 비슷하고 우리가 사용할 기능들을 기술해야 합니다. 또한 이제는 어떤 큐 패밀리가 가용한지를 알아냈기 때문에 어떤 큐를 생성할지도 명시해야 합니다. 만일 요구사항이 다양하다면, 하나의 물리적 장치로부터 여러 개의 논리적 장치를 만들 수도 있습니다.

Start by adding a new class member to store the logical device handle in.
논리적 장치에 대한 핸들을 저장한 멤버를 클래스에 생성하는 것부터 시작합니다.

```c++
VkDevice device;
```

Next, add a `createLogicalDevice` function that is called from `initVulkan`.
다음으로 `initVulkan`에서 호출할 `createLogicalDevice` 함수를 추가합니다.

```c++
void initVulkan() {
Expand All @@ -28,12 +23,9 @@ void createLogicalDevice() {
}
```

## Specifying the queues to be created
## 생성할 큐 명시하기

The creation of a logical device involves specifying a bunch of details in
structs again, of which the first one will be `VkDeviceQueueCreateInfo`. This
structure describes the number of queues we want for a single queue family.
Right now we're only interested in a queue with graphics capabilities.
논리적 장치를 생성하는 것은 이전처럼 여러 세부사항을 구조체에 명시하는 과정을 포함하며, 그 첫번째가 `VkDeviceQueueCreateInfo`입니다. 이 구조체는 하나의 큐 패밀리에 대한 큐의 개수를 명시합니다. 현재 우리는 그래픽스 기능 관련 큐에만 관심이 있습니다.

```c++
QueueFamilyIndices indices = findQueueFamilies(physicalDevice);
Expand All @@ -44,21 +36,17 @@ queueCreateInfo.queueFamilyIndex = indices.graphicsFamily.value();
queueCreateInfo.queueCount = 1;
```

The currently available drivers will only allow you to create a small number of
queues for each queue family and you don't really need more than one. That's
because you can create all of the command buffers on multiple threads and then
submit them all at once on the main thread with a single low-overhead call.
현재의 드라이버들은 큐 패밀리 하나당 적은 수의 큐만을 생성할 수 있도록 제한되어 있고, 여러분도 하나 이상 필요하지는 않을겁니다. 왜냐하면 여러 쓰레드(thread)에 필요한 커맨드 버퍼들을 모두 생성해 두고 메인 쓰레드에서 적은 오버헤드의 호출로 이들을 한꺼번에 제출(submit)할 수 있기 떄문입니다.

Vulkan lets you assign priorities to queues to influence the scheduling of
command buffer execution using floating point numbers between `0.0` and `1.0`.
This is required even if there is only a single queue:
Vulkan에서는 커맨드 버퍼의 실행 스케줄에 영향을 주는 큐의 우선순위를 `0.0`과 `1.0` 사이의 부동소수점 수로 명시할 수 있게 되어 있습니다. 큐가 하나밖에 없더라도 이를 명시해 주어야만 합니다:

```c++
float queuePriority = 1.0f;
queueCreateInfo.pQueuePriorities = &queuePriority;
```

## Specifying used device features
## 사용할 장치 기능 명시하기


The next information to specify is the set of device features that we'll be
using. These are the features that we queried support for with
Expand Down