Search
Setup for Free
S
Silk.NET
•
4y ago
أمير الدخميسي
Vulkan
Vulkan
Silk.NET
Join
A Discord server for the Silk.NET - your one-stop-shop for high-speed .NET multimedia, graphics, and compute. FOSS.
1,788
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
أ
أمير الدخميسي
Vulkan
R
Redhacker2
•
7/26/22, 3:52 PM
C vulkan tutorials
R
Redhacker2
C vulkan tutorials
أ
أمير الدخميسي
OP
•
7/26/22, 3:53 PM
The same code in C
# will work after edit
أ
أمير الدخميسي
The same code in C# will work after edit
R
Redhacker2
•
7/26/22, 3:53 PM
yes
R
Redhacker2
•
7/26/22, 3:54 PM
Silk hooks onto C APIs and exposes them
أ
أمير الدخميسي
OP
•
7/26/22, 3:56 PM
@redhacker2 Ok but are the name of the library the same name in C
#
?
R
Redhacker2
•
7/26/22, 5:05 PM
i don
't know what you mean
أ
أمير الدخميسي
@redhacker2 Ok but are the name of the library the same name in C#?
R
Redhacker2
•
7/26/22, 5:07 PM
what do you mean
?
أ
أمير الدخميسي
OP
•
7/26/22, 5:17 PM
what is a name of a silk
.net Vulkan library
L
Lyris the Kitori
•
7/26/22, 5:18 PM
it
's just called Silk
.NET
.Vulkan on NuGet
أ
أمير الدخميسي
OP
•
7/26/22, 5:19 PM
using Silk
.NET
.Vulkan
;
?
أ
أمير الدخميسي
OP
•
7/26/22, 5:20 PM
how can add to Cs file after adding extention
L
Lyris the Kitori
•
7/26/22, 5:20 PM
i
'm not sure i understand
F
Furball
•
7/26/22, 5:26 PM
i think your goal should be to understand how c
# works before jumping head first into vulkan with c
#
F
Furball
i think your goal should be to understand how c# works before jumping head first...
أ
أمير الدخميسي
OP
•
7/26/22, 5:34 PM
I learned C
# but I weak in English
L
Lyris the Kitori
•
7/26/22, 5:34 PM
what language do you speak
? someone here might be able to help
F
Furball
•
7/26/22, 5:35 PM
well if you never used NuGet before or don
't know how to use other libraries i can only assume that you don
't know much
F
Furball
•
7/26/22, 5:35 PM
which is why i suggested to get more familiar with the language
L
Lyris the Kitori
what language do you speak? someone here might be able to help
أ
أمير الدخميسي
OP
•
7/26/22, 5:35 PM
I don
't think that but I Arabic
F
Furball
well if you never used NuGet before or don't know how to use other libraries i c...
أ
أمير الدخميسي
OP
•
7/26/22, 5:37 PM
I knew how to use NuGet
L
Lyris the Kitori
•
7/26/22, 5:38 PM
to get the vulkan API you do
VK.GetAPI()
VK.GetAPI()
, then the vulkan functions are on the VK object
أ
أمير الدخميسي
OP
•
7/26/22, 5:38 PM
I added silk
, net NuGet to my project but what is name of Vulkan liberary
L
Lyris the Kitori
•
7/26/22, 5:39 PM
the object is named
VK
VK
L
Lyris the Kitori
the object is named `VK`
أ
أمير الدخميسي
OP
•
7/26/22, 5:43 PM
when I add NuGet typing in frist
using libraryName
;
are the name of the library is VK only
?
L
Lyris the Kitori
•
7/26/22, 5:44 PM
ah the namespace should be Silk
.NET
.Vulkan
أ
أمير الدخميسي
OP
•
7/26/22, 5:45 PM
Ok
, Thanks for the help
!
L
Lyris the Kitori
•
7/26/22, 5:45 PM
np
M
Mkp
•
7/26/22, 10:51 PM
Whats a good strat to render bitmap text
?
M
Mkp
•
7/26/22, 10:52 PM
As in setting up the vao and vbos
M
Mkp
Whats a good strat to render bitmap text?
L
Lyris the Kitori
•
7/26/22, 10:53 PM
render the chars to a texture atlas
, then pick them out using texcoords
M
Mkp
•
7/26/22, 10:54 PM
I already have the atlas
, so you recommend generating texture coordinates and geometry instead of say keeping a atlas index instanced vbo and bind it per text render
?
F
Furball
•
7/26/22, 11:07 PM
just draw instanced quads with tex coords
M
Mkp
•
7/26/22, 11:11 PM
Problem with that method is your need to switch the vbo when you need to render more than a single bit of text
M
Mkp
•
7/26/22, 11:12 PM
Definitely want to do that just asking for opinions before implementing
L
Lyris the Kitori
•
7/26/22, 11:12 PM
are you rendering your game geometry as 2d quads or 3d
M
Mkp
•
7/26/22, 11:12 PM
2d
M
Mkp
•
7/26/22, 11:13 PM
240x160
L
Lyris the Kitori
•
7/26/22, 11:13 PM
then why do you need to change vbo
M
Mkp
•
7/26/22, 11:13 PM
8x8 font
M
Mkp
•
7/26/22, 11:13 PM
Because if you have two different lines of text you dont want to
\n
\n
\n
\n
\n
\n
\n
\n down to where you need to be for example
M
Mkp
•
7/26/22, 11:14 PM
you
'd simply specify a new location and have a new dataset
L
Lyris the Kitori
•
7/26/22, 11:14 PM
what
L
Lyris the Kitori
•
7/26/22, 11:14 PM
just do normal instanced quad rendering and use that to draw the text
M
Mkp
•
7/26/22, 11:14 PM
Yes
M
Mkp
•
7/26/22, 11:15 PM
that allows you to draw a continuous line of text
M
Mkp
•
7/26/22, 11:15 PM
Now what about two separate lines of text
?
M
Mkp
•
7/26/22, 11:15 PM
call glDrawElementsInstanced again sure
M
Mkp
•
7/26/22, 11:15 PM
But it will emit the same thing
M
Mkp
•
7/26/22, 11:15 PM
Reupload to the vbo or switch vbo
(which contains the ids into the texture atlas
)
L
Lyris the Kitori
•
7/26/22, 11:16 PM
what
L
Lyris the Kitori
•
7/26/22, 11:17 PM
i
'm able to draw my whole scene with many lines of text in one call
Next page
VK.GetAPI()
VK.GetAPI()
VK
VK
Similar Threads
vulkan-cursed
S
Silk.NET / general-offtopic
4y ago
[NOT SOLVED] Vulkan usage of Graphics_1 unit
S
Silk.NET / help-and-questions
15mo ago