Skip to content
Discussion options

You must be logged in to vote

jnm2 said:

It seems quite dangerous to be exposing managed memory in a raw form to OpenGL. If the structs are unmanaged (allowed by where T : unmanaged), then this is in unmanaged territory and Marshal.SizeOf seems right.

aye fair enough

Replies: 6 comments 23 replies

Comment options

You must be logged in to vote
10 replies
@untodesu
Comment options

@CyrusNajmabadi
Comment options

@untodesu
Comment options

@jnm2
Comment options

jnm2 May 10, 2022
Collaborator

@untodesu
Comment options

Comment options

You must be logged in to vote
3 replies
@CyrusNajmabadi
Comment options

@huoyaoyuan
Comment options

@CyrusNajmabadi
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by untodesu
Comment options

You must be logged in to vote
9 replies
@CyrusNajmabadi
Comment options

@The-Futurist

This comment was marked as disruptive content.

@CyrusNajmabadi
Comment options

@CyrusNajmabadi
Comment options

@richlander
Comment options

This comment was marked as off-topic.

Comment options

You must be logged in to vote
1 reply
@richlander
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
7 participants