mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-16 16:08:33 +00:00
Make fields of GenericShaderData pub to aid in user-implementation
This commit is contained in:
parent
cdf90639c6
commit
23fe42780b
@ -1030,12 +1030,12 @@ void main() {
|
||||
}
|
||||
|
||||
pub struct GenericShaderData<G: Gl> {
|
||||
program: G::Program,
|
||||
texture_uniform_location: G::UniformLocation,
|
||||
matrix_uniform_location: G::UniformLocation,
|
||||
position_attribute_index: u32,
|
||||
uv_attribute_index: u32,
|
||||
color_attribute_index: u32,
|
||||
pub program: G::Program,
|
||||
pub texture_uniform_location: G::UniformLocation,
|
||||
pub matrix_uniform_location: G::UniformLocation,
|
||||
pub position_attribute_index: u32,
|
||||
pub uv_attribute_index: u32,
|
||||
pub color_attribute_index: u32,
|
||||
}
|
||||
|
||||
impl<G: Gl> Default for GenericShaderData<G> {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user