struct CrShader::ComputeHelper::BoundUniform

Overview

Cached uniform bindings: binding_index => BoundUniform

Defined in:

crshader/compute/compute_helper.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(uniform_type : Int32, rid : Int64, sampler_rid : Int64 = 0_i64, linear : Bool = false) #

Instance Method Detail

def clone #

def copy_with(uniform_type _uniform_type = @uniform_type, rid _rid = @rid, sampler_rid _sampler_rid = @sampler_rid, linear _linear = @linear) #

def linear : Bool #

def rid : Int64 #

def sampler_rid : Int64 #

def uniform_type : Int32 #