Card beta
Interface of @v12-engine/render
ts
export interface CardThe renderer's things as the card has them (Renderer.card)
Members
buffers
ts
buffers(geometry: Geometry): {
positions: GPUBuffer;
indices: GPUBuffer;
streams: Map<string, GPUBuffer>;
};A geometry's buffers: its positions, its indices and its streams by name
device
ts
readonly device: GPUDevice;The renderer's device
texture
ts
texture(of: DataTexture): GPUTexture;A data texture's texture
view
ts
view(of: Picture | DataTexture): GPUTextureView;A view of a picture's texture (every mip) or of a data texture's