Q&A
커뮤니티
지식
이벤트
더보기
OKKY
Q&A
지식
커뮤니티
이벤트
부트캠프
Jobs
Contact
Search Bar
로그인
회원가입
wgpu
전체
기술
커리어
기타
카테고리
전체
최신순
질문하기
해결
1
오너리구리
·
2년 이상
201
1
해결 1
rust 언어 연관함수와 일반메소드에 대해 혼동이 와서 질문드립니다.
wgpu공부를 하는중이라 예문이 wgpu tutorial에 있는 코드인 점 양해 부탁드립니다. const NUM_INSTANCES_PER_ROW: u32 = 10; const INSTANCE_DISPLACEMENT: cgmath::Vector3<f32> = cgmath::Vector3::new(NUM_INSTANCES_PER_ROW as f32 *0.5, 0.0, NUM_INSTANCES_PER_ROW as f32 *
답변
0
오너리구리
·
2년 이상
269
0
답변 0
wgpu 튜토리얼 중 막힌 부분이 있어 질문 드리려고 합니다.
struct VertexInput { @location(0) position: vec3<f32>, @location(1) tex_coords: vec2<f32>, } struct VertexOutput { @builtin(position) clip_position: vec4<f32>, @location(0) tex_coords: vec2<f32>, }
Search Bar