rust/lib-hedgewars-engine/src/render.rs
author Wuzzy <Wuzzy2@mail.ru>
Sat, 08 Dec 2018 17:28:15 +0100
changeset 14388 cea19d3342c8
parent 14340 97be4f6bf264
child 14708 81030dcbd2d8
permissions -rw-r--r--
Modify texts in first 2 ACF missions to be compatible with Touch
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14340
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
     1
use gfx::{
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
     2
    format,
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
     3
    ConstantBuffer,
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
     4
    DepthTarget,
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
     5
    RenderTarget,
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
     6
    TextureSampler,
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
     7
    VertexBuffer,
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
     8
};
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
     9
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
    10
struct Camera {
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
    11
    pos: [f32; 2]
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
    12
}
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
    13
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
    14
fn render() {
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
    15
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
    16
}
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
    17